Proposal: Package Mempool Accept and Package RBF



Summary:

The first context discusses the importance of carefully considering package acceptance policies for layer-two (L2) protocols and revisiting them as necessary. It also covers different pinning attack scenarios and their potential consequences for L2 protocols. The discussion revolves around the acceptance of packages in L2 protocols, with the idea of constraining package acceptance to only confirmed inputs considered limiting and dangerous for L2 protocols. The conversation also touches on the possibility of replacing the witness when it makes sense economically and adding logic to allow package feerate to pay for witness replacements.The second context is about the proposal for a new Bitcoin feature called Package Relay, which aims to optimize the validation and propagation of transactions. The proposed implementation includes rules for package RBF (Replace-By-Fee) and deduplication logic, which allows for efficient utilization of block space. The conversation also touches on the risks associated with batched fee-bumping, as well as the potential performance impact of the proposed changes.The third context is a conversation between Gloria Zhao and Antoine Riard on Bitcoin's mempool acceptance rules, covering issues related to replaceable transactions, multi-parent proposals, package deduplication, and fee-bumping. They discussed implementing witness replacement as a project done in parallel to package mempool acceptance and considered deploying during a first phase of 1-parent/1-child, which is a conservative step still improving secondary layer safety.The fourth context is about Bitcoin Core's mempool policy changes to enable package validation for package relay, with concerns raised by Antoine Riard and Gloria Zhao responding to those concerns. The proposal suggests changes to Bitcoin's mempool policy, enabling packages consisting of multiple parents and one child.The fifth context is about the package RBF protocol, which enables child transactions to pay for their parents' fees within a package, allowing L2 applications to adjust their fees at broadcast time instead of overshooting or risking getting stuck/pinned. The use of new unconfirmed inputs in a package is governed by a set of rules slightly modified from BIP125.The sixth context discusses the Speedy Trial proposal, a new consensus rule for the Bitcoin network proposed by Jeremy Rubin to activate Taproot within six months by allowing miners to signal their readiness through their mining blocks. The proposal has gained support from various Bitcoin developers and industry players, with several pull requests submitted to implement this proposal. However, some critics argue that it gives too much power to miners and could lead to centralization.


Updated on: 2023-06-15T02:07:47.610063+00:00