Expand description
Fully resolved configuration with concrete types.
Most fields are non-optional. region remains Option because it has no
universal default; relay_urls is a (possibly empty) list — empty means
“fall back to the n0 default relays”.
Structs§
- Resolved
Blockchain - Resolved blockchain fields.
- Resolved
Cache - Resolved cache fields.
- Resolved
Config - Fully resolved node configuration.
- Resolved
Content - Resolved local content denylist (ADR 011 §Local Denylist).
- Resolved
Dht - Resolved
cdn/dht/v1settings (ADR 022). - Resolved
Discovery - Resolved discovery providers (#818). Strings are already shape-validated at
resolution (
pkarr_urla parseable URL,dns_originnon-empty, each peernode_ida valid irohNodeId, eachaddraSocketAddr); the node wiring layer parses them into iroh types — the discovery-provider seam, peradr/appendix-poc-production-seams.md. - Resolved
Discovery Peer - One resolved static peer (
ResolvedDiscovery::peers). - Resolved
Identity - Resolved identity fields.
- Resolved
Load Shed - Resolved load-shedding thresholds.
- Resolved
Network - Resolved network fields.
- Resolved
Observability - Resolved observability fields.
- Resolved
Payment - Resolved payment fields.
- Resolved
Probe - Resolved
cdn/probe/v1settings (ADR 005 §Probe rate limiting). - Resolved
Receipts - Resolved download-receipt audit-log retention fields (#802).
- Resolved
S3Config - Validated runtime form of an S3 origin (#437). The intended
construction path is
crate::config::resolve_s3_origin, which runs the validators and lifts the wire-formcrate::config::types::S3OriginConfiginto this resolved form with pre-parsed types (notablyendpoint_url: Option<OriginUrl>).Defaultis intentionally not derived. The fields arepubfor consistency with the otherResolved*types in this crate, so in-crate construction with field-init is technically possible — the runtime simply doesn’t do that. Pattern of intent rather than visibility-enforced invariant. - Resolved
Security - Resolved security / rate-limiting fields.
- Resolved
Serve Economics - Resolved refuse-to-serve economics tuning (ADR 041). See
ResolvedCache::serve_economics. - Resolved
Tiny Lfu - Resolved W-TinyLFU tuning knobs. See
ResolvedCache::tinylfu.
Enums§
- Load
Shed Policy Kind - Which load-shed policy the node runs.
- Resolved
Origin - Resolved + validated origin backend selection (#437). Mirrors
crate::config::types::OriginConfigbut carries pre-parsed types for the variants that need them (HTTP base URL, S3 endpoint URL). - Resolved
S3Credentials - Validated runtime form of S3 credentials (#437). See
ResolvedS3Configfor the constructor invariant.