Structs§
- Parts 🔒
- The certificates of a well-formed proposal.
- Proposal
Validator - A proposal validator checks proposal signature and integrity.
- Validated
Proposal - A validated proposal.
- Validator 🔒
- VidShare
Validator - A validator dedicated to VID share messages.
Enums§
- Malformed
Proposal - Reason a proposal is not well-formed.
- Validation
Error
Functions§
- epoch_
matches_ 🔒height - The proposal’s epoch must be the one its block number falls in.
- justify_
qc_ 🔒matches_ parent - The justify QC must certify the block before this proposal, in the epoch that block’s height falls in.
- next_
epoch_ 🔒justify_ qc_ matches_ parent - The first proposal of an epoch must carry the boundary block’s Cert2, which certifies the same block as its justify QC.
- state_
cert_ 🔒matches_ parent - A proposal must carry
state_certexactly when its justify QC certifies an epoch-root block. - verify_
timeout_ 🔒evidence - Check that a timeout certificate has the form its view requires, names that view in its data, and carries a quorum’s signatures.
- view_
change_ 🔒evidence_ matches_ parent - A proposal extends an earlier view, and skips views only with a timeout certificate for the view immediately before it.
- well_
formed 🔒 - Everything a proposal claims about its own block and its parent, checked without signatures.
Type Aliases§
- Result 🔒