This issue will be edited frequently to reflect the current status of the project.
What is ready for review now?
:point_down: :point_down: :point_down: #31397 :point_up: :point_up: :point_up:
Tasks and PRs
:ballot_box_with_check: (1) multi-parent-1-child package validation
What we get: the ability to validate multiple transactions, including CPFP of transactions below the mempool minimum feerate. An RPC to submit things locally.
- Enable validation of multiple transactions in MemPoolAccept
- Enable package CPFP
- RPC access
- Fuzzing and bug fixes
:ballot_box_with_check: (2) Policy-Related Features: TRUC and limited package RBF
What we get: an opt-in policy for anti-pinning in single transaction or 1-parent-1-child package scenarios. Also, package CPFP of 0-fee parent and package RBF for restricted topologies prior to cluster mempool.
:ballot_box_with_check: (2a) Topologically Restricted Until Confirmation (v3) transaction policy
Note: BIP 431 isn’t part of package relay. It just represents the topology for which we can build these features, i.e. bumping 0-fee parents and package RBF, without cluster mempool. It is also more robust for applications that would seek to use 1p1c package relay. Also see #29319 for its role in cluster mempool.
- Main feature: #28948
- Followup: #29424
- Sibling Eviction: #29306
- Decrease max vsize: #29873
- Enable v3 on mainnet: #29496
- Followup: #30272
- Docs: https://github.com/bitcoin/bips/pull/1541
:ballot_box_with_check: (2b) Package RBF for cluster size 2
- Enable Package RBF for 1-parent-1-child situations
Also see: Ephemeral Dust and Pay To Anchor (P2A) aka Ephemeral Anchors
:ballot_box_with_check: (3) 1-parent-1-child package relay
What we get: package relay of 1-parent-1-child packages. Protocols like LN can use this to create 0-fee presigned transactions with a single, 0-value anchor output; 0-fee commitment transactions can replace each other using the fees of the child attached to the anchor. This should provide an adequate replacement for CPFP carve out, which is helpful for the next step (see #29319).
- Opportunistically submit 1-parent-1-child packages
(4) TxDownloadManager and orphan-handling improvements
All of this code directly contributes to package relay, whether it’s BIP 331 or a different protocol.
- Modularize TxDownloadManager + testing
- Make orphanage more robust. See known orphanage problems.
(5) more general package relay
Goals: propagate incentive-compatible packages that are more compelx than 1p1c, safely evaluate replacements within packages, handle orphans better.
This is deferred until #30289 is completed. Handling arbitrary ancestor packages (i.e. beyond 1p1c or child-with-parents-tree) is very complex. Also, there are various higher-priority issues with mempool that make accepting packages more difficult to reason about, and that we should fix before adding more general package relay.
- Package validation and package RBF with less restrictive topologies
- BIP 331 ancestor package relay for orphan-handling
- BIP: bitcoin/bips/pull/1382
- #27742
- ancestor set + prefix?
- sender-initiated package relay protocol using chunks (?)
Superseded/Deferred Work
Prehistory