Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Coinselection prunes extraneous inputs from ApproximateBestSubset
This is a combination of 3 commits. - Coinselection prunes extraneous inputs from ApproximateBestSubset A further pass over the available inputs has been added to ApproximateBestSubset after a candidate set has been found. It will prune any extraneous inputs in the selected subset, in order to decrease the number of input and the resulting change. - Moved set reduction to the end of ApproximateBestSubset to reduce performance impact - Added a test for the pruning of extraneous inputs after ApproximateBestSet Github-Pull: #4906 Rebased-From: 5c03483 af9510e fc0f52d
- Loading branch information
Showing
with
28 additions
and 0 deletions.
- +18 −0 src/wallet/test/wallet_tests.cpp
- +10 −0 src/wallet/wallet.cpp