aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorAlex Morcos <[email protected]>2017-01-05 09:12:48 -0500
committerAlex Morcos <[email protected]>2017-01-06 10:18:56 -0500
commit20449ef09edf8f4f51a3e531d947dd89973c2a31 (patch)
tree7453c2fb8de3e66d2a81dda0c0ffb63951cd21b9 /src/validation.cpp
parentTry to reduce change output to make needed fee in CreateTransaction (diff)
downloaddiscoin-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