Function sp_consensus_subspace::is_equivocation_proof_valid
source ยท pub fn is_equivocation_proof_valid<Header, RewardAddress>(
proof: &EquivocationProof<Header>,
) -> boolwhere
Header: HeaderT,
RewardAddress: Decode,
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.