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))]
10
11mod in_memory;
12pub use in_memory::*;
13
14mod deferred_trie;
15pub use deferred_trie::*;
16
17mod noop;
18
19mod chain_info;
20pub use chain_info::ChainInfoTracker;
21
22mod notifications;
23pub use notifications::{
24    CanonStateNotification, CanonStateNotificationSender, CanonStateNotificationStream,
25    CanonStateNotifications, CanonStateSubscriptions, ForkChoiceNotifications, ForkChoiceStream,
26    ForkChoiceSubscriptions,
27};
28
29mod memory_overlay;
30pub use memory_overlay::{MemoryOverlayStateProvider, MemoryOverlayStateProviderRef};
31
32#[cfg(any(test, feature = "test-utils"))]
33/// Common test helpers
34pub mod test_utils;
35
36// todo: remove when generic data prim integration complete
37pub use reth_ethereum_primitives::EthPrimitives;