Anthony Towns [ARCHIVE] on Nostr: 📅 Original date posted:2019-10-01 📝 Original message: On Mon, Sep 30, 2019 at ...
📅 Original date posted:2019-10-01
📝 Original message:
On Mon, Sep 30, 2019 at 11:28:43PM +0000, ZmnSCPxj via bitcoin-dev wrote:
> Suppose rather than `SIGHASH_NOINPUT`, we created a new opcode, `OP_CHECKSIG_WITHOUT_INPUT`.
I don't think there's any meaningful difference between making a new
opcode and making a new tapscript public key type; the difference is
just one of encoding:
3301<key>AC [CHECKSIG of public key type 0x01]
32<key>B3 [CHECKSIG_WITHOUT_INPUT (replacing NOP4) of key]
> This new opcode ignores any `SIGHASH` flags, if present, on a signature,
(How sighash flags are treated can be redefined by new public key types;
if that's not obvious already)
Cheers,
aj
Published at
2023-06-09 12:56:21Event JSON
{
"id": "b495eec5b883405de2c18eb172e4086e5a460b7a518067fb09cb4292d5d45c5e",
"pubkey": "f0feda6ad58ea9f486e469f87b3b9996494363a26982b864667c5d8acb0542ab",
"created_at": 1686315381,
"kind": 1,
"tags": [
[
"e",
"cdcb20d8f8d63cc4e462299d7b2042087b535b172c963061dbb6929331fffa55",
"",
"root"
],
[
"e",
"81efa3f9779d63155745bb194242152eaf59305366d356f7d3a0c4a0f36cca01",
"",
"reply"
],
[
"p",
"72cd40332ec782dd0a7f63acb03e3b6fdafa6d91bd1b6125cd8b7117a1bb8057"
]
],
"content": "📅 Original date posted:2019-10-01\n📝 Original message:\nOn Mon, Sep 30, 2019 at 11:28:43PM +0000, ZmnSCPxj via bitcoin-dev wrote:\n\u003e Suppose rather than `SIGHASH_NOINPUT`, we created a new opcode, `OP_CHECKSIG_WITHOUT_INPUT`.\n\nI don't think there's any meaningful difference between making a new\nopcode and making a new tapscript public key type; the difference is\njust one of encoding:\n\n 3301\u003ckey\u003eAC [CHECKSIG of public key type 0x01]\n 32\u003ckey\u003eB3 [CHECKSIG_WITHOUT_INPUT (replacing NOP4) of key]\n\n\u003e This new opcode ignores any `SIGHASH` flags, if present, on a signature,\n\n(How sighash flags are treated can be redefined by new public key types;\nif that's not obvious already)\n\nCheers,\naj",
"sig": "a3eddb6411543b682d58e5398e67a6665ebac07cbcf27f306e0f8633caa1e4353f6fed400cd0e094475b8c31ff42151878c188302685e0aa39e2a31088d83bdf"
}