tendermint_light_client_detector/lib.rs
1//! The detector component of the light client detects and handles attacks on the light client.
2//!
3//! See [`detect_divergence`] for the main entry point.
4
5mod conflict;
6mod detect;
7mod error;
8mod evidence;
9mod examine;
10mod provider;
11mod trace;
12
13pub use conflict::gather_evidence_from_conflicting_headers;
14pub use detect::{compare_new_header_with_witness, detect_divergence, CompareError, Divergence};
15pub use error::{Error, ErrorDetail};
16pub use provider::Provider;
17pub use tendermint::evidence::{Evidence, LightClientAttackEvidence};
18pub use trace::Trace;