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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
Return-Path: <jeremy.l.rubin@gmail.com>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
by lists.linuxfoundation.org (Postfix) with ESMTP id 23DB9C002D
for <bitcoin-dev@lists.linuxfoundation.org>;
Thu, 28 Apr 2022 12:23:47 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp3.osuosl.org (Postfix) with ESMTP id 2028B60AFC
for <bitcoin-dev@lists.linuxfoundation.org>;
Thu, 28 Apr 2022 12:23:47 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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,
HTML_MESSAGE=0.001, 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 WyvDSw9J0BjG
for <bitcoin-dev@lists.linuxfoundation.org>;
Thu, 28 Apr 2022 12:23:46 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com
[IPv6:2a00:1450:4864:20::136])
by smtp3.osuosl.org (Postfix) with ESMTPS id DFDA860670
for <bitcoin-dev@lists.linuxfoundation.org>;
Thu, 28 Apr 2022 12:23:45 +0000 (UTC)
Received: by mail-lf1-x136.google.com with SMTP id k12so8279770lfr.9
for <bitcoin-dev@lists.linuxfoundation.org>;
Thu, 28 Apr 2022 05:23:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=SgNinMMPcK6vmkI71aCcmcCPlLzSlKqEiw8iVfnvDnE=;
b=W6KR8nR4XBm5/67uvLpQoFpQH6tr2YgYfo3sw+mS8e0p5VKv1pKoKooeqDtClv+YON
rKArTKelmEKORy6xh5JM0aDDRksmw/CNtv+o1yjrQrAzMqaJYLvYEdTA/WIrlzoRv+L+
9Dr8VEtpr3gx8ywEkX4oltaePGXSarjXtlRFvqX6vEjayboJfa9rMd2IxlzIUpUJX34Y
IuIelWWFCHYMzStqPzXkq5nT4gNasv0FkeW+ZDngWEqIQaeEerEeWwBE0wIqB4VqJSr3
pPImIXv8GomulruHjRkz8HKsOjxLbh/8E+80ZxXqTWX2iImqqvs0W6aK6oemS3GhTCQn
5EZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=SgNinMMPcK6vmkI71aCcmcCPlLzSlKqEiw8iVfnvDnE=;
b=C+Muuzqjt3MDZR+AytRiK1RNqVD5Ww/EszexmgZzO2XqR0j3Fu32zzaifJLfAm5ozH
lGEq7x6p5/nZaWUHAEc3XgSHmrg+v321gR3DwOI9P8jrYzVCcKzIzuu1eGFUP+2RZ33Z
jbn0rJuq7wofNCnUDtMDbxXdUG1qaPUTwusXwBMq4cdR6Vd7oH2wagCgQcV/mq49GW86
Ur/Xi59rEoLJNlaQr3k0gruD34vpOPwlWM4A1+BOkugSgBERyuZsZhxR0G/TmCa4WYS6
0s0ZzJ1VEwO0rLhTpBcclJiTpcVLWhfWKXbU92QGhN/ep3G8QJRZvXINR0PBxsPw4dv3
viag==
X-Gm-Message-State: AOAM5315isgsbPIi2JjmtPKtCW6/9QQHGY/bQrixhWdnbOZc4pBGmUXw
pLfLmsyVDda9Dz9ecC8kQxK13aiRwslLmqiMMWG3QtR0Chg=
X-Google-Smtp-Source: ABdhPJyqn4EsGPuMc3ooNC+Fh0WYs37Szg+C97ntYVPH28lTvnM1NzO/+aSPTdJMohR9xYdDAeAD0Qg6nvGua3BKfus=
X-Received: by 2002:a05:6512:1112:b0:471:a77b:abe6 with SMTP id
l18-20020a056512111200b00471a77babe6mr23841055lfg.262.1651148623566; Thu, 28
Apr 2022 05:23:43 -0700 (PDT)
MIME-Version: 1.0
References: <CAD5xwhhv2zN3fjzFS1KRoKKZTJi_RUSHCm_FS7WWfazudVVVvg@mail.gmail.com>
<20220420023107.GA6061@erisian.com.au>
In-Reply-To: <20220420023107.GA6061@erisian.com.au>
From: Jeremy Rubin <jeremy.l.rubin@gmail.com>
Date: Thu, 28 Apr 2022 05:23:32 -0700
Message-ID: <CAD5xwhg70tBHPL1yx0p6ePnhaWYMjSwzYZwihaJES3wUdnHY_Q@mail.gmail.com>
To: Anthony Towns <aj@erisian.com.au>
Content-Type: multipart/alternative; boundary="0000000000002ddadf05ddb5ffce"
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] CTV Signet Parameters
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: Thu, 28 Apr 2022 12:23:47 -0000
--0000000000002ddadf05ddb5ffce
Content-Type: text/plain; charset="UTF-8"
Sorry I didn't see this snippet fully earlier, but I caught it in Optech
(cc harding)
> *(I didn't think DROP/1 is necessary here? Doesn't leaving the 32 byte*
> *hash on the stack evaluate as true? I guess that means everyone's using**sapio to
> construct the txs?)*
Not quite: it would mean that everyone is using *sapio-miniscript**, *which
may or may not be in Sapio, or they are using a different miniscript
implementation that is compatible with sapio-miniscript's CTV fragment
(which is sort of the most obvious way to implement it), or they are hand
writing the script and are still using that fragment.
E.g., you can see
https://min.sc/nextc/#gist=001cf1fcb0e24ca9f3614c4db9bfe57d:2 or
https://min.sc/nextc/#gist=001cf1fcb0e24ca9f3614c4db9bfe57d:0 both of these
might "look" like sapio, but are built using minsc.
The underlying point might still stand, but using miniscript seems
different than using Sapio.
--0000000000002ddadf05ddb5ffce
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div class=3D"gmail_default" style=3D"font-family:ari=
al,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Sorry I didn'=
t see this snippet fully earlier, but I caught it in Optech (cc harding)</d=
iv></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-=
color:rgb(204,204,204);padding-left:1ex"><i>(I didn't think DROP/1 is n=
ecessary here? Doesn't leaving the 32 byte<br></i><i>hash on the stack =
evaluate as true?<b> I guess that means everyone's using<br></b></i><i>=
<b><span class=3D"gmail-il">sapio</span><span class=3D"gmail-Apple-converte=
d-space">=C2=A0</span></b>to construct the txs?)</i></blockquote><div><i><b=
r></i></div><span class=3D"gmail_default" style=3D"font-size:small">Not qui=
te: it would mean that everyone is using <i>sapio-miniscript</i></span><spa=
n class=3D"gmail_default" style=3D"font-style:italic;font-family:arial,helv=
etica,sans-serif;font-size:small;color:rgb(0,0,0)"></span><span class=3D"gm=
ail_default" style=3D"font-style:italic;font-family:arial,helvetica,sans-se=
rif;font-size:small;color:rgb(0,0,0)"></span><span class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0=
,0,0)"><i>, </i>which may or may not be in Sapio, or they are using a diffe=
rent miniscript implementation that is compatible with sapio-miniscript'=
;s CTV fragment (which is sort of the most obvious way to implement it), or=
they are hand writing the script and are still using that fragment.</span>=
<div><span class=3D"gmail_default" style=3D"font-family:arial,helvetica,san=
s-serif;font-size:small;color:rgb(0,0,0)"><br></span></div><div><span class=
=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-siz=
e:small;color:rgb(0,0,0)">E.g., you can see=C2=A0<a href=3D"https://min.sc/=
nextc/#gist=3D001cf1fcb0e24ca9f3614c4db9bfe57d:2">https://min.sc/nextc/#gis=
t=3D001cf1fcb0e24ca9f3614c4db9bfe57d:2</a> or=C2=A0<a href=3D"https://min.s=
c/nextc/#gist=3D001cf1fcb0e24ca9f3614c4db9bfe57d:0">https://min.sc/nextc/#g=
ist=3D001cf1fcb0e24ca9f3614c4db9bfe57d:0</a>=C2=A0</span><span style=3D"col=
or:rgb(0,0,0);font-family:arial,helvetica,sans-serif">both of these might &=
quot;look" like sapio, but are built using minsc.</span></div><div><sp=
an style=3D"color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></=
span></div><span class=3D"gmail_default" style=3D"font-size:small">The unde=
rlying point might still stand, but using miniscript seems different than u=
sing Sapio.</span><span class=3D"gmail_default" style=3D"font-family:arial,=
helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"></span><div><br></di=
v></div>
--0000000000002ddadf05ddb5ffce--
|