delvingbitcoin

Cluster Mempool RBF Thoughts

Cluster Mempool RBF Thoughts

Original Postby instagibbs

Posted on: December 13, 2023 16:10 UTC

The third issue discussed revolves around the challenges faced when implementing a new cluster mempool system, particularly concerning transaction packages and Replace-by-Fee (RBF) attempts.

In scenarios where a transaction package is composed of two transactions—A and B—the feerate diagram might initially appear to be satisfactory. However, complications arise if transaction A is already present in a peer's mempool. When transaction B attempts an RBF, and its validity is assessed based on the feerate diagram rules, it may fail because the peer's starting diagram includes transaction A. This situation points towards a nuanced form of "parent pays for child RBF," where the presence of a parent transaction influences the success of its child's RBF attempt.

Moreover, the approach of evaluating transactions per chunk has its own implications. While it offers some leeway for "parent pays for child RBF," it also leads to a discrepancy between the processing of individual child-pays-for-parent (CPFP) chains and the simultaneous broadcast of entire transaction packages. As developers consider integrating solutions akin to proposal 26711, they are confronted with the trade-off between reducing this asymmetry and the added complexity that such solutions introduce. Furthermore, these complex solutions do not always address the issue of chunk processing, highlighting the ongoing challenges in refining the cluster mempool system for efficient transaction relaying.