hopr_chain_indexer/
lib.rs

1//! The chain indexer package encapsulates utilities responsible for processing the
2//! on-chain data.
3//!
4//! The processing pipeline uses the RPC endpoint to extract a stream of blocks with logs
5//! with the [`block::Indexer`] continually processing the stream utilizing
6//! spawned threads.
7//!
8//! The processing itself transforms the on-chain data into hoprd specific data, while also
9//! triggering specific actions for each event, ensuring finality, storing the data in the
10//! local storage, and further reactively triggering higher level components of the business
11//! logic.
12
13pub mod block;
14pub mod config;
15pub mod constants;
16pub mod errors;
17pub mod handlers;
18pub mod traits;
19
20pub use config::IndexerConfig;