Crate reth_trie_sparse

Source
Expand description

The implementation of sparse MPT.

Modules§

blinded
Traits and default implementations related to retrieval of blinded trie nodes.
errors
Re-export sparse trie error types.

Structs§

RevealedSparseTrie
The representation of revealed sparse trie.
RlpNodeBuffers
Collection of reusable buffers for RevealedSparseTrie::rlp_node calculations.
SparseStateTrie
Sparse state trie representing lazy-loaded Ethereum state trie.
SparseTrieUpdates
Tracks modifications to the sparse trie structure.
TrieMasks
Struct for passing around branch node mask information.

Enums§

LeafLookup
Success value for a leaf lookup operation
LeafLookupError
Error type for a leaf lookup operation
SparseNode
Enum representing trie nodes in sparse trie.
SparseTrie
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).