delvingbitcoin

Segwit Ephemeral Anchors

Segwit Ephemeral Anchors

Original Postby stevenroose

Posted on: November 13, 2023 15:38 UTC

The discussion revolves around the intricacies of implementing a Taproot-version witness program, specifically a version 1 (v1) witness program.

The proposal under consideration suggests standardizing a v1 witness program that contains a single byte. This is exemplified by the scriptPubKey format OP_1 OP_PUSHBYTES_1 0x42. A significant point raised concerns the consensus rules associated with the size of v1 witness programs. It is mentioned that, according to consensus, any v1 program that does not adhere to a 32-byte size is deemed as anyone-can-spend. This highlights the nuanced understanding required in the implementation and standardization of such programs, particularly regarding their malleability and security implications. The conversation points towards the need for clarity on how non-32-byte v1 witness programs are treated within the consensus mechanism, emphasizing the importance of precise specifications to avoid potential vulnerabilities or misunderstandings in the system's operation.