1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
Return-Path: <jonasdnick@gmail.com>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
by lists.linuxfoundation.org (Postfix) with ESMTP id 1BE49C002F
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 25 Jan 2022 16:23:18 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp3.osuosl.org (Postfix) with ESMTP id 0AF8560E50
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 25 Jan 2022 16:23:18 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.216
X-Spam-Level:
X-Spam-Status: No, score=-2.216 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
NICE_REPLY_A=-0.117, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: smtp3.osuosl.org (amavisd-new);
dkim=pass (2048-bit key) header.d=gmail.com
Received: from smtp3.osuosl.org ([127.0.0.1])
by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id DlEhoL4cMRXq
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 25 Jan 2022 16:23:17 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com
[IPv6:2a00:1450:4864:20::429])
by smtp3.osuosl.org (Postfix) with ESMTPS id 4FE1A60E39
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 25 Jan 2022 16:23:17 +0000 (UTC)
Received: by mail-wr1-x429.google.com with SMTP id v13so20858516wrv.10
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 25 Jan 2022 08:23:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=from:message-id:date:mime-version:user-agent:content-language:to
:references:subject:in-reply-to:content-transfer-encoding;
bh=sJsC3xT+YGzygaBci+FXhFvgH9MeNf1x6Q+fXZBE/tw=;
b=VuCU5ugmtyrzQJ1HepCzRhhJcdMTpuE+8sFez3YQDC/Zh/OduXmjheeuWjSNTt4JPt
FMxcd6/GpTi39MioYrMHlnqx24o/RniaFiPi8OtHkXQXL0C9bY7ZFCiJiM176sFsIJDp
SvgpNnBAP1rq+4zDBJUQT7EbP522mcw4bfajk8aF7Fkl5NpeBdkkUbaUuRZ69b9b7Yxc
qURUazv8mHKGBj23qdZIElbm/lTqewzkIrgWlM59H5cd0w7oOHOuyeDcA1Gudb7vTSd1
1PJihTfea3JtfHPh5+vYfNMMx//X9OIyPQBIMwPvCOk+p+mLfZYEy+V4Be3zsQ3a89AW
T1cA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:from:message-id:date:mime-version:user-agent
:content-language:to:references:subject:in-reply-to
:content-transfer-encoding;
bh=sJsC3xT+YGzygaBci+FXhFvgH9MeNf1x6Q+fXZBE/tw=;
b=bTUsWdBbfknUgF9mZSYf8zvL4ZkTDXVcbi76IteBFHBKwdOAEtPO2J3AzPfgC5g79y
MVsnIZ0qCuUiY+y4BgD6TyXexWbuBRXlJyS4Z1D+lc0GADQvuyi0Ot7Sx9SAUuq2mFCf
f76hXJYYdrvUqKGTTvUcLSE9ohVbCry4WsIuBsNkeFjCOrH9hS0lfSE6D0Tn7Kg9SFWp
HM5ewBgzelHSBUAS2e1lHCuhBqHg73a/lB4uuZM92+5kzDTq1l9w834XtZjoKxvm9o86
MWHdY6FXV+rt7wP6cTPSZzkJruya1iowYGfN6rxWmcjsJCnUphx6Z7YS1Dn6XXe5lxoN
HGVA==
X-Gm-Message-State: AOAM533s2FCc5HUHMXnjqZBOJLIDeuBcrH4jzjGV0MdIDDzuBS+6tuXS
DY0kXBprYPHsiZjclwdKCN4=
X-Google-Smtp-Source: ABdhPJz2KUWbY16pfBZJCb4dCwNg068fdD3WpyQBomUtg3RxBHZfCOkz87zOhZRtHjai8xOXysfPhw==
X-Received: by 2002:a05:6000:1884:: with SMTP id
a4mr19222828wri.316.1643127795498;
Tue, 25 Jan 2022 08:23:15 -0800 (PST)
Received: from [10.12.10.3] (190-2-132-141.hosted-by-worldstream.net.
[190.2.132.141])
by smtp.googlemail.com with ESMTPSA id f8sm1033239wmg.44.2022.01.25.08.23.14
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Tue, 25 Jan 2022 08:23:14 -0800 (PST)
From: Jonas Nick <jonasdnick@gmail.com>
X-Google-Original-From: Jonas Nick <jonasd.nick@gmail.com>
Message-ID: <2b316504-f785-b1b3-9ff9-8d781d6c0d9b@gmail.com>
Date: Tue, 25 Jan 2022 16:24:21 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US-large
To: Lloyd Fournier <lloyd.fourn@gmail.com>, dlc-dev@mailmanlists.org,
Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
References: <CAH5Bsr2vxL3FWXnJTszMQj83jTVdRvvuVpimEfY7JpFCyP1AZA@mail.gmail.com>
In-Reply-To: <CAH5Bsr2vxL3FWXnJTszMQj83jTVdRvvuVpimEfY7JpFCyP1AZA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 25 Jan 2022 16:27:20 +0000
Subject: Re: [bitcoin-dev] [dlc-dev] CTV dramatically improves DLCs
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Jan 2022 16:23:18 -0000
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>).
|