Skip to content

Commit d683221

Browse files
committed
Merge bitcoin/bitcoin#25382: doc requirement that replacement must have higher 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/bitcoin#25038 (comment) ACKs for top commit: laanwj: ACK 2224bca w0xlt: ACK bitcoin/bitcoin@2224bca darosior: ACK 2224bca ariard: ACK 2224bca t-bast: ACK bitcoin/bitcoin@2224bca Tree-SHA512: 0d3915100973b66d115c3294f3037d0c5473c00236c8823a4b2fe12ff172457af56c295b41ac0ef983de030f40f0817c046bb486bf60a5a593d1c4524fe1b9d2
2 parents 51eebe0 + 2224bca commit d683221

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/policy/mempool-replacements.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ other consensus and policy rules, each of the following conditions are met:
5151
significant portions of the node's mempool using replacements with multiple directly conflicting
5252
transactions, each with large descendant sets.
5353

54+
6. The replacement transaction's feerate is greater than the feerates of all directly conflicting
55+
transactions.
56+
57+
*Rationale*: This rule was originally intended to ensure that the replacement transaction is
58+
preferable for block-inclusion, compared to what would be removed from the mempool. This rule
59+
predates ancestor feerate-based transaction selection.
60+
5461
This set of rules is similar but distinct from BIP125.
5562

5663
## History

0 commit comments

Comments
 (0)