referrerpolicy=no-referrer-when-downgrade
sp_consensus_babe

Function check_equivocation_proof

Source
pub fn check_equivocation_proof<H>(proof: EquivocationProof<H>) -> bool
where H: Header,
Expand description

Verifies the equivocation proof by making sure that: both headers have different hashes, are targeting the same slot, and have valid signatures by the same authority.