Rebases #7132 Also adds the comment for #7132 (review)
Original pull has plenty of ACKs. After all this time we still have no way to opt in to RBF in the wallet, let's not try to bikeshed it to death this time.
Rebases #7132 Also adds the comment for #7132 (review)
Original pull has plenty of ACKs. After all this time we still have no way to opt in to RBF in the wallet, let's not try to bikeshed it to death this time.
2355 | @@ -2355,11 +2356,17 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt 2356 | 2357 | // Fill vin 2358 | // 2359 | - // Note how the sequence number is set to max()-1 so that the 2360 | - // nLockTime set above actually works. 2361 | + // Note how the sequence number is set to non-maxint so that 2362 | + // the nLockTime set above actually works. 2363 | + /
I don't think this is valid cpp :stuck_out_tongue:
I thought the commandline option was to be renamed to -walletrbf?
utACK 05fa823
utACK
I thought the commandline option was to be renamed to -walletrbf?
Fine with me.
Why not rename the DEFAULT_.. as well to match the option name?
utACK b54c36703c4023114b05305b2edf15db88746fef as-is
http://codepad.org/fhQWSuAk could be included to address @paveljanik's suggestion
This makes it clear that this is a wallet option.
53 | @@ -53,6 +54,8 @@ static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true; 54 | static const bool DEFAULT_SEND_FREE_TRANSACTIONS = false; 55 | //! -txconfirmtarget default 56 | static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 2; 57 | +//! -walletrbf default 58 | +static const bool DEFAULT_WALLET_RBF = false;
why false by default?
Please see the linked pull in the description
On Thu, Sep 15, 2016 at 4:19 AM, R E Broadley notifications@github.com wrote:
@rebroad commented on this pull request.
In src/wallet/wallet.h #8601#pullrequestreview-83872:
@@ -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; +//! -walletrbf default +static const bool DEFAULT_WALLET_RBF = false;
why false by default?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub #8601#pullrequestreview-83872, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGmv74fpRaN3BoDZKy7UTc-EN_RqpRnks5qqKs7gaJpZM4Jt8HS .