fn apply_utxo_changes(
finalized_utxos: BTreeMap<OutputLocation, Output>,
created_chain_utxos: BTreeMap<OutputLocation, Output>,
spent_chain_utxos: BTreeSet<OutputLocation>,
query_height_range: &RangeInclusive<Height>,
max_entries: Option<usize>,
) -> BTreeMap<OutputLocation, Output>Expand description
Combines the supplied finalized and non-finalized UTXOs, removes the spent UTXOs and the
UTXOs outside query_height_range, truncates the result to max_entries, and returns it.