Combined CTV/APO into minimal TXHASH+CSFS

Posted by reardencode

Aug 27, 2023/13:37 UTC

The discussion emphasizes the minimal practical differences between softforking to introduce a new opcode and softforking for enabling new argument-based behavior. It highlights that regardless of the approach, updates are necessary, deployment of the fork is required, and the benefits in terms of code savings on the Core side are considered minor. The conversation suggests that focusing on avoiding additional opcodes in upgrades might not be a beneficial overarching goal. Instead, it proposes the idea of defining an OP_TEMPLATEHASH that only requires a numeric mode argument from the stack, presenting it as a more sensible option compared to an upgradable OP_TXHASH. This perspective stems from a desire to avoid creating overly complex and lengthy scripts that are difficult to understand and maintain.

There's a consensus on the importance of maintaining simplicity and clarity in script functionalities to ensure they can be effectively used for concrete verification purposes. The dialogue introduces the concept of Concrete Scriptable Functionality Sets (CSFS) by mentioning potential applications such as key delegation and possibly federations, although it acknowledges a lack of deep understanding or examples beyond these initial thoughts. The utility of CSFS is questioned unless it significantly aids in the unification of BIP 118 and 119, suggesting that activating both as they are might be more straightforward.

Examples of how CSFS could be employed are shared, illustrating basic lock and unlock mechanisms through a combination of operations designed to demonstrate key delegation. These examples serve to provide a tangible sense of how CSFS might be utilized in practice, despite the acknowledged need for further exploration into other possible use cases. This part of the conversation underlines an openness to discovering additional applications for CSFS, indicating that the current understanding and examples represent just the starting point of a broader investigation into its potential functionalities.

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