Module finality_grandpa::voter

source ·
Expand description

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

Data necessary to participate in a round.
A future that maintains and multiplexes between different rounds, and caches votes.
Logic for a voter on a specific round.

Traits

Necessary environment for a voter.