"Recursive covenant" with CTV and CSFS

Posted by Anthony Towns

Mar 5, 2025/00:01 UTC

Recent discussions on Twitter have highlighted proposals for the near-term activation of CheckTemplateVerify (CTV) and CheckSigFromStack (CSFS), as indicated by BIP 119 and BIP 348 respectively. Various individuals, including Jeremy Rubin and Jameson Lopp, have shared their thoughts through links to their tweets, suggesting a significant interest in these Bitcoin Improvement Proposals. These proposals aim to introduce new functionalities to the Bitcoin protocol, with CTV focusing on covenants and CSFS enabling more flexible verification methods.

A notable point of contention is whether the combination of CSFS and CTV could inadvertently allow for the creation of recursive covenants, despite BIP 119's goal to prevent such structures. A practical demonstration provided via a link to MutinyNet showcases how these recursive covenants can be constructed using a combination of tapscript and specific hash calculations. This example raises questions about the readiness of the ecosystem for such changes, especially considering the technical challenges involved in implementing these features.

Critics argue that BIP 119's motivation, which is centered around avoiding recursive covenants, might be misguided. The definition of covenants used within BIP 119, the focus on preventing unbounded recursion rather than recursion per se, and the claim that covenants are widely considered unfit for Bitcoin without substantial evidence are points of debate. These criticisms suggest that an update to BIP 119's motivation section could improve its alignment with practical implications and community perspectives.

Furthermore, the conversation extends into the potential applications of these proposals beyond theoretical concerns. For instance, the use of CTV and CSFS in facilitating "blind-merged-mining" for spacechains highlights a practical application where these features could provide tangible benefits. Such uses demonstrate the broader implications of these BIPs for Bitcoin’s functionality and the innovative possibilities they may unlock.

In terms of technical implementation, alternatives like bllsh propose providing similar functionalities through different mechanisms, such as custom transaction message hashing for SIGHASH flags. This approach suggests a broader consideration of how to achieve desired outcomes in Bitcoin's script capabilities without being confined to specific BIP implementations.

The discussion encapsulates a broader debate within the Bitcoin development community regarding the pace of innovation, the necessity of certain features, and the best paths forward for protocol enhancements. While some advocate for cautious, incremental improvements, others see value in exploring and implementing more radical changes that could expand Bitcoin's utility and operational paradigms.

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