Which ephemeral anchor script should lightning use?

Posted by ariard

Jan 31, 2025/18:00 UTC

The discussion revolves around the optimal approach for handling transactions in a manner that minimizes risks such as transaction hijacking by miners. A key recommendation against employing unkeyed anchors is emphasized due to the associated vulnerabilities highlighted in a detailed analysis found in a Bitcoin development forum post, specifically within section 6.4 titled "transaction traffic hijack and policy exposure surface." This cautionary stance points towards the potential dangers of this method, underlining the need for more secure alternatives.

A viable alternative presented involves allowing each counterparty to manage its own commitment transaction along with a Child Pays for Parent (CPFP) strategy without interference from others. This approach is favored over a straightforward replacement at the root of the Unspent Transaction Output (UTXO) set, suggesting a more nuanced method of transaction management that respects the autonomy of each party involved. Additionally, while other keyed options are deemed somewhat acceptable, there remains a preference for solutions that offer greater security and control.

In terms of fee-bumping delegation, the usage of pre-signed transactions marked with ANYONECANPAY is advocated. This setup permits the delegate and the delegatee to engage in transactions securely, ensuring that the delegator cannot pin or otherwise manipulate the transaction. This recommendation supports a framework where transactions can be conducted with flexibility and safety, emphasizing the importance of carefully considering transaction methods to protect against vulnerabilities such as miner-led hijacking.

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