Re: [bitcoin-dev] OP_PUSH_KEY_* & BIP-118 0x01 Pun

2022-01-12 Thread Jeremy via bitcoin-dev
Note: BIP-118 as-is enables something similar to OP_PUSH_KEY_INTERNAL_TAGGED via the following script fragment: witness: program: DUP 0x01 CHECKSIG SWAP DUP TOALTSTACK CHECKSIG FROMALTSTACK It's unclear how useful this might be, since the signature already covers the transaction. --

[bitcoin-dev] OP_PUSH_KEY_* & BIP-118 0x01 Pun

2022-01-12 Thread Jeremy via bitcoin-dev
Hi Devs, Two small transaction introspection opcodes that are worth considering are OP_PUSH_KEY_INTERNAL or OP_PUSH_KEY_EXTERNAL which can return the taproot key for the current input. While the internal key could be included in the tree already, and this is just a performance improvement, the