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

# 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.

# Constants

COMMIT stands for an consensus vote to endorse a block commit.
LOCK stands for an consensus vote to endorse a lock on a proposed block.
PROPOSAL stands for an consensus vote to endorse a block proposal.

# 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.

# Interfaces

No description provided by the author
No description provided by the author

# 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