Disposing of "dust attack" UTXOs

Posted by nothingmuch

Mar 31, 2026/14:27 UTC

The examination of the SIGHASH_NONE|SIGHASH_ANYONECANPAY signature flag reveals potential efficiency gains in Bitcoin transaction management, particularly concerning dust disposal. By employing this approach, miners can integrate such transactions with zero overhead into other transactions already flagged as ANYONECANPAY. This integration could remove additional burdens like locktime versions and empty OP_RETURN outputs, thereby streamlining the process and potentially increasing on-chain efficiency without worsening any existing issues.

A further refinement suggested involves creating a policy carveout for transactions that consist of a single input and an empty OP_RETURN output. Such a policy would promote even smaller transaction sizes and maintain the current level of DoS risk. The proposal seems to emphasize optimizing how dust disposal transactions are handled by focusing on efficiency without additional system vulnerabilities.

Additionally, there's a discussion about the implications of mempool management and transaction replacement policies. With the knowledge of an ANYONECANPAY signature, various combinations of dust outputs can be created, leading to a vast number of potential transactions (2^n - 1) that could congest networks and delay block propagation. The suggestion is to limit these to just `$n$ distinct transactions by enforcing a policy where only single-input transactions are broadcast. This adjustment could simplify the current system, reducing the possibilities for DoS attacks through strategic transaction constructions and the exponential bandwidth costs associated with managing numerous transaction combinations.

The concept of client-side aggregation and mempool management was also touched upon, suggesting that while immediate changes can positively impact, long-term solutions involving policy adjustments could further enhance system efficiency while mitigating risks like transaction spamming and network delays. Implementation of such changes would require careful consideration of their impacts on transaction processing times and overall network health.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

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

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

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

Give Feedback