Selects UTXOs using a greedy algorithm to cover the required amount plus fee. This function iterates through UTXOs in reverse order (oldest last) and accumulates them until the total value covers the payment amount plus transaction fee. This approach helps consolidate older UTXOs and can reduce wallet fragmentation. Returns an error if the total UTXO value is insufficient to cover the payment an
(
own_utxos: &[Utxo],
amount: u64,
fee: u64,
)
source not stored for this graph (policy: none)
no test coverage detected