Input-triggered transaction expiry

Posted by josh

Jun 29, 2026/01:13 UTC

The exploration of input-triggered transaction expiry as a consensus mechanism introduces several innovative applications while addressing the limitations of classical expiry methods such as OP_EXPIRE. This approach, which involves setting a specific bit in nSequence to enforce a height-based relative timelock and using nLockTime, ensures that transactions expire if an input is mined too late. This method guarantees transaction validity up to a 100-block reorganization and avoids issues related to free relay which were notable concerns in previous models.

One of the primary advantages of this approach is its application in mempool-free HTLC forwarding. It eliminates the need for local-mempool preimage monitoring by allowing transactions to automatically expire, thus simplifying the process and enhancing security. Additionally, it supports the implementation of pseudo contract-level relative timelocks (CLRTs) which are crucial for LN-Symmetry operations. Unlike traditional methods which reset the timelock with every transaction update—potentially delaying operations and locking up liquidity—the input-triggered expiry enables a more streamlined process. This functionally reduces the necessity for extensive consensus changes while still supporting complex channel operation scenarios such as those required by multi-party payment channels.

Furthermore, the detailed construction of these mechanisms involves the use of TEMPLATEHASH and vector commitments, which help in reducing the storage and interactivity requirements typically associated with such setups. By committing to a merkle root of approved windows, the system allows for the verification of signed template hashes without needing to refresh the state as often, thereby streamlining operations and minimizing overhead.

This input-triggered expiry model not only enhances the robustness and efficiency of blockchain operations but also opens up new possibilities for handling transactions within the cryptocurrency networks. The community's ongoing discussion and research into this minimalistic yet powerful change suggest a strong potential for future adoption and optimization, particularly in environments where security and efficiency are paramount. The simplicity of implementing such a model, combined with its resistance to common exploits, makes it a promising area for further exploration and development in the blockchain technology space.

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