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_
MULTIPROOF_ TASK_ CHUNK_ SIZE_ V2 - The size of proof targets chunk to spawn in one multiproof calculation when V2 proofs are enabled. This is 4x the default chunk size to take advantage of more efficient V2 proof computation.
- DEFAULT_
PERSISTENCE_ THRESHOLD - Triggers persistence when the number of canonical blocks in memory exceeds this threshold.
- DEFAULT_
PREWARM_ MAX_ CONCURRENCY - Default maximum concurrency for prewarm task.
- DEFAULT_
RESERVED_ CPU_ CORES - Default number of reserved CPU cores for non-reth processes.
- MIN_
WORKER_ COUNT - Minimum number of workers we allow configuring explicitly.
Functions§
- has_
enough_ parallelism - Determines if the host has enough parallelism to run the payload processor.