Expand description
Infrastructure for tallying votes within the consensus engine.
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§
- Threshold
Param - Represents the different quorum thresholds.
- Threshold
Params - 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.