Module node_config

Source
Expand description

Support for customizing the node

Structs§

NodeConfig
This includes all necessary configuration to launch the node. The individual configuration options can be overwritten before launching the node.

Constants§

DEFAULT_CROSS_BLOCK_CACHE_SIZE_MB
Default size of cross-block cache in megabytes.
DEFAULT_MAX_PROOF_TASK_CONCURRENCY
Default maximum concurrency for proof tasks
DEFAULT_MEMORY_BLOCK_BUFFER_TARGET
How close to the canonical head we persist blocks.
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.