Module config

Module config 

Source
Expand description

Engine tree configuration.

Structs§

TreeConfig
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.