referrerpolicy=no-referrer-when-downgrade

Function sp_consensus_beefy::check_double_voting_proof

source ·
pub fn check_double_voting_proof<Number, Id, MsgHash>(
    report: &DoubleVotingProof<Number, Id, <Id as RuntimeAppPublic>::Signature>,
) -> bool
where Id: BeefyAuthorityId<MsgHash> + PartialEq, Number: Clone + Encode + PartialEq, MsgHash: Hash,
Expand description

Verifies the equivocation proof by making sure that both votes target different blocks and that its signatures are valid.