Crate reth_trie_sparse_parallel

Crate reth_trie_sparse_parallel 

Source
Expand description

The implementation of parallel sparse MPT.

Structs§

ParallelSparseTrie
A revealed sparse trie with subtries that can be updated in parallel.
ParallelismThresholds
Configuration for controlling when parallelism is enabled in ParallelSparseTrie operations.
RlpNodePathStackItem
RLP node path stack item.
SparseSubtrie
This is a subtrie of the ParallelSparseTrie that contains a map from path to sparse trie nodes.
SparseSubtrieBuffers
Collection of reusable buffers for calculating subtrie hashes.

Enums§

LeafUpdateStep
Represents the outcome of processing a node during leaf insertion
SparseSubtrieType
Sparse Subtrie Type.

Constants§

NUM_LOWER_SUBTRIES
Number of lower subtries which are managed by the ParallelSparseTrie.
UPPER_TRIE_MAX_DEPTH
The maximum length of a path, in nibbles, which belongs to the upper subtrie of a ParallelSparseTrie. All longer paths belong to a lower subtrie.