Skip to main content

CurrentRound

Trait CurrentRound 

Source
pub trait CurrentRound { }
Expand description

Definition (Current round). The current round of an instance is ChainManager::current_round, the lowest round in which the validator is still willing to vote. It is the round to which round_timeout applies.

It is a derived quantity: the register caches the maximum of the evidence the validator has seen that the chain has entered a round — a timeout certificate for the previous round, a locking block, or an authenticated proposal — floored at ChainOwnership::first_round. RoundFloor states exactly that.

Implementors§