Skip to main content

is_equivocation

Function is_equivocation 

Source
pub fn is_equivocation(
    height_a: u64,
    value_a: u64,
    height_b: u64,
    value_b: u64,
) -> bool
Expand description

Equivocation (a slashable Byzantine fault): a validator signed TWO DIFFERENT values at the same height/round. (height_a, value_a) vs (height_b, value_b) from the SAME validator.