package
3.1.4+incompatible
Repository: https://github.com/maxinyugh/theta-protocol-ledger.git
Documentation: pkg.go.dev

# Functions

AssertFinalizedBlocks asserts finalized blocks are as expected.
AssertFinalizedBlocksNotConflicting asserts two chains are not conflicting.
No description provided by the author
GetFinalizedBlocks drains the FinalizedBlocks channel and return a slice of block hashes.
NewConsensusEngine creates a instance of ConsensusEngine.
No description provided by the author
NewFixedValidatorManager creates an instance of FixedValidatorManager.
No description provided by the author
NewRotatingValidatorManager creates an instance of RotatingValidatorManager.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

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

# Structs

ConsensusEngine is the default implementation of the Engine interface.
EENVoteBookkeeper keeps tracks of recently seen elite edge node votes .
No description provided by the author
No description provided by the author
FixedValidatorManager is an implementation of ValidatorManager interface that selects a fixed validator as the proposer.
No description provided by the author
RotatingValidatorManager is an implementation of ValidatorManager interface that selects a random validator as the proposer using validator's stake as weight.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author