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§
- Cleared
Sparse State Trie - Provides type-safe re-use of cleared
SparseStateTrie
s, which helps to save allocations across payload runs. - Revealed
Sparse Node - Carries all information needed by a sparse trie to reveal a particular node.
- RlpNode
Buffers - Collection of reusable buffers for
SerialSparseTrie::rlp_node
calculations. - RlpNode
Path Stack Item - RLP node path stack item.
- RlpNode
Stack Item - RLP node stack item.
- Serial
Sparse Trie - The representation of revealed sparse trie.
- Sparse
State Trie - Sparse state trie representing lazy-loaded Ethereum state trie.
- Sparse
Trie Updates - Tracks modifications to the sparse trie structure.
- Trie
Masks - Struct for passing around branch node mask information.
Enums§
- Leaf
Lookup - Success value for a leaf lookup operation
- Leaf
Lookup Error - Error type for a leaf lookup operation
- Sparse
Node - Enum representing trie nodes in sparse trie.
- Sparse
Node Type - Enum representing sparse trie node type.
- Sparse
Trie - 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§
- Sparse
Trie Interface - Trait defining common operations for revealed sparse trie implementations.