diff options
| author | Alex Morcos <[email protected]> | 2017-01-25 22:16:15 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-01-26 09:43:00 -0500 |
| commit | e8021ec9193c7e8137f9716bcafd197a357a624e (patch) | |
| tree | 31cbe60ee63f4f88613dd9424cadef34ca68d32a /src/validation.cpp | |
| parent | Refactor GetMinimumFee to give option of providing targetFee (diff) | |
| download | discoin-e8021ec9193c7e8137f9716bcafd197a357a624e.tar.xz discoin-e8021ec9193c7e8137f9716bcafd197a357a624e.zip | |
Use CWallet::GetMinimumFee in bumpfee
Use the wallet's fee calculation logic to properly clamp fee against minimums and maximums when calculating the fee for a bumpfee transaction. Unless totalFee is explictly given, in which case, manually check against min, but do nothing to adjust given fee.
In all cases do a final check against maxTxFee (after adding any incremental amount).
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions