Skip to main content

Module message

Module message 

Source

Modules§

fetch
payload

Structs§

DedupManifest
EpochChangeMessage
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
OpaqueMessage
Proposal
Proposal to append a block.
ProposalFetchRequest
ProposalMessage
ReVote
A request by the leader of view that the committee of epoch vote on the epoch’s last block again.
ReVoteMessage
A ReVote signed by its view’s leader.
TimeoutBallot
A timeout vote that signs its signer’s lock, with the certificate of that lock.
TimeoutVoteMessage
TimeoutVoteMessage3
A timeout vote that signs its signer’s lock, as it travels.
TransactionMessage
Vote1

Enums§

BlockMessage
CatchupEvidence
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.
ConsensusMessage
EpochChangeError
Reason an EpochChangeMessage is not well-formed.
MessageType
ProposalFetchMessage
ReVoteError
Reason a ReVote is not well-formed.
TimeoutVote
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
UpgradeProposalMessage
The leader’s broadcast of an upgrade proposal for the network to vote on.
UpgradeVoteMessage
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.
VidShareFragmentMessage
A signed per-namespace VID share fragment.
VidShareMessage
A reassembled, signed VID share.
Vote2