referrerpolicy=no-referrer-when-downgrade

Function bp_header_chain::justification::verify_justification

source ·
pub fn verify_justification<Header: HeaderT>(
    finalized_target: (Header::Hash, Header::Number),
    context: &JustificationVerificationContext,
    justification: &GrandpaJustification<Header>,
) -> Result<(), Error>
Expand description

Verify that justification, that is generated by given authority set, finalizes given header.