mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
bf26f978fffuzz: coinselection, fix `m_cost_of_change` (brunoerg)6d9b26d56afuzz: coinselection, BnB should never produce change (brunoerg)b2eb558407fuzz: coinselection, compare `GetSelectedValue` with target (brunoerg)0df0438c60fuzz: coinselection, improve `ComputeAndSetWaste` (brunoerg)1e351e5db1fuzz: coinselection, add coverage for `Merge` (brunoerg)f0244a8614fuzz: coinselection, add coverage for `GetShuffledInputVector`/`GetInputSet` (brunoerg)808618b8a2fuzz: coinselection, add coverage for `AddInputs` (brunoerg)90c4e6a241fuzz: coinselection, add coverage for `EligibleForSpending` (brunoerg)2a031cb2c2fuzz: coinselection, add `CreateCoins` (brunoerg) Pull request description: This PR: - Moves coin creation to its own function called `CreateCoins`. - Add coverage for `EligibleForSpending` - Add coverage for `AddInputs`: get result of each algorithm (srd, knapsack and bnb), call `CreateCoins` and add into them. - Add coverage for `GetShuffledInputVector` and `GetInputSet` using the result of each algorithm (srd, knapsack and bnb). - Add coverage for `Merge`: Call SRD with the new utxos and, if successful, try to merge with the previous SRD result. ACKs for top commit: murchandamus: reACK with some minimal fuzzingbf26f978ffachow101: ACKbf26f978fffurszy: re-ACKbf26f97Tree-SHA512: bdd2b0a39de37be0a9b21a7c51260b6b8abe538cc0ea74312eb658b90a121a1ae07306c09fb0e75e93b531ce9ea2402feb041b0d852902d07739257f792e64ab