What problem does it solve?
Provides a single, authoritative reference for resolving Midnight node configuration complexity so operators can reliably select networks, load presets, map environment variables, and debug runtime behavior without guesswork.
Core Features & Use Cases
- Layered configuration model: Explains defaults, TOML presets, environment variables, and CLI argument precedence to avoid unexpected overrides.
- Validator key and network setup: Details required seed files and env vars for AURA, GRANDPA, BEEFY and cross-chain keys and how to run nodes on qanet, preview, preprod, perfnet, devnet, and local networks.
- Operational flags and tuning: Covers Substrate pruning, RPC and Prometheus exposure, DB cache and trie cache sizing, and development shortcuts like --dev and --tmp.
- Debugging and reproducibility: Advises using SHOW_CONFIG to print resolved configuration and using chain spec files or TOML presets for reproducible deployments.
- Use case: Prepare a validator for preview network with proper seed management, external RPC exposure, and pruning policy for production readiness.
Quick Start
Start a preview node and print the fully resolved configuration by setting SHOW_CONFIG=1 and launching midnight-node with the desired --chain value.