Skip to main content

Crate arc_malachitebft_core_votekeeper

Crate arc_malachitebft_core_votekeeper 

Source
Expand description

Infrastructure for tallying votes within the consensus engine.

Re-exports§

pub use evidence::EvidenceMap;

Modules§

count
For tallying votes of the same type.
evidence
Evidence of equivocation.
keeper
For tallying votes and emitting messages when certain thresholds are reached.
round_votes
For tallying all the votes for a single round
round_weights
For tracking the weight (ie. voting power) of each validator.
value_weights
A value and the weight of votes for it.

Structs§

ThresholdParam
Represents the different quorum thresholds.
ThresholdParams
Represents the different quorum thresholds.

Enums§

Threshold
Represents the different quorum thresholds.

Type Aliases§

Weight
Represents the weight of a vote, ie. the voting power of the validator that cast the vote.