Available on crate feature
node-api only.Expand description
Engine tree configuration.
Structs§
- Tree
Config - The configuration of the engine tree.
Constants§
- DEFAULT_
MEMORY_ BLOCK_ BUFFER_ TARGET - How close to the canonical head we persist blocks.
- DEFAULT_
MULTIPROOF_ TASK_ CHUNK_ SIZE - The size of proof targets chunk to spawn in one multiproof calculation.
- DEFAULT_
PERSISTENCE_ THRESHOLD - Triggers persistence when the number of canonical blocks in memory exceeds this threshold.
- DEFAULT_
RESERVED_ CPU_ CORES - Default number of reserved CPU cores for non-reth processes.
- DEFAULT_
SPARSE_ TRIE_ MAX_ STORAGE_ TRIES - Default maximum number of storage tries to keep after pruning.
- DEFAULT_
SPARSE_ TRIE_ PRUNE_ DEPTH - Default depth for sparse trie pruning.
- DEFAULT_
STATE_ ROOT_ TASK_ TIMEOUT - Default timeout for the state root task before spawning a sequential fallback.
- SMALL_
BLOCK_ GAS_ THRESHOLD - Gas threshold below which the small block chunk size is used.
Functions§
- has_
enough_ parallelism - Determines if the host has enough parallelism to run the payload processor.