Skip to main content

sum_selected_fees

Function sum_selected_fees 

Source
pub fn sum_selected_fees(
    utxo_set: &HashMap<OutPoint, Arc<UTXO>, FxBuildHasher>,
    txs: &[Transaction],
) -> i64
Expand description

Fees of selected (non-coinbase) txs. An input missing from the chain set is priced from an earlier selected transaction. Any other missing input contributes nothing.