Skip to content

Commit

Permalink
Merge bitcoin/bitcoin#25382: doc requirement that replacement must ha…
Browse files Browse the repository at this point in the history
…ve 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
  • Loading branch information
fanquake committed Jun 16, 2022
2 parents 51eebe0 + 2224bca commit d683221
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/policy/mempool-replacements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d683221

Please sign in to comment.