[][src]Module finality_grandpa::voter

A voter in GRANDPA. This transitions between rounds and casts votes.

Voters rely on some external context to function:

  • setting timers to cast votes
  • incoming vote streams
  • providing voter weights.

Structs

RoundData

Data necessary to participate in a round.

Voter

A future that maintains and multiplexes between different rounds, and caches votes.

VotingRound

Logic for a voter on a specific round.

Traits

Environment

Necessary environment for a voter.