# Packages
No description provided by the author
# Variables
ErrNotImplemented indicates the method is not implemented yet.
# Structs
ConsensusMetrics contains consensus metrics to expose.
Noop is the consensus scheme that does NOT create blocks.
Standalone is the consensus scheme that periodically create blocks.
# Interfaces
Scheme is the interface that consensus schemes should implement.
# Type aliases
Broadcast sends a broadcast message to the whole network.
BroadcastCB defines the callback to publish the consensus result.
ConsensusDoneCB defines the callback when consensus is reached.
CreateBlockCB defines the callback to create a new block.
TellPeerCB defines the callback to tell (which is a unicast) message to peers on P2P network.