Skip to main content

pull_types_shared

Function pull_types_shared 

Source
pub fn pull_types_shared(
    state: &Mutex<SyncState>,
    node: &Node<Vec<u8>, Vec<u8>>,
    peer: PeerId,
    addrs: &[Multiaddr],
    types: &[&str],
) -> PullTypesOutcome
Expand description

pull_types for a state shared with this node’s SyncHandler, without holding its lock across the network (as pull_from_shared does for one type).