zebra_chain::transparent::utxo

Function new_ordered_outputs_with_height

source
pub fn new_ordered_outputs_with_height(
    block: &Block,
    height: Height,
    transaction_hashes: &[Hash],
) -> HashMap<OutPoint, OrderedUtxo>
Expand description

Compute an index of newly created OrderedUtxos, given a block and a list of precomputed transaction hashes.

This function is intended for use in this module, and in tests. Prefer new_ordered_outputs.