Modules§
Structs§
- Dedup
Manifest - Epoch
Change Message - Message sent at the end of an epoch by the current committee to the next committee. Both certificates are on the last block of the epoch. The protocol spec only requires the second certificate, but for consistency in the code and with the existing Proposal and Leaf structures We include the Certificate1. This allows us to use the Certificate1 as the Justify QC on the first proposal. The Certificate2 also required on that proposal but as next_epoch_justify_qc on the Leaf.
- Message
- Opaque
Message - Proposal
- Proposal to append a block.
- Proposal
Fetch Request - Proposal
Message - ReVote
- A request by the leader of
viewthat the committee ofepochvote on the epoch’s last block again. - ReVote
Message - A
ReVotesigned by its view’s leader. - Timeout
Ballot - A timeout vote that signs its signer’s lock, with the certificate of that lock.
- Timeout
Vote Message - Timeout
Vote Message3 - A timeout vote that signs its signer’s lock, as it travels.
- Transaction
Message - Vote1
Enums§
- Block
Message - Catchup
Evidence - The highest certificate a node holds: its locked QC or its latest timeout certificate, whichever has the higher view. Attached to timeout votes and sent to peers stuck on stale views, so divergent nodes re-converge on the highest justified view.
- Consensus
Message - Epoch
Change Error - Reason an
EpochChangeMessageis not well-formed. - Message
Type - Proposal
Fetch Message - ReVote
Error - Reason a
ReVoteis not well-formed. - Timeout
Vote - Unchecked
- Validated
Type Aliases§
- Certificate1
- Type alias for the new protocol’s phase-1 certificate over
QuorumData2 - Certificate2
- Type alias for the new protocol’s phase-2 certificate over
Vote2Data - Upgrade
Proposal Message - The leader’s broadcast of an upgrade proposal for the network to vote on.
- Upgrade
Vote Message - An upgrade vote, broadcast all-to-all. Its signed data binds the voter’s epoch, which selects the stake table under which the vote is tallied.
- VidShare
Fragment Message - A signed per-namespace VID share fragment.
- VidShare
Message - A reassembled, signed VID share.
- Vote2