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