Crate vetomint

Source

Structs§

ConsensusParams
HeightInfo
An immutable set of information that is used to perform the consensus for a single height.
Vetomint

Enums§

ConsensusEvent
An event that (potentially) triggers a state transition of StateMachine.
ConsensusResponse
A response that the consensus might emit for a given event, which must be properly handled by the lower layer.
Misbehavior
The report and trace of a misbehavior committed by a malicious node.

Functions§

decide_proposer
decide_timeout

Type Aliases§

BlockIdentifier
An identifier of the block, which is uniquely mapped to a block. Like ValidatorIndex, it is for a single height. (Mapping from the actual block to the index may differ for different heights.)
Round
A round.
Timestamp
A UNIX timestamp measured in milliseconds.
ValidatorIndex
An index of the validator, which is for a single height. (Mapping from the actual public key to the index may differ for different heights.)
VotingPower
A voting power.