-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added UtxoSelectionMode to enable unrestricted output listing […
…issue #4811] (#4854) Description --- Added UtxoSelectionMode to enable output listing, unrestricted by `script_lock_height` or `maturity`, it has two modes at the moment: `Safe` and `ListingOnly`: - `Safe` is supposed to be used when payment is expected, - `ListingOnly` is to have an option to view existing outputs e.g., to see received, but yet to be matured outputs. And brushed up a little for easier readability. Motivation and Context --- Under certain conditions the function select_utxos selects utxo's which it cannot spend yet due to the timelocks. Since PR #4227, the wallet can under certain conditions (not default) select UTXOs that have not yet been matured. The Wallet should ALWAYS look to only select utxos that have matured on script_lock_height and maturity #4811 How Has This Been Tested? --- existing unit tests
- Loading branch information
Showing
2 changed files
with
30 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters