Function sp_consensus_babe::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 targetting the same slot, and have valid signatures by the same authority.