mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-09 21:47:34 +01:00
Merge bitcoin/bitcoin#30072: refactor prep for package rbf
2fd34ba504Add sanity checks for various ATMPArgs booleans (Greg Sanders)20d8936d8b[refactor] make some members MemPoolAccept-wide (glozow)cbbfe719b2cpfp carveout is excluded in packages (glozow)69f7ab05baAdd m_allow_sibling_eviction as separate ATMPArgs flag (Greg Sanders)57ee3029ddAdd description for m_test_accept (Greg Sanders) Pull request description: First few commits of https://github.com/bitcoin/bitcoin/pull/28984 to set the stage for the package RBF logic. These refactors are preparation for evaluating an RBF in a multi-proposed-transaction context instead of only a single proposed transaction. Also, carveouts and sibling evictions only should work in single RBF cases so add logic to preclude multi-tx cases in the future. No behavior changes aside from bailing earlier from failed carve-outs. ACKs for top commit: glozow: reACK2fd34ba504via range-diff sr-gi: utACK [2fd34ba](2fd34ba504) theStack: re-ACK2fd34ba504Tree-SHA512: 5071c5b8d9b8d2c9faa278c8c4df31de288cb407a68e4d55544c588caff6c86160cce7825453549c6ed69e29d9ccb5ee2d4a518b18f563bfb12f2ced073fe42a
This commit is contained in:
@@ -48,8 +48,13 @@ The following rules are enforced for all packages:
|
||||
heavily connected, i.e. some transaction in the package is the ancestor or descendant of all
|
||||
the other transactions.
|
||||
|
||||
The following rules are only enforced for packages to be submitted to the mempool (not enforced for
|
||||
test accepts):
|
||||
* [CPFP Carve Out](./mempool-limits.md#CPFP-Carve-Out) is disabled in packaged contexts. (#21800)
|
||||
|
||||
- *Rationale*: This carve out cannot be accurately applied when there are multiple transactions'
|
||||
ancestors and descendants being considered at the same time.
|
||||
|
||||
The following rules are only enforced for packages to be submitted to the mempool (not
|
||||
enforced for test accepts):
|
||||
|
||||
* Packages must be child-with-unconfirmed-parents packages. This also means packages must contain at
|
||||
least 2 transactions. (#22674)
|
||||
|
||||
Reference in New Issue
Block a user