Expand description
The implementation of sparse MPT.
Modules§
- debug_
recorder - Debug recorder for tracking mutating operations on sparse tries.
- errors
- Re-export sparse trie error types.
Structs§
- Arena
Parallel Sparse Trie - An arena-based sparse trie whose subtries can be mutated in parallel.
- Arena
Parallelism Thresholds - An arena-based parallel sparse trie.
- Deferred
Drops - Holds data that should be dropped after any locks are released.
- RlpNode
Stack Item - RLP node stack item.
- Sparse
State Trie - Sparse state trie representing lazy-loaded Ethereum state trie.
- Sparse
Trie Updates - Tracks modifications to the sparse trie structure.
Enums§
- Leaf
Lookup - Success value for a leaf lookup operation
- Leaf
Lookup Error - Error type for a leaf lookup operation
- Leaf
Update - Describes an update to a leaf in the sparse trie.
- Revealable
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).
- Sparse
Node - Enum representing trie nodes in sparse trie.
- Sparse
Node State - Tracks the current state of a node in the trie, specifically regarding whether it’s been updated or not.
- Sparse
Node Type - Enum representing sparse trie node type.
Traits§
- Sparse
Trie - Trait defining common operations for revealed sparse trie implementations.