Function pallet_grandpa_finality_verifier::bridges::header_chain::justification::verify_justification
source · 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.