mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
32 lines
645 B
Rust
32 lines
645 B
Rust
//! The implementation of sparse MPT.
|
|
|
|
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
extern crate alloc;
|
|
|
|
mod state;
|
|
pub use state::*;
|
|
|
|
mod trie;
|
|
pub use trie::*;
|
|
|
|
mod traits;
|
|
pub use traits::*;
|
|
|
|
pub mod provider;
|
|
|
|
mod hash_cache;
|
|
pub use hash_cache::{hash_trie_node_cached, rlp_node_from_rlp_cached};
|
|
|
|
#[cfg(feature = "metrics")]
|
|
mod metrics;
|
|
|
|
/// Re-export sparse trie error types.
|
|
pub mod errors {
|
|
pub use reth_execution_errors::{
|
|
SparseStateTrieError, SparseStateTrieErrorKind, SparseStateTrieResult, SparseTrieError,
|
|
SparseTrieErrorKind, SparseTrieResult,
|
|
};
|
|
}
|