diff options
author | Peter Todd <pete@petertodd.org> | 2015-11-30 13:11:18 +0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-26 12:10:42 +0200 |
commit | 152f45ba58b1548bba0788ca557fd66197063aa3 (patch) | |
tree | d51be7d92f2a00e27d59ebc56706ccb0b68d85f5 /src/wallet/wallet.h | |
parent | 65837375d98b3e9949d15dc05e66e6356eada283 (diff) | |
download | bitcoin-152f45ba58b1548bba0788ca557fd66197063aa3.tar.xz |
Add option to opt into full-RBF when sending funds
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index c06513650c..5d93d2c4d9 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -37,6 +37,7 @@ extern CFeeRate payTxFee; extern unsigned int nTxConfirmTarget; extern bool bSpendZeroConfChange; extern bool fSendFreeTransactions; +extern bool fOptIntoFullRbf; static const unsigned int DEFAULT_KEYPOOL_SIZE = 100; //! -paytxfee default @@ -53,6 +54,8 @@ static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true; static const bool DEFAULT_SEND_FREE_TRANSACTIONS = false; //! -txconfirmtarget default static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 2; +//! -optintofullrbf default +static const bool DEFAULT_OPT_INTO_FULL_RBF = false; //! Largest (in bytes) free transaction we're willing to create static const unsigned int MAX_FREE_TRANSACTION_CREATE_SIZE = 1000; static const bool DEFAULT_WALLETBROADCAST = true; |