pub fn new(
        network: ZN,
        verifier: ZV,
        latest_chain_tip: zs::LatestChainTip,
        lookahead_limit: usize,
    ) -> Self {
        Self {
            network,
            verifier,
            latest_chain_tip,
            lookahead_limit,
            pending: FuturesUnordered::new(),
            cancel_handles: HashMap::new(),
        }
    }
/// Initialize a new download stream with the provided `network` and
/// `verifier` services. Uses the `latest_chain_tip` and `lookahead_limit`
/// to drop blocks that are too far ahead of the current state tip.
///
/// The [`Downloads`] stream is agnostic to the network policy, so retry and
/// timeout limits should be applied to the `network` service passed into
/// this constructor.
Initialize a new download stream with the provided `network` and
`verifier` services. Uses the `latest_chain_tip` and `lookahead_limit`
to drop blocks that are too far ahead of the current state tip.

The [`Downloads`] stream is agnostic to the network policy, so retry and
timeout limits should be applied to the `network` service passed into
this constructor.
Initialize a new download stream with the provided ` network ` and ` verifier ` services . Uses the ` latest_chain_tip ` and ` lookahead_limit ` to drop blocks that are too far ahead of the current state tip . The [ ` Downloads ` ] stream is agnostic to the network policy so retry and timeout limits should be applied to the ` network ` service passed into this constructor .
pub fn new(
        network: ZN,
        verifier: ZV,
        latest_chain_tip: zs::LatestChainTip,
        lookahead_limit: usize,
    ) -> Self {
        Self {
            network,
            verifier,
            latest_chain_tip,
            lookahead_limit,
            pending: FuturesUnordered::new(),
            cancel_handles: HashMap::new(),
        }
    }
pub fn new ( network : ZN , verifier : ZV , latest_chain_tip : zs :: LatestChainTip , lookahead_limit : usize , ) -> Self { Self { network , verifier , latest_chain_tip , lookahead_limit , pending : FuturesUnordered :: new ( ) , cancel_handles : HashMap :: new ( ) , } }
Initialize a new download stream with the provided `network` and
`verifier` services.
Initialize a new download stream with the provided ` network ` and ` verifier ` services .
network
ZN
verifier
ZV
latest_chain_tip
zs::LatestChainTip
lookahead_limit
usize