Function ibc::clients::tendermint::client_state::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>where
V: ExtClientValidationContext,
ConsensusState: Convertible<<V as ClientValidationContext>::ConsensusStateRef>,
<ConsensusState as TryFrom<<V as ClientValidationContext>::ConsensusStateRef>>::Error: Into<ClientError>,
H: MerkleHash + Sha256 + Default,
Expand description
Determines whether or not two conflicting headers at the same height would have convinced the light client.