Function bp_header_chain::justification::verify_justification [−][src]
pub fn verify_justification<Header: HeaderT>(
finalized_target: (Header::Hash, Header::Number),
authorities_set_id: SetId,
authorities_set: &VoterSet<AuthorityId>,
justification: &GrandpaJustification<Header>
) -> Result<(), Error> where
Header::Number: BlockNumberOps,
Expand description
Verify that justification, that is generated by given authority set, finalizes given header.