verify_misbehaviour

Function verify_misbehaviour 

Source
pub fn verify_misbehaviour<V, H>(
    ctx: &V,
    misbehaviour: &Misbehaviour,
    client_id: &ClientId,
    chain_id: &ChainId,
    options: &Options,
    verifier: &impl Verifier,
) -> Result<(), ClientError>
Expand description

Determines if two conflicting headers at the same height would have convinced the light client.