Expand description
Zero-config tunables for the consumption faces over the paid pull engine
(config::PullConfig, #1848): every knob defaults, so a caller overrides
only what it must, and construction needs no network or chain access.
Zero-config tunables for the consumption faces over the paid pull engine
(Downloader, Streamer, #1848).
PullConfig holds only tunables, each with a sensible default. The REQUIRED
per-fetch inputs — identity, the connection, the spend budget, the provider
set — are not here; they flow through the engine’s existing params
(crate::PoolContext, the iroh::Endpoint, discovered candidates). That
split is what lets a PullConfig construct with no network or chain access.
The payment interval is deliberately NOT a tunable: it is the fixed protocol
constant decdn_protocol::client::CHUNK_BYTES (1 MiB, #1676).
Structs§
- Pull
Config - Zero-config tunables shared by the consumption faces.