aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-01-23 13:15:24 -0500
committerAlex Morcos <morcos@chaincode.com>2017-01-26 12:03:47 -0500
commit0c0c63f70a5376b87508e8f1c73dcbc59c8a96ed (patch)
treea89c36f1736f2f2e2015581792aa1572c5ca2c2d /src/wallet/wallet.h
parente8021ec9193c7e8137f9716bcafd197a357a624e (diff)
downloadbitcoin-0c0c63f70a5376b87508e8f1c73dcbc59c8a96ed.tar.xz
Introduce WALLET_INCREMENTAL_RELAY_FEE
Have wallet's default bump value be higher than the default incrementalRelayFee to future proof against changes to incremental relay fee. Only applies when not setting the fee rate directly.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index f95c0589d6..764a7aa268 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -48,6 +48,8 @@ static const CAmount DEFAULT_TRANSACTION_FEE = 0;
static const CAmount DEFAULT_FALLBACK_FEE = 20000;
//! -mintxfee default
static const CAmount DEFAULT_TRANSACTION_MINFEE = 1000;
+//! minimum recommended increment for BIP 125 replacement txs
+static const CAmount WALLET_INCREMENTAL_RELAY_FEE = 5000;
//! target minimum change amount
static const CAmount MIN_CHANGE = CENT;
//! final minimum change amount after paying for fees