zebra_network::peer::connection

Function transaction_ids

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

Map a list of inventory hashes to the corresponding unmined transaction IDs. Non-transaction inventory hashes are skipped.

v4 transactions use a legacy transaction ID, and v5 transactions use a witnessed transaction ID.