Function zebra_state::service::read::address::utxo::apply_utxo_changes
source ยท fn apply_utxo_changes(
finalized_utxos: BTreeMap<OutputLocation, Output>,
created_chain_utxos: BTreeMap<OutputLocation, Output>,
spent_chain_utxos: BTreeSet<OutputLocation>,
) -> BTreeMap<OutputLocation, Output>
Expand description
Combines the supplied finalized and non-finalized UTXOs, removes the spent UTXOs, and returns the result.