Module node_config
Expand description
Support for customizing the node
Structs§
- Node
Config - 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.