diff options
| author | Alex Morcos <[email protected]> | 2017-01-05 09:12:48 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-01-06 10:18:56 -0500 |
| commit | 20449ef09edf8f4f51a3e531d947dd89973c2a31 (patch) | |
| tree | 7453c2fb8de3e66d2a81dda0c0ffb63951cd21b9 /src/validation.cpp | |
| parent | Try to reduce change output to make needed fee in CreateTransaction (diff) | |
| download | discoin-20449ef09edf8f4f51a3e531d947dd89973c2a31.tar.xz discoin-20449ef09edf8f4f51a3e531d947dd89973c2a31.zip | |
Don't overpay fee if we have selected new coins that result in a smaller transaction.
On repeated calls to SelectCoins we try to meet the fee necessary for the last transaction, the new fee required might be smaller, so increase our change by the difference if we can.
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions