Skip to main content

pull_chunks

Function pull_chunks 

Source
pub fn pull_chunks(
    state: &mut SyncState,
    node: &Node<Vec<u8>, Vec<u8>>,
    peer: PeerId,
    addrs: &[Multiaddr],
    typ: &str,
) -> Result<usize>
Expand description

Pull the chunks of typ (for crate::Limits::eager_chunks off, or to retry): the same session as pull_from, for the companion type chunk_type(typ).