diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-12-03 09:53:23 +0100 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-01-23 16:23:39 -0500 |
commit | 568c05a591705552b435d384e526f702e23a08c9 (patch) | |
tree | 59b00020770f1424e11508d630fbc239321d45de /src/wallet/coincontrol.h | |
parent | 82274c02ed2d82537dc55f008a29edb1bc09bbc4 (diff) | |
download | bitcoin-568c05a591705552b435d384e526f702e23a08c9.tar.xz |
Allow to opt-into RBF when creating a transaction
Diffstat (limited to 'src/wallet/coincontrol.h')
-rw-r--r-- | src/wallet/coincontrol.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/coincontrol.h b/src/wallet/coincontrol.h index eaf4ff8062..4e93e929be 100644 --- a/src/wallet/coincontrol.h +++ b/src/wallet/coincontrol.h @@ -6,6 +6,7 @@ #define BITCOIN_WALLET_COINCONTROL_H #include "primitives/transaction.h" +#include "wallet/wallet.h" /** Coin Control Features. */ class CCoinControl @@ -24,6 +25,8 @@ public: CFeeRate nFeeRate; //! Override the default confirmation target, 0 = use default int nConfirmTarget; + //! Signal BIP-125 replace by fee. + bool signalRbf; CCoinControl() { @@ -40,6 +43,7 @@ public: nFeeRate = CFeeRate(0); fOverrideFeeRate = false; nConfirmTarget = 0; + signalRbf = fWalletRbf; } bool HasSelected() const |