pub struct ResolvedConfig {
pub identity: ResolvedIdentity,
pub network: ResolvedNetwork,
pub blockchain: ResolvedBlockchain,
pub cache: ResolvedCache,
pub payment: ResolvedPayment,
pub observability: ResolvedObservability,
pub security: ResolvedSecurity,
pub load_shed: ResolvedLoadShed,
pub dht: ResolvedDht,
pub probe: ResolvedProbe,
pub receipts: ResolvedReceipts,
pub content: ResolvedContent,
}Expand description
Fully resolved node configuration.
Every field has a value determined by the three-layer merge: CLI flag > config file > built-in default.
Required fields that have no default (rpc_url,
payment_pool_address, capacity_bond_address) cause
super::resolve_config to return an error if not provided.
Fields§
§identity: ResolvedIdentityNode key and data directory.
network: ResolvedNetworkListen addresses, relays, and NAT-traversal settings.
blockchain: ResolvedBlockchainChain RPC endpoint and the contract addresses the node talks to.
cache: ResolvedCacheBlob store, origin backend, and admission/eviction policy.
payment: ResolvedPaymentPricing, voucher, and settlement settings.
observability: ResolvedObservabilityLogging, metrics, and tracing endpoints.
security: ResolvedSecurityConnection and dispatch limits for the serving path.
load_shed: ResolvedLoadShedOverload-protection thresholds.
dht: ResolvedDhtcdn/dht/v1 settings (ADR 022).
probe: ResolvedProbecdn/probe/v1 settings (ADR 005).
receipts: ResolvedReceiptsDownload-receipt log settings.
content: ResolvedContentLocal content denylist (ADR 011).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedConfig
impl RefUnwindSafe for ResolvedConfig
impl Send for ResolvedConfig
impl Sync for ResolvedConfig
impl Unpin for ResolvedConfig
impl UnsafeUnpin for ResolvedConfig
impl UnwindSafe for ResolvedConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more