Fixes a bunch of issues around tests for coinselection, and disables changeless solutions when building transactions with SFFO.
Depends on #28994
Fixes a bunch of issues around tests for coinselection, and disables changeless solutions when building transactions with SFFO.
Depends on #28994
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For detailed information about the code coverage, see the test coverage report.
See the guideline for information on the review process. A summary of reviews will appear here.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Originally these tests verified that at a SelectCoins level the solution
with fewer inputs gets preferred at high feerates, and the solution with
more inputs gets preferred at low feerates. This actually relies on the
behavior of BnB, so these tests are moved to the BnB tests.
Originally these tests relied on SFFO to work.
- Testing that negative effective value filters a UTXO is a behavior of
AvailableCoins and has nothing to do with BnB
- Combining Preset inputs with additional inputs resulting from coin
selection algorithms is a SelectCoins-level behavior and has nothing
to do with BnB
Also removes `bnb_search_tests` from coinselector_tests altogether
The behavior of test_22670 needed to be amended as we no longer are
searching for changeless solutions with knapsack on SFFO and thus the
trick to calculating the fee for the change output no longer worked.
🐙 This pull request conflicts with the target branch and needs rebase.
⌛ There hasn’t been much activity lately and the patch still needs rebase. What is the status here?