Function sp_consensus_grandpa::check_equivocation_proof
source · pub fn check_equivocation_proof<H, N>(report: EquivocationProof<H, N>) -> boolwhere
H: Clone + Encode + PartialEq,
N: Clone + Encode + PartialEq,
Expand description
Verifies the equivocation proof by making sure that both votes target different blocks and that its signatures are valid.