Elichai Turkel [ARCHIVE] on Nostr: ๐
Original date posted:2019-08-09 ๐ Original message:Hi, I want to add to John ...
๐
Original date posted:2019-08-09
๐ Original message:Hi,
I want to add to John Newbery's suggestion of using implicit even/odd only
public keys and tweaked public keys in taproot and suggest the following:
If everything is implicit then the only reason for the first byte of the
control block(`c[0]`) is the tapscript leaf version.
I suggest that this is moved to be the first OP_CODE of the tapscript
itself (i.e. OP_0/OP_1 etc.)
That way having the script *tells* you what does it mean without needing to
check the control block.
That way there's a separation between the tapscript+leaf version and the
control block being the merkle path to the script.
--
PGP: 5607C93B5F86650C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20190809/8b965583/attachment.html>
Published at
2023-06-07 18:20:16Event JSON
{
"id": "78c4d1cc78e5a6b36aa73fd06ea3ba69e06ea0a060ab00205ce541035c9b1d4a",
"pubkey": "25fb72b4fbafb76dbded22a68e588ed20064e76c6365e990dabdd4113ae24c69",
"created_at": 1686162016,
"kind": 1,
"tags": [
[
"e",
"2411dceef26614c5032cf327a532e662467c887d060e45655bba5c800c08457e",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "๐
Original date posted:2019-08-09\n๐ Original message:Hi,\nI want to add to John Newbery's suggestion of using implicit even/odd only\npublic keys and tweaked public keys in taproot and suggest the following:\n\nIf everything is implicit then the only reason for the first byte of the\ncontrol block(`c[0]`) is the tapscript leaf version.\nI suggest that this is moved to be the first OP_CODE of the tapscript\nitself (i.e. OP_0/OP_1 etc.)\nThat way having the script *tells* you what does it mean without needing to\ncheck the control block.\nThat way there's a separation between the tapscript+leaf version and the\ncontrol block being the merkle path to the script.\n-- \nPGP: 5607C93B5F86650C\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20190809/8b965583/attachment.html\u003e",
"sig": "9b2090cb8f46ed64e10fd8ae4e091f34d972fd297532eaf5e7798d5413b633cc6f240c4e7b90666b3d2018843270e83dd8a29746b6a172862cf3c9987763d377"
}