zebra_chain::transparent

Function new_transaction_ordered_outputs

source
pub fn new_transaction_ordered_outputs(
    transaction: &Transaction,
    hash: Hash,
    tx_index_in_block: usize,
    height: Height,
) -> HashMap<OutPoint, OrderedUtxo>
Expand description

Compute an index of newly created OrderedUtxos, given a transaction, its precomputed transaction hash, the transaction’s index in its block, and the block’s height.

This function is only for use in this module, and in tests.