The highest tagged major version is
v22.
package
Version:
v2.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Nov 16, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
PrepareCommittedSeal returns a committed seal for the given hash
New creates an Istanbul consensus core
const (
StateAcceptRequest State = iota
StatePreprepared
StatePrepared
StateCommitted
)
Cmp compares s and y and returns:
-1 if s is the previous state of y
0 if s and y are the same state
+1 if s is the next state of y
Source Files
¶
Click to show internal directories.
Click to hide internal directories.