The highest tagged major version is
v22.
package
Version:
v2.2.1+incompatible
Opens a new window with list of versions in this module.
Published: Jan 16, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 19
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
type Engine interface {
Start() error
Stop() error
}
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.