-
Notifications
You must be signed in to change notification settings - Fork 37.7k
doc requirement that replacement must have higher feerate than direct conflicts #25382
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
ACK on text, probably don't want duplicate tests though |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
dedfdda
to
2224bca
Compare
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 2224bca
ACK 2224bca |
ACK |
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.
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 2224bca
@@ -51,6 +51,13 @@ other consensus and policy rules, each of the following conditions are met: | |||
significant portions of the node's mempool using replacements with multiple directly conflicting | |||
transactions, each with large descendant sets. | |||
|
|||
6. The replacement transaction's feerate is greater than the feerates of all directly conflicting |
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.
super-nit: strictly greater :)
I think some L2s stacks are duplicating a bunch of mempools standardness checks in their broadcast backend (at least LDK do so). Allowing to issue replacement transactions which are feerate valid against <=
and you're Game Over (tm). So better than developers understand really well the mempool checks.
(Please don't update the PR for that, not necessary to invalidate previous ACKs)
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 2224bca
…r feerate than direct conflicts 2224bca [doc] RBF feerate rule (glozow) Pull request description: RBF policy requires the replacement transaction have a higher feerate than each of the directly conflicting transactions (see `PaysMoreThanConflicts`). It was pointed out that this rule is undocumented: bitcoin#25038 (comment) ACKs for top commit: laanwj: ACK 2224bca w0xlt: ACK bitcoin@2224bca darosior: ACK 2224bca ariard: ACK 2224bca t-bast: ACK bitcoin@2224bca Tree-SHA512: 0d3915100973b66d115c3294f3037d0c5473c00236c8823a4b2fe12ff172457af56c295b41ac0ef983de030f40f0817c046bb486bf60a5a593d1c4524fe1b9d2
RBF policy requires the replacement transaction have a higher feerate than each of the directly conflicting transactions (see
PaysMoreThanConflicts
).It was pointed out that this rule is undocumented: #25038 (comment)