Expand description
TOML-deserializable configuration file types.
All fields are Option so that missing keys in the TOML file are
accepted. The merge logic in super::resolve_config fills in defaults.
Structs§
- Blockchain
Config - Blockchain section of the config file.
- Cache
Config - Cache section of the config file.
- Client
Config - Client-scoped section of the config file. Independent of the
node-scoped
[network.discovery](address discovery) — this narrows which peers a client discovers/probes, never ranks them. - Content
Config - Local content-denylist section of the config file (ADR 011 §Local Denylist).
- DhtConfig
[dht]section —cdn/dht/v1settings (ADR 022).- DhtRate
Limit Config [dht.rate_limit]— three-layer token-bucket settings (ADR 022 §DHT Rate Limiting).- Discovery
Config - Operator-configurable address-discovery providers (#818 scope 1).
- Discovery
Peer - A single static peer entry for
DiscoveryConfig::peers. To be useful at least one ofSelf::relay_url/Self::addrsshould be set — an id-only entry yields a peer with no transport addresses to dial. - File
Config - Top-level TOML configuration file structure.
- Identity
Config - Identity section of the config file.
- Load
Shed Config [load_shed]section — node-local load-shedding thresholds (overload protection). All fields optional; unset falls back to the resolved defaults.- Network
Config - Network section of the config file.
- Observability
Config - Observability section of the config file.
- Payment
Config - Payment section of the config file.
- Probe
Config [probe]section —cdn/probe/v1settings (ADR 005).- Probe
Rate Limit Config [probe.rate_limit]— three-layer token-bucket settings (ADR 005 §Probe rate limiting).- Receipts
Config - Download-receipt audit-log retention section of the config file (#802).
- S3Origin
Config - S3-compatible origin configuration (#437) — wire form.
- Security
Config - Security / rate-limiting section of the config file.
- Serve
Economics Config - Refuse-to-serve economics tuning knobs (ADR 041). See
CacheConfig::serve_economics. - Tiny
LfuConfig - W-TinyLFU tuning knobs (ADR 040). See
CacheConfig::tinylfu.
Enums§
- Origin
Config - Origin backend selection (#437). Tagged on the inner
kindfield. - S3Credentials
- S3 credential source (#437). Tagged on the inner
sourcefield.