Skip to main content

well_formed

Function well_formed 

Source
pub(crate) fn well_formed<T: NodeType>(
    proposal: &Proposal<T>,
    epoch_height: u64,
) -> Result<Parts<'_, T>, MalformedProposal>
Expand description

Everything a proposal claims about its own block and its parent, checked without signatures.

Returns the certificates whose signatures a validator verifies next, and the epoch to resolve their committee through.