Related to #215. A misconfigured indexer that starts and then misbehaves is far worse than one that refuses to start.
Scope
- Validate required configuration at startup: RPC endpoint, database URL, network, start ledger.
- Fail fast with a message naming the offending variable and what was expected.
- Reject contradictory combinations, such as a start ledger inconsistent with the configured network.
- Log the resolved effective configuration at boot, with secrets redacted.
Done when
- Every invalid configuration produces an immediate, specific fatal error rather than a degraded run.
Related to #215. A misconfigured indexer that starts and then misbehaves is far worse than one that refuses to start.
Scope
Done when