Skip to main content

Module consensus

Module consensus 

Source

ModulesΒ§

proposals πŸ”’

StructsΒ§

Consensus
PendingVote2 πŸ”’
A vote2 awaiting its storage confirmations.

EnumsΒ§

ConsensusInput
ConsensusOutput
Protocol πŸ”’
Protocol flow directive.
RevoteFetch πŸ”’
What a re-vote can lack and fetch: the voted block’s proposal, or its payload.
SafetyError πŸ”’
Reason a proposal failed the safety/liveness rule.

ConstantsΒ§

DECIDE_BUFFER πŸ”’
Views to retain decide inputs (proposals, certs, certs2) behind the decided view, letting a late-broadcast Cert2 decide an older gap view.
GC_MARGIN_VIEWS πŸ”’
Views earlier than the current view at which the transport stops retransmitting: the bound the coordinator gives the network’s collection, and so the earliest a missing payload is worth fetching.

FunctionsΒ§

cert1_key πŸ”’
cert2_key πŸ”’
certificate_rule_admits πŸ”’
Whether a proposal of epoch naming parent may follow tc under the certificate rule.

Type AliasesΒ§

PairingKey πŸ”’
What a proposal and this node’s VID share for it must agree on to pair.
PendingTimeoutVote πŸ”’
A timeout vote awaiting its storage confirmation.
ProposalKey πŸ”’
UnpairedProposals πŸ”’
UnpairedVidShares πŸ”’