aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-16 08:09:18 +0100
committerfanquake <fanquake@gmail.com>2022-06-16 08:09:34 +0100
commitd6832217ef45ea0c858e3fcdec5d4fe87097c839 (patch)
tree6b08d3307f47031050ca49b8006f4b7c5984bb46 /doc
parent51eebe082d0d5542ba10a470ee44dfcbd1f2d7e7 (diff)
parent2224bcabc432ecaadd7cadda90ab41f0f455432c (diff)
downloadbitcoin-d6832217ef45ea0c858e3fcdec5d4fe87097c839.tar.xz
Merge bitcoin/bitcoin#25382: doc requirement that replacement must have higher feerate than direct conflicts
2224bcabc432ecaadd7cadda90ab41f0f455432c [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: https://github.com/bitcoin/bitcoin/pull/25038#discussion_r889064935 ACKs for top commit: laanwj: ACK 2224bcabc432ecaadd7cadda90ab41f0f455432c w0xlt: ACK https://github.com/bitcoin/bitcoin/pull/25382/commits/2224bcabc432ecaadd7cadda90ab41f0f455432c darosior: ACK 2224bcabc432ecaadd7cadda90ab41f0f455432c ariard: ACK 2224bcab t-bast: ACK https://github.com/bitcoin/bitcoin/pull/25382/commits/2224bcabc432ecaadd7cadda90ab41f0f455432c Tree-SHA512: 0d3915100973b66d115c3294f3037d0c5473c00236c8823a4b2fe12ff172457af56c295b41ac0ef983de030f40f0817c046bb486bf60a5a593d1c4524fe1b9d2
Diffstat (limited to 'doc')
-rw-r--r--doc/policy/mempool-replacements.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/policy/mempool-replacements.md b/doc/policy/mempool-replacements.md
index 3e844f8d7b..18f08daf88 100644
--- a/doc/policy/mempool-replacements.md
+++ b/doc/policy/mempool-replacements.md
@@ -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
+ transactions.
+
+ *Rationale*: This rule was originally intended to ensure that the replacement transaction is
+ preferable for block-inclusion, compared to what would be removed from the mempool. This rule
+ predates ancestor feerate-based transaction selection.
+
This set of rules is similar but distinct from BIP125.
## History