download_slice_with_hash

Function download_slice_with_hash 

Source
pub(crate) async fn download_slice_with_hash(
    module_api: DynModuleApi,
    peer_selector: PeerSelector,
    start: u64,
    end: u64,
    expected_hash: Hash,
) -> Vec<RecoveryItem>
Expand description

Downloads a slice with a pre-fetched hash for verification