@@ -40,7 +40,7 @@ CFeeRate payTxFee(DEFAULT_TRANSACTION_FEE);
40
40
unsigned int nTxConfirmTarget = DEFAULT_TX_CONFIRM_TARGET;
41
41
bool bSpendZeroConfChange = DEFAULT_SPEND_ZEROCONF_CHANGE;
42
42
bool fSendFreeTransactions = DEFAULT_SEND_FREE_TRANSACTIONS;
43
- bool fOptIntoFullRbf = DEFAULT_OPT_INTO_FULL_RBF ;
43
+ bool fWalletRbf = DEFAULT_WALLET_RBF ;
44
44
45
45
const char * DEFAULT_WALLET_DAT = " wallet.dat" ;
46
46
const uint32_t BIP32_HARDENED_KEY_LIMIT = 0x80000000 ;
@@ -2366,7 +2366,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
2366
2366
// behavior."
2367
2367
BOOST_FOREACH (const PAIRTYPE (const CWalletTx*,unsigned int )& coin, setCoins)
2368
2368
txNew.vin .push_back (CTxIn (coin.first ->GetHash (),coin.second ,CScript (),
2369
- std::numeric_limits<unsigned int >::max () - (fOptIntoFullRbf ? 2 : 1 )));
2369
+ std::numeric_limits<unsigned int >::max () - (fWalletRbf ? 2 : 1 )));
2370
2370
2371
2371
// Sign
2372
2372
int nIn = 0 ;
@@ -3247,7 +3247,7 @@ std::string CWallet::GetWalletHelpString(bool showDebug)
3247
3247
strUsage += HelpMessageOpt (" -spendzeroconfchange" , strprintf (_ (" Spend unconfirmed change when sending transactions (default: %u)" ), DEFAULT_SPEND_ZEROCONF_CHANGE));
3248
3248
strUsage += HelpMessageOpt (" -txconfirmtarget=<n>" , strprintf (_ (" If paytxfee is not set, include enough fee so transactions begin confirmation on average within n blocks (default: %u)" ), DEFAULT_TX_CONFIRM_TARGET));
3249
3249
strUsage += HelpMessageOpt (" -usehd" , _ (" Use hierarchical deterministic key generation (HD) after BIP32. Only has effect during wallet creation/first start" ) + " " + strprintf (_ (" (default: %u)" ), DEFAULT_USE_HD_WALLET));
3250
- strUsage += HelpMessageOpt (" -optintofullrbf " , strprintf (_ (" Send transactions with full-RBF opt-in enabled (default: %u)" ), DEFAULT_OPT_INTO_FULL_RBF ));
3250
+ strUsage += HelpMessageOpt (" -walletrbf " , strprintf (_ (" Send transactions with full-RBF opt-in enabled (default: %u)" ), DEFAULT_WALLET_RBF ));
3251
3251
strUsage += HelpMessageOpt (" -upgradewallet" , _ (" Upgrade wallet to latest format on startup" ));
3252
3252
strUsage += HelpMessageOpt (" -wallet=<file>" , _ (" Specify wallet file (within data directory)" ) + " " + strprintf (_ (" (default: %s)" ), DEFAULT_WALLET_DAT));
3253
3253
strUsage += HelpMessageOpt (" -walletbroadcast" , _ (" Make the wallet broadcast transactions" ) + " " + strprintf (_ (" (default: %u)" ), DEFAULT_WALLETBROADCAST));
@@ -3488,7 +3488,7 @@ bool CWallet::ParameterInteraction()
3488
3488
nTxConfirmTarget = GetArg (" -txconfirmtarget" , DEFAULT_TX_CONFIRM_TARGET);
3489
3489
bSpendZeroConfChange = GetBoolArg (" -spendzeroconfchange" , DEFAULT_SPEND_ZEROCONF_CHANGE);
3490
3490
fSendFreeTransactions = GetBoolArg (" -sendfreetransactions" , DEFAULT_SEND_FREE_TRANSACTIONS);
3491
- fOptIntoFullRbf = GetBoolArg (" -optintofullrbf " , DEFAULT_OPT_INTO_FULL_RBF );
3491
+ fWalletRbf = GetBoolArg (" -walletrbf " , DEFAULT_WALLET_RBF );
3492
3492
3493
3493
return true ;
3494
3494
}
0 commit comments