Function tp_consensus_babe::check_equivocation_proof[][src]

pub fn check_equivocation_proof<H>(proof: EquivocationProof<H>) -> bool where
    H: Header

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