Module node_config

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