Transaction expiration should be based on the most recent transaction in a group, not the first

Posted by ArmchairCryptologist

Jan 31, 2025/12:02 UTC

The discussion initiated by ArmchairCryptologist revolves around the current relevance of expiration-based mempool eviction within the Bitcoin network. The concern raised is based on observations that unconfirmed transactions, some lingering for months, are eventually being processed without any apparent attempts at exploitation. This scenario leads to questioning the necessity and desirability of continuing with a mechanism that seemingly only adds to the computational and bandwidth overhead by evicting and later re-accepting these transactions.

The writer points out that reliance on the disappearance of unconfirmed transactions has always been flawed due to the inability to prevent them from being rebroadcast unless one of the inputs is double-spent. Furthermore, the introduction of full Replace-By-Fee (RBF) policies undermines any theoretical basis for expecting unconfirmed transactions to vanish permanently. Given that the size of the mempool inherently limits its capacity, the argument suggests that the existing practice of expiration-based eviction might be redundant or even counterproductive.

One potential downside mentioned is the current limitation of the abandontransaction function, which cannot operate on transactions residing within the mempool. However, this issue is proposed to be addressable by enhancing the function to allow for the eviction of specific transactions from a node's local mempool as needed. This suggestion implies a preference for targeted intervention over a blanket eviction policy, hinting at a more nuanced approach to managing mempool dynamics in light of evolving network behaviors and capabilities.

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