zebra_network::peer::connection

Function block_hashes

source
fn block_hashes(items: &[InventoryHash]) -> impl Iterator<Item = Hash> + '_
Expand description

Map a list of inventory hashes to the corresponding block hashes. Non-block inventory hashes are skipped.