Crate reth_trie_sparse

Crate reth_trie_sparse 

Source
Expand description

The implementation of sparse MPT.

Modules§

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

Structs§

ClearedSparseStateTrie
Provides type-safe re-use of cleared SparseStateTries, which helps to save allocations across payload runs.
RevealedSparseNode
Carries all information needed by a sparse trie to reveal a particular node.
RlpNodeBuffers
Collection of reusable buffers for SerialSparseTrie::rlp_node calculations.
RlpNodePathStackItem
RLP node path stack item.
RlpNodeStackItem
RLP node stack item.
SerialSparseTrie
The representation of revealed sparse trie.
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.
SparseNodeType
Enum representing sparse trie node type.
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).

Traits§

SparseTrieInterface
Trait defining common operations for revealed sparse trie implementations.