/
pythPosted by pyth
Jul 10, 2025/04:50 UTC
The discussion around Bitcoin's 65535-block limit for relative timelocks has sparked curiosity among users of Liana, leading to an exploration of potential methods to extend these timelocks significantly, aiming for durations as long as ~10 years. This initiative stems from the feedback gathered from users who express a need for longer timelock periods, prompting an experimental approach to address this requirement without advocating for immediate changes to the Bitcoin protocol through a soft fork.
A proposed method to achieve extended timelocks involves utilizing bit 21 in the nSequence
field of a transaction to signal a "long" timelock. Specifically, the suggestion includes setting bit 21 while ensuring bit 22 remains unset, which would then interpret the timelock unit as being comprised of 8 blocks instead of just one. This adjustment implies that the duration of timelocks could be effectively multiplied by 8, thereby reaching the target duration of approximately 10 years with minimal modifications necessary to the existing Bitcoin Core codebase. However, there's an acknowledgment of potential oversights due to a limited familiarity with the complete intricacies of the Bitcoin Core's architecture.
To facilitate practical experimentation with this concept, a tool and code modification have been developed. The tool is designed for creating addresses and transactions that adhere to a simple policy allowing anyone to spend the assets after the timelock expires. Interested parties can review the experimental code and tool through the provided links: Code change and Tool.
The discourse surrounding this experiment touches on several critical areas:
This comprehensive examination reflects a cautious yet innovative effort to meet user demands for longer timelock periods in Bitcoin transactions, balancing between technical feasibility and the broader implications for the network and its stakeholders.
TLDR
We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project?
Give Feedback