PaysMoreThanConflicts
).
It was pointed out that this rule is undocumented: #25038 (review)
doc requirement that replacement must have higher feerate than direct conflicts #25382
pull glozow wants to merge 1 commits into bitcoin:master from glozow:2022-06-rbf-feerate-rule changing 1 files +7 −0-
glozow commented at 4:37 pm on June 15, 2022: memberRBF policy requires the replacement transaction have a higher feerate than each of the directly conflicting transactions (see
-
in test/functional/feature_rbf.py:723 in dedfdda7b3 outdated
719@@ -716,5 +720,43 @@ def test_replacement_relay_fee(self): 720 tx.vout[0].nValue -= 1 721 assert_raises_rpc_error(-26, "insufficient fee", self.nodes[0].sendrawtransaction, tx.serialize().hex()) 722 723+ def test_feerate_rule(self):
sdaftuar commented at 4:40 pm on June 15, 2022:Does the test at line 274 (test_replacement_feeperkb
) not already cover this case?
glozow commented at 4:46 pm on June 15, 2022:I guess this test is slightly better since it doesn’t use-acceptnonstdtxn
? 😅 I can delete it though, I mostly wrote it for my own understanding.
sdaftuar commented at 4:48 pm on June 15, 2022:I mean I don’t have a view either way on adding more tests or replacing a test with a better one, just wanted to know if I was missing something! :)laanwj added the label Docs on Jun 15, 2022fanquake requested review from instagibbs on Jun 15, 2022fanquake requested review from darosior on Jun 15, 2022fanquake requested review from t-bast on Jun 15, 2022instagibbs commented at 6:50 pm on June 15, 2022: memberACK on text, probably don’t want duplicate tests thoughDrahtBot commented at 6:54 pm on June 15, 2022: contributorThe 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.
[doc] RBF feerate rule 2224bcabc4glozow force-pushed on Jun 15, 2022w0xlt approvedw0xlt commented at 7:34 pm on June 15, 2022: contributorlaanwj commented at 8:38 pm on June 15, 2022: memberACK 2224bcabc432ecaadd7cadda90ab41f0f455432c Might want to update the PR title for removing the test.sdaftuar commented at 8:42 pm on June 15, 2022: memberACKin doc/policy/mempool-replacements.md:54 in 2224bcabc4
50@@ -51,6 +51,13 @@ other consensus and policy rules, each of the following conditions are met: 51 significant portions of the node's mempool using replacements with multiple directly conflicting 52 transactions, each with large descendant sets. 53 54+6. The replacement transaction's feerate is greater than the feerates of all directly conflicting
ariard commented at 0:18 am on June 16, 2022: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)
ariard approvedariard commented at 0:19 am on June 16, 2022: memberACK 2224bcabt-bast approvedt-bast commented at 6:34 am on June 16, 2022: contributorfanquake renamed this:
doc and test requirement that replacement must have higher feerate than direct conflicts
doc requirement that replacement must have higher feerate than direct conflicts
on Jun 16, 2022fanquake merged this on Jun 16, 2022fanquake closed this on Jun 16, 2022
sidhujag referenced this in commit 457143b0d8 on Jun 16, 2022fanquake added this to the milestone 24.0 on Sep 15, 2022bitcoin locked this on Sep 15, 2023
github-metadata-mirror
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: 2024-12-04 06:12 UTC
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: 2024-12-04 06:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me