Skip to content

Conversation

glozow
Copy link
Member

@glozow glozow commented Jun 15, 2022

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)

@laanwj laanwj added the Docs label Jun 15, 2022
@instagibbs
Copy link
Member

ACK on text, probably don't want duplicate tests though

@DrahtBot
Copy link
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #25353 (Add a -fullrbf node setting by ariard)
  • #22867 (test: Extend test coverage of BIP125 and document confusing/inconsistent behavior by mjdietzx)

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.

@glozow glozow force-pushed the 2022-06-rbf-feerate-rule branch from dedfdda to 2224bca Compare June 15, 2022 19:24
Copy link
Contributor

@w0xlt w0xlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2224bca

@laanwj
Copy link
Member

laanwj commented Jun 15, 2022

ACK 2224bca
Might want to update the PR title for removing the test.

@sdaftuar
Copy link
Member

ACK

Copy link
Member

@darosior darosior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2224bca

Should have catched it in #23711 :/

Copy link

@ariard ariard left a 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
Copy link

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)

Copy link
Contributor

@t-bast t-bast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 2224bca

@fanquake fanquake changed the title doc and test requirement that replacement must have higher feerate than direct conflicts doc requirement that replacement must have higher feerate than direct conflicts Jun 16, 2022
@fanquake fanquake merged commit d683221 into bitcoin:master Jun 16, 2022
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jun 16, 2022
…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
@fanquake fanquake added this to the 24.0 milestone Sep 15, 2022
@bitcoin bitcoin locked and limited conversation to collaborators Sep 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants