-
Notifications
You must be signed in to change notification settings - Fork 390
[0.17] Full RBF support #481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK, with caveat
@@ -276,6 +276,8 @@ enum ServiceFlags : uint64_t { | |||
// collisions and other cases where nodes may be advertising a service they | |||
// do not actually support. Other service bits should be allocated via the | |||
// BIP process. | |||
|
|||
NODE_REPLACE_BY_FEE = (1 << 26), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this makes sense if the entire network (or even most of it) will be expected to enable full RBF.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Although note that this PR does NOT currently enable full RBF by default...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct. I wanted something as minimal as possible, such that nodes could opt-out(of honoring non-rbf).
Perhaps this flag is over-kill, but 🤷♂️
c00d83f Set walletrbf default to 1 (Gregory Sanders) 0853a23 Make it possible to unconditionally RBF with mempoolreplacement=fee,-optin (Luke Dashjr) d0cccad Recognise temporary REPLACE_BY_FEE service bit (Luke Dashjr) Pull request description: Setting `-mempoolreplacement=fee,-optin` will cause the node to honor any RBF replacements even if they had the opt-out flags set. This also sets the default for the wallet to create bip125-signaling transactions. Tree-SHA512: 04ecc010b6255b5346357f831609702a8a33531fb21e83e061b19945b4a83afe2e5bd82b6602e04394871d9f0c074c54847ff4616930bcd2c17f3c3ddd808fae
Setting
-mempoolreplacement=fee,-optin
will cause the node to honor any RBF replacements even if they had the opt-out flags set.This also sets the default for the wallet to create bip125-signaling transactions.