mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
dce352f591
This adds a test for and fixes issue #2063. The changes do the following: 1. Build a preliminary list of candidate UTXOs. 2. Use the preliminary list to fix unconnected/valueless inputs before calculating `valueNeeded`. 3. Create a new candidate list without the UTXOs that were already present in inputs and use it as input for generating the `CoinSelection`. Test changes: 1. Update existing test to show the improvement (i.e. no wasted fee). 2. Add a new test (based on PR #3055) that shows no duplicate inputs. This work is based on changes by @michael-swiggs in PR #3055. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
findbugs.xml |