Skip to content

Commit 537d3b3

Browse files
committed
merge bitcoin#24310: docs / fixups from RBF and packages
RBF and SegWit-specific changes have been excluded from this backport. excludes: - 5ae187f - d35a3cb
1 parent 8239d5f commit 537d3b3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/policy/packages.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,16 @@ test accepts):
4747

4848
* Packages must be child-with-unconfirmed-parents packages. This also means packages must contain at
4949
least 2 transactions. (#22674)
50+
51+
* Transactions in the package that have the same txid as another transaction already in the mempool
52+
will be removed from the package prior to submission ("deduplication").
53+
54+
- *Rationale*: Node operators are free to set their mempool policies however they please, nodes
55+
may receive transactions in different orders, and malicious counterparties may try to take
56+
advantage of policy differences to pin or delay propagation of transactions. As such, it's
57+
possible for some package transaction(s) to already be in the mempool, and there is no need to
58+
repeat validation for those transactions or double-count them in fees.
59+
60+
- *Rationale*: We want to prevent potential censorship vectors. We should not reject entire
61+
packages because we already have one of the transactions. Also, if an attacker first broadcasts
62+
a competing package, the honest package should still be considered for acceptance.

0 commit comments

Comments
 (0)