Examining ScriptPubkeys in Bitcoin Script

Posted by Brandon Black

Oct 20, 2023/14:19 UTC

The email discusses a proposed alternative direction to the OP_UNVAULT method, which replaces a specific leaf in the taptree in a specific way. The benefits of using OP_UNVAULT are highlighted, including the ability to unvault multiple inputs sharing the same scriptPubkey to the same output. The need for this alternative approach is acknowledged, and it was sparked by discussions about the advantages of using OP_CAT or OP_2SHA256 for BitVM.

The sender suggests using OP_TAGGEDCATHASH instead, which involves popping a tag (where an empty tag can be treated as a special case for plain sha256) and a number of elements to hash. This method would then tagged-hash the following 'n' elements from the stack.

Overall, the email implies that the sender agrees with the proposed alternative direction and believes it addresses the desired functionality. They sign off with their name, Brandon.

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