Struct finality_grandpa::voter::RoundData
source · pub struct RoundData<Id, Timer, Input, Output> {
pub voter_id: Option<Id>,
pub prevote_timer: Timer,
pub precommit_timer: Timer,
pub incoming: Input,
pub outgoing: Output,
}
Expand description
Data necessary to participate in a round.
Fields§
§voter_id: Option<Id>
Local voter id (if any.)
prevote_timer: Timer
Timer before prevotes can be cast. This should be Start + 2T where T is the gossip time estimate.
precommit_timer: Timer
Timer before precommits can be cast. This should be Start + 4T
incoming: Input
Incoming messages.
outgoing: Output
Outgoing messages.