pub type Context = Context<Digest, PublicKey>;Aliased Type§
pub struct Context {
pub round: Round,
pub leader: PublicKey,
pub parent: (View, Digest),
}Fields§
§round: RoundCurrent round of consensus.
leader: PublicKeyLeader of the current round.
parent: (View, Digest)Parent the payload is built on.
If there is a gap between the current view and the parent view, the participant must possess a nullification for each discarded view to safely vote on the proposed payload (any view without a nullification may eventually be finalized and skipping it would result in a fork).