Skip to main content

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