Post-clustermempool package RBF: per-chunk processing

Posted by instagibbs

Nov 22, 2023/17:03 UTC

The process of deduplication in package transactions (PKG) involves the removal of any transaction that is already present in the receiver's mempool. This step prompts a contemplation on whether it would be practical to treat transactions with the same transaction ID but different witness transaction IDs as replace-by-fee (RBF) conflicts. Currently, when such a scenario arises, the new transaction is discarded, and the existing witness transaction ID in the mempool is reported. The proposal suggests an approach for handling post-cluster mempool conflicts by comparing the sizes of the conflicting transactions. If the incoming transaction is larger than the one already present, it should be deduplicated with the smaller one. Conversely, if the incoming transaction is smaller and meets the new chunk's RBF rules, then replacing the witness transaction ID seems to be a natural solution without necessitating free relay. This method also has the advantage of favoring smaller witnesses for relay purposes, which could mitigate the effects of witness stuffing, such as during a coinjoin, by preferring transactions with smaller witnesses.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback