reth_chain_state/
lib.rs

1//! Reth state related types and functionality.
2
3#![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"))]
30/// Common test helpers
31pub mod test_utils;
32
33// todo: remove when generic data prim integration complete
34pub use reth_ethereum_primitives::EthPrimitives;