-
Notifications
You must be signed in to change notification settings - Fork 36.3k
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
[0.12] Rename permitrbf to mempoolreplacement and provide minimal string-list forward compatibility #7440
Conversation
"permit" is currently used to configure transaction filtering, whereas replacement is more to do with the memory pool state than the transaction itself.
Basic forward-compatibility with more flexible parameters like fss
@@ -144,13 +144,13 @@ accepted when it pays sufficient fee, as described in [BIP 125] | |||
(https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki). | |||
|
|||
Transaction replacement can be disabled with a new command line option, | |||
`-permitrbf=false`. Transactions signaling replacement under BIP125 will still |
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.
@sdaftuar Note that "false" and "true" are invalid for boolean options!
I think replacebyfee gives a better description of what this is. |
@sandakersmann The idea is that future or derivative versions may support more replacement logic than merely by fee. The original replacement feature was planned to simply go based on sequence number, but that had DoS risks - RBF solves that, but it's not impossible someone may come up with an alternative solution. Anyway, please use #7431 for comments on the change itself - this PR is merely a backport. |
…e minimal string-list forward compatibility af9f564 release-notes: Update for replacebyfee->mempoolreplacement rename (Luke Dashjr) 4ad418b Rename replacebyfee=opt-in to mempoolreplacement=fee (Luke Dashjr) b2287a7 release-notes: Update for permitrbf->replacebyfee rename (Luke Dashjr) 5f456a6 Simplify check for replacebyfee=opt-in (Luke Dashjr) e8d19ab Accept replacebyfee=opt-in for turning on opt-in RBF (Luke Dashjr) 1205f87 Rename permitrbf to replacebyfee (Luke Dashjr)
Backport of #7431