reth_chain_state/
lib.rs
1#![doc(
4 html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
5 html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
6 issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
7)]
8#![cfg_attr(not(test), warn(unused_crate_dependencies))]
9#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
10
11mod in_memory;
12pub use in_memory::*;
13
14mod noop;
15
16mod chain_info;
17pub use chain_info::ChainInfoTracker;
18
19mod notifications;
20pub use notifications::{
21 CanonStateNotification, CanonStateNotificationSender, CanonStateNotificationStream,
22 CanonStateNotifications, CanonStateSubscriptions, ForkChoiceNotifications, ForkChoiceStream,
23 ForkChoiceSubscriptions,
24};
25
26mod memory_overlay;
27pub use memory_overlay::{MemoryOverlayStateProvider, MemoryOverlayStateProviderRef};
28
29#[cfg(any(test, feature = "test-utils"))]
30pub mod test_utils;
32
33pub use reth_ethereum_primitives::EthPrimitives;