diff options
author | Gregory Maxwell <greg@xiph.org> | 2014-12-16 01:43:40 -0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-12-23 12:12:40 +0100 |
commit | 11855c1f990a4a66f55de60a30a8898ccbf766ec (patch) | |
tree | 405d5f3f595da3a3a99c305606bbed06a6f600e0 /src/txmempool.cpp | |
parent | 84462625975bd1a34dadc47c062a9999c6000203 (diff) | |
download | bitcoin-11855c1f990a4a66f55de60a30a8898ccbf766ec.tar.xz |
Enforce minRelayTxFee on wallet created tx and add a maxtxfee option.
Previously the minRelayTxFee was only enforced on user specified values.
It was possible for smartfee to produce a fee below minRelayTxFee which
would just result in the transaction getting stuck because it can't be
relayed.
This also introduces a maxtxfee option which sets an absolute maximum
for any fee created by the wallet, with an intention of increasing
user confidence that the automatic fees won't burn them. This was
frequently a concern even before smartfees.
If the configured fee policy won't even allow the wallet to meet the relay
fee the transaction creation may be aborted.
Rebased-From: aa279d613152e87ea25edfdf76c86779c0632f18
Github-Pull: #5485
Diffstat (limited to 'src/txmempool.cpp')
0 files changed, 0 insertions, 0 deletions