# Packages
No description provided by the author
# Functions
NewChainManager creates a chain manager.
NewConsensusVote creates a consensus vote.
NewEndorsedConsensusMessage creates an EndorsedConsensusMessage for an consensus vote.
NewRollDPoSBuilder instantiates a Builder instance.
NewRollDPoSCtx returns a context of RollDPoSCtx.
# Variables
DefaultConfig is the default config.
ErrExpiredEndorsement indicates that the endorsement is expired.
ErrInsufficientEndorsements represents the error that not enough endorsements.
ErrNewRollDPoS indicates the error of constructing RollDPoS.
ErrNotEnoughCandidates indicates there are not enough candidates from the candidate pool.
ErrZeroDelegate indicates seeing 0 delegates in the network.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
ConsensusVote is a vote on a given topic for a block on a specific height.
EndorsedConsensusMessage is an endorsement on document.
RollDPoS is Roll-DPoS consensus main entrance.
# Type aliases
ConsensusVoteTopic defines the topic of an consensus vote.
EndorsedByMajorityFunc defines a function to give an information of consensus status.
No description provided by the author