Function sp_finality_grandpa::check_equivocation_proof
source · [−]pub fn check_equivocation_proof<H, N>(report: EquivocationProof<H, N>) -> bool where
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.