Brandon Black [ARCHIVE] on Nostr: 📅 Original date posted:2023-08-22 🗒️ Summary of this message: James ...
📅 Original date posted:2023-08-22
🗒️ Summary of this message: James O'Beirne's input revealed that CTV is cheaper than initially thought. The proposal is slightly larger than CTV when used together in Tapscript.
📝 Original message:
Quick update to the proposal thanks to James O'Beirne: CTV is 2-bytes
less expensive than I thought when used alone. I thought that script
success required exactly OP_TRUE not just a CastToBool()=true value on
the stack.
This means that my proposal is 2 weight units (0.5vBytes) larger than
CTV when both are used in Tapscript.
--Brandon
Published at
2023-08-24 10:13:20Event JSON
{
"id": "f402da1bda1994b545f6d1b49a3842b06e99661b66c3fe453c6059df4f374eb7",
"pubkey": "59909c5ada0189425f58f43a87eeb09131d41d33298de94a994852fa43c25afd",
"created_at": 1692872000,
"kind": 1,
"tags": [
[
"e",
"3026055af17d9f5e8dfafc33dfc07a91593af9fab29b4ff8ff961a9b588408cf",
"",
"root"
],
[
"e",
"de7646dc1ddb79acc9f746b0abc622b965ab3b2e8b25709bb47d58c1646f41d7",
"",
"reply"
],
[
"p",
"59909c5ada0189425f58f43a87eeb09131d41d33298de94a994852fa43c25afd"
]
],
"content": "📅 Original date posted:2023-08-22\n🗒️ Summary of this message: James O'Beirne's input revealed that CTV is cheaper than initially thought. The proposal is slightly larger than CTV when used together in Tapscript.\n📝 Original message:\nQuick update to the proposal thanks to James O'Beirne: CTV is 2-bytes\nless expensive than I thought when used alone. I thought that script\nsuccess required exactly OP_TRUE not just a CastToBool()=true value on\nthe stack.\n\nThis means that my proposal is 2 weight units (0.5vBytes) larger than\nCTV when both are used in Tapscript.\n\n--Brandon",
"sig": "348fe9322512b9a21277333eebe5a5d21f4318ddfaf00d4553873e8445425f4c90d616908b5e0fd3e64add44be91c2ba5d75901eed1ee47775284dd44bb44a0a"
}