package
1.14.2
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Functions

NewConsensusConfig creates a ConsensusConfig out of config.
NewConsensusEvent creates a new consensus event.
NewConsensusFSM returns a new fsm.

# Constants

BackdoorEvent indicates a backdoor event type.
InitState refers the initial state of the consensus fsm.

# Variables

DefaultDardanellesUpgradeConfig is the default config for dardanelles upgrade.
ErrEvtCast indicates the error of casting the event.
ErrEvtConvert indicates the error of converting the event from/to the proto message.
ErrEvtType represents an unexpected event type error.
ErrMsgCast indicates the error of casting to endorsed message.
ErrOldCalibrateEvt indicates the error of ignoring old calibrate event.

# Structs

ConsensusEvent defines the event used in the fsm.
ConsensusFSM wraps over the general purpose FSM and implements the consensus logic.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Context defines the context of the fsm.
EndorsedMessage defines a message with endorsement.