pub trait Lock { }Expand description
Definition (Lock). The lock of an instance is ChainManager::locking_block, and its
lock round is LockingBlock::round of that value, or ⊥ when the field is None, with
⊥ below every round.
A lock records the most recent block this validator may already have helped confirm: either a
LockingBlock::Regular — a ValidatedBlockCertificate, proof that a quorum validated
that block in that round — or a LockingBlock::Fast, the super owner’s original fast-round
proposal. Both are re-proposable: a client reads the lock out of
ChainManagerInfo::requested_locking and re-proposes it in a higher round.