Easy first-step for those who are using third-party scripts like my replace-by-fee-tools
Add option to opt into full-RBF when sending funds #7119
pull petertodd wants to merge 1 commits into bitcoin:master from petertodd:2015-11-opt-into-full-rbf-option changing 3 files +7 −1-
petertodd commented at 6:46 PM on November 27, 2015: contributor
-
petertodd commented at 6:53 PM on November 27, 2015: contributor
There's a good argument for making this default to true - BlockCypher is rejecting Bitcoin Core txs as "might be doublespent", and whether or not the tx fee is high enough to satisfy such services isn't reliable anyway. Defaulting to true also makes it much easier to give people help on fixing a stuck transaction after the fact, even without explicit support in Bitcoin Core yet.
- petertodd force-pushed on Nov 27, 2015
-
TheBlueMatt commented at 8:26 PM on November 27, 2015: member
Your usage docs have a copy paste error... It's a binary flag so you want s/=<amt>//
On November 27, 2015 1:53:52 PM EST, Peter Todd notifications@github.com wrote:
There's a good argument for making this default to true - BlockCypher is rejecting Bitcoin Core txs as "might be doublespent", and whether or not the tx fee is high enough to satisfy such services isn't reliable anyway. Defaulting to true also makes it much easier to give people help on fixing a stuck transaction after the fact, even without explicit support in Bitcoin Core yet.
Reply to this email directly or view it on GitHub: #7119 (comment)
-
luke-jr commented at 9:10 PM on November 27, 2015: member
This is kinda ugly (per-node start instead of per-tx). IMO we shouldn't opt-in by default until Core can actually double-spend them itself.
- jonasschnelli added the label Wallet on Nov 28, 2015
-
Add option to opt into full-RBF when sending funds 7de161ef89
- petertodd force-pushed on Nov 28, 2015
-
petertodd commented at 9:08 AM on November 28, 2015: contributor
@TheBlueMatt Thanks, fixed. @luke-jr Yeah, per-tx would be nice, but that'll take a lot more work on UX and RPC calls.
Re: default, remember that we don't try to make any guarantees about the likely hood that a tx will be mined according to what the recipient needs re: double-spending. For instance, a low fee tx is very easy to double-spend, and we'll happily produce them. Similarly we'll happily spend unconfirmed change in many circumstances, which again causes txs to get rejected by zeroconf risk analysis's. Not a particularly predictable UX, so i'm not worried about a default to opt-in, which does have benefits. (also the benefit of ensuring opt-in txs are accepted properly by other wallets!)
-
instagibbs commented at 5:49 PM on November 28, 2015: member
The opt-in being standard makes it sound more opt-out from the Core user's perspective. I don't care a ton, but it should to be clear from description.
I didn't even quite get that:
There's a good argument for making this default to true
meant that's how it was until I read the code itself.
-
sandakersmann commented at 11:17 PM on November 28, 2015: contributor
NACK. This is not Bitcoin.
-
sipa commented at 11:19 PM on November 28, 2015: member
I don't think we should make this default.
-
TheBlueMatt commented at 11:23 PM on November 28, 2015: member
I agree with Luke, it should be a per-tx option, but this should absolutely be the default. The Bitcoin Core wallet should be setting the example of how to best interact with Bitcoin, which means fill RBF eventually, but normalizing txn with RBF enabled until then.
On November 27, 2015 4:10:31 PM EST, Luke-Jr notifications@github.com wrote:
This is kinda ugly (per-node start instead of per-tx). IMO we shouldn't opt-in by default until Core can actually double-spend them itself.
Reply to this email directly or view it on GitHub: #7119 (comment)
-
sandakersmann commented at 11:57 PM on November 28, 2015: contributor
0-confirmation transactions are important. If people include a too small fee they can wait until the transaction drops from the mempool.
-
rnicoll commented at 12:02 AM on November 29, 2015: contributor
Having the option is important, but I'd much rather it be per-transaction, and I'm certainly not convinced RBF-enabled should be default. What's the argument for it as default, that it's impossible to be certain of required transaction fee before relaying?
Maybe the default for fee-less transactions only? Aware that's somewhat complicating things.
-
TheBlueMatt commented at 12:21 AM on November 29, 2015: member
The best way to optimize fee for users is to always use RBF and shoot for a low fee initially. Certainly this is the way we'd go in the future, the question is whether to default txn to opt into RBF before we've implemented the actual fee-bump-RBF logic in wallet or not.
On November 28, 2015 7:02:27 PM EST, Ross Nicoll notifications@github.com wrote:
Having the option is important, but I'd much rather it be per-transaction, and I'm certainly not convinced RBF-enabled should be default. What's the argument for it as default, that it's impossible to be certain of required transaction fee before relaying?
Maybe the default for fee-less transactions only? Aware that's somewhat complicating things.
Reply to this email directly or view it on GitHub: #7119 (comment)
-
sandakersmann commented at 12:37 AM on November 29, 2015: contributor
Merchants are users too. RBF is not the way to go in the future.
-
maaku commented at 12:43 AM on November 29, 2015: contributor
Concept ACK. Branch doesn't currently merge.
-
btcdrak commented at 12:55 AM on November 29, 2015: contributor
Needs rebase @petertodd
-
surg0r commented at 12:59 AM on November 29, 2015: none
No.
-
gmaxwell commented at 1:59 AM on November 29, 2015: contributor
I'm closing this, it's just going to be a magnet for harassment due to people dishonestly misrepresenting what a pullreq means and I can't see us taking this particular patch as is.
- gmaxwell closed this on Nov 29, 2015
-
in src/wallet/wallet.h:None in 7de161ef89
49 | @@ -49,6 +50,8 @@ static const CAmount DEFAULT_TRANSACTION_MAXFEE = 0.1 * COIN; 50 | static const CAmount MIN_CHANGE = CENT; 51 | //! -txconfirmtarget default 52 | static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 2; 53 | +//! -optintofullrbf default 54 | +static const bool DEFAULT_OPT_INTO_FULL_RBF = true;
MarcoFalke commented at 2:02 PM on November 29, 2015:Could this make sense as a separate PR with
DEFAULT_OPT_INTO_FULL_RBF = false?
btcdrak commented at 2:17 PM on November 29, 2015:Yes. This PR is uncontroversial if this value defaults to false since we're just adding command line configuration options.
MarcoFalke locked this on Sep 8, 2021
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:15 UTC
More mirrored repositories can be found on mirror.b10c.me