Skip to main content

Module resolved

Module resolved 

Source
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§

ResolvedBlockchain
Resolved blockchain fields.
ResolvedCache
Resolved cache fields.
ResolvedConfig
Fully resolved node configuration.
ResolvedContent
Resolved local content denylist (ADR 011 §Local Denylist).
ResolvedDht
Resolved cdn/dht/v1 settings (ADR 022).
ResolvedDiscovery
Resolved discovery providers (#818). Strings are already shape-validated at resolution (pkarr_url a parseable URL, dns_origin non-empty, each peer node_id a valid iroh NodeId, each addr a SocketAddr); the node wiring layer parses them into iroh types — the discovery-provider seam, per adr/appendix-poc-production-seams.md.
ResolvedDiscoveryPeer
One resolved static peer (ResolvedDiscovery::peers).
ResolvedIdentity
Resolved identity fields.
ResolvedLoadShed
Resolved load-shedding thresholds.
ResolvedNetwork
Resolved network fields.
ResolvedObservability
Resolved observability fields.
ResolvedPayment
Resolved payment fields.
ResolvedProbe
Resolved cdn/probe/v1 settings (ADR 005 §Probe rate limiting).
ResolvedReceipts
Resolved download-receipt audit-log retention fields (#802).
ResolvedS3Config
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-form crate::config::types::S3OriginConfig into this resolved form with pre-parsed types (notably endpoint_url: Option<OriginUrl>). Default is intentionally not derived. The fields are pub for consistency with the other Resolved* 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.
ResolvedSecurity
Resolved security / rate-limiting fields.
ResolvedServeEconomics
Resolved refuse-to-serve economics tuning (ADR 041). See ResolvedCache::serve_economics.
ResolvedTinyLfu
Resolved W-TinyLFU tuning knobs. See ResolvedCache::tinylfu.

Enums§

LoadShedPolicyKind
Which load-shed policy the node runs.
ResolvedOrigin
Resolved + validated origin backend selection (#437). Mirrors crate::config::types::OriginConfig but carries pre-parsed types for the variants that need them (HTTP base URL, S3 endpoint URL).
ResolvedS3Credentials
Validated runtime form of S3 credentials (#437). See ResolvedS3Config for the constructor invariant.