Jonas Nick [ARCHIVE] on Nostr: π
Original date posted:2022-01-25 π Original message:Thank you, that's an ...
π
Original date posted:2022-01-25
π Original message:Thank you, that's an interesting application of OP_CTV.
Perhaps worth pointing out that this does not require OP_CTV but could also be
enabled by other covenant constructions. For example, it seems like
ANYPREVOUT-based covenants provide similar benefits. The script of the Taproot
leaves could be set to
<sig> <G> CHECKSIGVERIFY <CET_i> CHECKSIGVERIFY
where <sig> is an ANYPREVOUTANYSCRIPT signature of the CET for public key P = G.
When using nonce R = G, signature creation has negligible computational cost (s
= 1 + H(R, P, m)). A downside compared to CTV is the additional overhead of 64
witness bytes (<sig>).
Published at
2023-06-07 23:02:43Event JSON
{
"id": "e359784790454d425df7a614ec8568dd156bd4a7c7db2162650b5b6e4ec6dcf4",
"pubkey": "eae21eb28545b20116d940817b2995954758d0d5511695442681f035faabe60f",
"created_at": 1686178963,
"kind": 1,
"tags": [
[
"e",
"1f87840390c5a48f173f6cbd62a9564db29ee73f943acfab2313fd67f4a71379",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "π
Original date posted:2022-01-25\nπ Original message:Thank you, that's an interesting application of OP_CTV.\n\nPerhaps worth pointing out that this does not require OP_CTV but could also be\nenabled by other covenant constructions. For example, it seems like\nANYPREVOUT-based covenants provide similar benefits. The script of the Taproot\nleaves could be set to\n\n\u003csig\u003e \u003cG\u003e CHECKSIGVERIFY \u003cCET_i\u003e CHECKSIGVERIFY\n\nwhere \u003csig\u003e is an ANYPREVOUTANYSCRIPT signature of the CET for public key P = G.\nWhen using nonce R = G, signature creation has negligible computational cost (s\n= 1 + H(R, P, m)). A downside compared to CTV is the additional overhead of 64\nwitness bytes (\u003csig\u003e).",
"sig": "ad0ab4049efbfa2137fcef984a206f0b58c4bd004237bec803832fcd348318b784e495236a0d13fff8e64228cf0d2f96e5e6ffb8a966b96b05739db8afd488a4"
}