package
Version:
v0.0.0-...-4097cb8
Opens a new window with list of versions in this module.
Published: Apr 22, 2020
License: LGPL-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.