Skip to main content

Crate reth_trie_sparse

Crate reth_trie_sparse 

Source
Expand description

The implementation of sparse MPT.

Modules§

errors
Re-export sparse trie error types.

Structs§

ArenaParallelSparseTrie
An arena-based sparse trie whose subtries can be mutated in parallel.
ArenaParallelismThresholds
An arena-based parallel sparse trie.
DeferredDrops
Holds data that should be dropped after any locks are released.
SparseStateTrie
Sparse state trie representing lazy-loaded Ethereum state trie.
SparseTrieUpdates
Tracks modifications to the sparse trie structure.
TrieNodeEpoch
Modification epoch assigned to cached sparse trie nodes.

Enums§

LeafLookup
Success value for a leaf lookup operation
LeafLookupError
Error type for a leaf lookup operation
LeafUpdate
Describes an update to a leaf in the sparse trie.
RevealableSparseTrie
A sparse trie that is either in a “blind” state (no nodes are revealed, root node hash is unknown) or in a “revealed” state (root node has been revealed and the trie can be updated).

Traits§

SparseTrie
Trait defining common operations for revealed sparse trie implementations.