mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
3633b667ffUse SelectCoinsSRD if it has less waste (Andrew Chow)8bf789b4b4Add SelectCoinsSRD function (Andrew Chow)2ad3b5d2adtests: wallet_basic lock needed unspents (Andrew Chow)b77885f13etests: wallet_txn explicilty specify inputs (Andrew Chow)59ba7d2861tests: rpc_fundrawtx better test for UTXO inclusion with include_unsafe (Andrew Chow)a165bfbe44tests: rpc_fundrawtx use specific inputs for unavailable change test (Andrew Chow)df765a484dtests: rpc_fundrawtx lock to UTXO types (Andrew Chow) Pull request description: To ease in the use of SRD as our fallback mechanism, this PR adds it as a secondary fallback algorithm in addition to the knapsack solver. Since #22009, the solution with the least waste will be chosen. This pattern is continued with SRD simply being another solution whose waste is compared. ACKs for top commit: glozow: reACK3633b66via `git range-diff 981b9d1...3633b66`, thanks for taking the suggestions laanwj: Concept and code review ACK3633b667ffTree-SHA512: 895659f553fea2230990136565bdf18b1328de8b0ce47f06b64bb4d69301f6dd68cb38debe5c24fb6de1317b735fc020a987c541f00bbea65229de47e53adf92
39 KiB
Executable File
39 KiB
Executable File