summaryrefslogtreecommitdiff
path: root/90/839d5171f2fcee3d399ec21123518c4ebe8836
blob: eddf05b2cbf082e07663f32b96a3b86b1aeb0d13 (plain)
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
Delivery-date: Sat, 23 Nov 2024 11:48:37 -0800
Received: from mail-qt1-f192.google.com ([209.85.160.192])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBAABBDHDRC5AMGQE4QUOJPY@googlegroups.com>)
	id 1tEw7R-0004NR-4C
	for bitcoindev@gnusha.org; Sat, 23 Nov 2024 11:48:37 -0800
Received: by mail-qt1-f192.google.com with SMTP id d75a77b69052e-46363ba4c4fsf50557181cf.0
        for <bitcoindev@gnusha.org>; Sat, 23 Nov 2024 11:48:36 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1732391311; cv=pass;
        d=google.com; s=arc-20240605;
        b=Lni3ISlKObweM2bBwNGEmIvaIaBQ/kYSbTteV8ZIrNMW54i2CW4uR+I9OIOkFv1D2F
         jA+dSVO6Lusl55sviLJlM+2i26TkwaUXQ257b9LNSC8vzmKYBnqBU8G4MrJYoGdM6iBm
         hvjJ4uw2g1IA/LoAo0OuSjkYV2hvqTgJXhI9jxaOnnzfwaezvG5BsBKQGJe9iGu4P8mZ
         2T/epJs4OmeF2UkFpjYf8ZCReUOwkOS2WPbVWQWpl/5tk3s6gI4ESf1YGj03M2v//Pc5
         /5sSoGVSeO6XHUxNP98AMWqhu+lyXMtMM7cib6cCRSH99tMyTJUTcfkU6mXwsEq2C7H/
         jPYA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:content-transfer-encoding
         :mime-version:feedback-id:references:in-reply-to:message-id:subject
         :cc:from:to:date:dkim-signature;
        bh=DftZr5JCe7dGvgCPmFCRRnPf0goNlOHrkSxPvbX3BRg=;
        fh=xkC/Ki4gfCtUhnkEPGfZ1s1ujQNM8JO+eNfGa6N3B0k=;
        b=FgU4VXu8WCUkXKa8jmbiv1+IL9UiNtrqx09lserIVZozFgiw7plP+W9kx+cXfjzO9E
         19XwaXnoQz1XBRDpIzIgrRGRCfj1NjgwTGX2H1X4wUamgzWRk5KV/UHIhdP6wIztYXvU
         j7iVksRzGLV+hG8EHPXY6BAGlo68mQrXXh5bPZZmGxsn5r7gUvB/p+LBq3YHY+ilo4i7
         SuL4TUNM+vFWF0DDhJ+waUVDg8HF4Qp7Ok/vO1XZOdQbdO2nJXcFNh3mzYKbAgbQXi/e
         wH4Tup1RjKAS8YlzlArBfifa2fWT4ef+RtyXzeV/Oc6tI6VSi2mCk9duFNysF6jJzkJc
         +wfA==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=xdgk8ORR;
       spf=pass (google.com: domain of moonsettler@protonmail.com designates 185.70.40.138 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1732391311; x=1732996111; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to
         :x-original-authentication-results:x-original-sender
         :content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:from:to:cc:subject
         :date:message-id:reply-to;
        bh=DftZr5JCe7dGvgCPmFCRRnPf0goNlOHrkSxPvbX3BRg=;
        b=tEh34BBrU5/4/svLD98AcjdiAZ6yDd8Z4WmOGn0llUfY24nAUbYGpQRXXDWBGElQ27
         +q/VkoFhg+50ymeYZyZEV4X78FZp3ebHk36VPfaEAl8dg8n1hrrWvCLoDZKNl8s/AxbP
         8lZgZySCwzX52RHdwpVpAE8toQLk8skCkshIRByNKIY3DQmNemSObfuMZVI5GTV+8pwm
         HuVnoSbSJA9JKBiWnk0mz3PuCf2+5raOToqMoCF/tHSfxg6l/5rFimPYKOgof2hUymAj
         yO9IMX4ktMkWulj/JDjABv3bhVzFV/zQOjn4N0J4e608Mb2/k7C8PL8gXlnPrEoN//q/
         ClCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1732391311; x=1732996111;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to
         :x-original-authentication-results:x-original-sender
         :content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:x-beenthere
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=DftZr5JCe7dGvgCPmFCRRnPf0goNlOHrkSxPvbX3BRg=;
        b=BrXbCQPrC2DaGZtFeLTaouFIfT69O05srITwT8lSuds72sn6dZ3IuRUwqZoLxAv/Gg
         Z0nT8cDqwqeYE+MQSl/Xx9XS/vn8q+HXnEDxfn2RFEISKf6IGR95jWmVJl1NvN7AaGFx
         P6sqTORbKuNLq9H5PlnLlWwZRylGs0XyoHxQmjWmvVfiEImUiHZKCNTYmHP1e8mQKKRc
         4SP7Z1UQFMEYrpBgsht0CNj2lomBkuUtNnF3xnibuMJMCq5flliSWq+KGyZEA4ARwFfn
         ZzdBOUuuCP8ts2jpsHfh1i0GLX2yY3z1H7j5HQcG/mgUmbezeIOjIKQw8B0H8o4abXkg
         kAYg==
X-Forwarded-Encrypted: i=2; AJvYcCVLC2/FepegqvZzbTYVka7SGWICVq0F907S0oOiqJ3h/0YrYP+wueHDtoz/jII14LQTmp3NYpNWRIlK@gnusha.org
X-Gm-Message-State: AOJu0YzqTSuMSaI41YYb/XTh39aKAtFLAoeE3KFeG8HtzyJv8Osc2XqH
	9cpicjpVBaC4N1Mnb6AnZtYdSABVx2Jq7t9muxz79ylgBlDtM7Oh
X-Google-Smtp-Source: AGHT+IHJJYkQxN1S12Dkg8Ybe+cuh05od0rS/mc/XVqTYgIke+VIrnrDx/cMa4qI+fNTEbf1cRXrPw==
X-Received: by 2002:a05:622a:1e8e:b0:460:ab29:e6b1 with SMTP id d75a77b69052e-4653d617eb8mr107254861cf.44.1732391310731;
        Sat, 23 Nov 2024 11:48:30 -0800 (PST)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a05:622a:ce:b0:462:c59c:a884 with SMTP id
 d75a77b69052e-4652f643de5ls46686041cf.2.-pod-prod-02-us; Sat, 23 Nov 2024
 11:48:28 -0800 (PST)
X-Forwarded-Encrypted: i=2; AJvYcCXBZSZWv8Uz2AnrKnYYdKTD9gEmw+ousb3hKQ9wPC136F4zPOXW9KtN9RUsCxeMaSslG9DAkHuAp9O0@googlegroups.com
X-Received: by 2002:a05:620a:404f:b0:7b1:880c:5805 with SMTP id af79cd13be357-7b5145e03f8mr990187585a.45.1732391307878;
        Sat, 23 Nov 2024 11:48:27 -0800 (PST)
Received: by 2002:a05:620a:4d14:b0:7a1:c409:aa2c with SMTP id af79cd13be357-7b65cd2382ems85a;
        Sat, 23 Nov 2024 11:45:10 -0800 (PST)
X-Forwarded-Encrypted: i=2; AJvYcCUF2P8D+JTLZXcec5zMQrBihCMV6onTG75682M0zjGQRtT1Obg/Y3tKJlFtt7OrdvLQ2RayvLbCkiaM@googlegroups.com
X-Received: by 2002:a05:651c:553:b0:2ff:991a:fb96 with SMTP id 38308e7fff4ca-2ffa716d0b6mr35546131fa.12.1732391107361;
        Sat, 23 Nov 2024 11:45:07 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1732391107; cv=none;
        d=google.com; s=arc-20240605;
        b=g0A9m9oieUbCG29WtM0wTcFSGqxzjzirV8QI9sYrqt1x0E1eLsa+o8JqEHuHvjm/sn
         6gZKf/aPxEv2Fuz1OxaKPfwc53WPkI/zXWfS7lr1ydc16Nee1UDsw3iyWAJwz7FD2JxJ
         jNI9Ekt2RkwpGhyP1P9QEFp8MC83wO1toFSGF8haVtx9iEvtYpvcotmLMUZ07g3p3BAd
         X6MDwNN+5X+1UYgnY0iXFdfkVpUBpWrrCSJ7zyXHx3L927n4HHwY7/AuRvloECnK3YV/
         fjb7LItv2d4XDUmh76VFipZ33Qgajl0rCGuD6psRF38xiN+giKlw32HdgNiWmtTvTdys
         jqPA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature;
        bh=c3D/mrlBQlXByj3xy6DZNqmUoeG3O+jytTLemdf4Em0=;
        fh=dL/EQ1h/o2kAwi6vpiVFkoCwjoQ9Q+lIyW9Van203mY=;
        b=XUnDxPigiSsOhZuU/YUuFLFbe8WwDM2y9uXWonEj4wph82wxvv18+GpTyQy0K3x9or
         xYuclACQa9tOxiVry1lxoQCELws5jFuYpMf/CH04Nu8CYsj7SPCTpgxw4DcLqgkJq8B/
         gDD1E/2+qh1bvWDlWCe1fyynHjay95XWWU/VwzwoNIhmbDdYZNmN8sH0Rm352iyibszN
         ahT6PUADXMaof4jSqFzmwsEFnlseia5HVbEMVtWDc/dGnT8evpJMrtwK1ZulyyI6JGp+
         EuDiIWzjDyspIHBPaKNrxHSdNzXfqccs6pHEHRIxHaLYjrI+F6pxDDUwsFCdk4py/0M/
         ixiw==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=xdgk8ORR;
       spf=pass (google.com: domain of moonsettler@protonmail.com designates 185.70.40.138 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
Received: from mail-40138.protonmail.ch (mail-40138.protonmail.ch. [185.70.40.138])
        by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-2ffa552baebsi865901fa.8.2024.11.23.11.45.07
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sat, 23 Nov 2024 11:45:07 -0800 (PST)
Received-SPF: pass (google.com: domain of moonsettler@protonmail.com designates 185.70.40.138 as permitted sender) client-ip=185.70.40.138;
Date: Sat, 23 Nov 2024 19:45:02 +0000
To: Antoine Poinsot <darosior@protonmail.com>
From: "'moonsettler' via Bitcoin Development Mailing List" <bitcoindev@googlegroups.com>
Cc: Murch <murch@murch.one>, bitcoindev@googlegroups.com
Subject: Re: [bitcoindev] CHECKSIGFROMSTACK(VERIFY/ADD)
Message-ID: <_p-Du0dVGx1_UqtSLb7UpQRrHWP0JVQOGFeZ3-W-m8eZNNshMsW_oFXw07nAZEnP-YZO6sBn9iF-RY7qK15jxCjQPBMc4LZ-4cesUuRose8=@protonmail.com>
In-Reply-To: <nRFLHRhwXER56TrZy50tJ2HmvipjteXzPfz6mEs_VmyZ5sXDNVUIUniPppSphF5SOVCQmpRZSjmBN8_eIMZEbdFgl3vJn-8XSEmpAFmj5SM=@protonmail.com>
References: <ZzZziZOy4IrTNbNG@console> <c91269ac-e579-4089-bf9a-fdc076e34727@murch.one> <nRFLHRhwXER56TrZy50tJ2HmvipjteXzPfz6mEs_VmyZ5sXDNVUIUniPppSphF5SOVCQmpRZSjmBN8_eIMZEbdFgl3vJn-8XSEmpAFmj5SM=@protonmail.com>
Feedback-ID: 38540639:user:proton
X-Pm-Message-ID: b61576eaec96f9d52fa47dba9f4299ec76593123
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Original-Sender: moonsettler@protonmail.com
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@protonmail.com header.s=protonmail3 header.b=xdgk8ORR;
       spf=pass (google.com: domain of moonsettler@protonmail.com designates
 185.70.40.138 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
X-Original-From: moonsettler <moonsettler@protonmail.com>
Reply-To: moonsettler <moonsettler@protonmail.com>
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -1.0 (-)

Dear List,

Can anyone think of a reason to keep OP_CHECKSIGFROMSTACKVERIFY as NOP5 ava=
ilable
in legacy script?

Currently Brandon and I are leaning towards simply removing CSFSV from LNha=
nce and
from the CSFS BIP.

Reasoning:
* CSFS is more likely to be used in Symmetry
* In case where CSFSV is desired OP_CSFS OP_VERIFY is perfectly workable.
* Simplifies code
* Don't have an actual use case for CSFSV in legacy rn
* Upgradeable NOPs are scarce
* Backporting tapscript would bring all functionality to legacy

BR,
moonsettler




Sent with Proton Mail secure email.

On Friday, November 15th, 2024 at 4:33 PM, 'Antoine Poinsot' via Bitcoin De=
velopment Mailing List <bitcoindev@googlegroups.com> wrote:

> To add to Murch's point, from my experience working with Script in genera=
l and
> trying to estimate the cost of validation of legacy script as part of the
> consensus cleanup in particular, i think we should refrain from modifying=
 legacy
> Script and further complicate reasoning about the worst case unless stric=
tly
> necessary.
>=20
> Best,
> Antoine
>=20
> On Friday, November 15th, 2024 at 9:57 AM, Murch murch@murch.one wrote:
>=20
> > Hi everyone,
> >=20
> > On 2024-11-14 17:02, Brandon Black wrote:
> >=20
> > > * Should CHECKSIGFROMSTACKVERIFY (CSFSV) be added to pre-tapscript
> > > [=E2=80=A6]
> > > My personal thinking in initially including CSFSV in earlier script v=
ersions was basically that it's compatible with NOP forking, so why not.
> >=20
> > If there is no compelling use case or concrete benefit, I don=E2=80=99t=
 think "it=E2=80=99s compatible, why not" is convincing motivation, especia=
lly at the cost of a NOP.
> >=20
> > On 2024-11-14 17:02, Brandon Black wrote:
> >=20
> > > * Should we include CHECKSIGFROMSTACKADD?
> >=20
> > I feel similar about this. If there is currently no demand for this, an=
d future demand also seems unlikely, I would prefer a smaller, more focused=
 set of changes.
> >=20
> > Cheers,
> > Murch
> >=20
> > --
> > You received this message because you are subscribed to the Google Grou=
ps "Bitcoin Development Mailing List" group.
> > To unsubscribe from this group and stop receiving emails from it, send =
an email to bitcoindev+unsubscribe@googlegroups.com.
> > To view this discussion visit https://groups.google.com/d/msgid/bitcoin=
dev/c91269ac-e579-4089-bf9a-fdc076e34727%40murch.one.
>=20
>=20
> --
> You received this message because you are subscribed to the Google Groups=
 "Bitcoin Development Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an=
 email to bitcoindev+unsubscribe@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/bitcoinde=
v/nRFLHRhwXER56TrZy50tJ2HmvipjteXzPfz6mEs_VmyZ5sXDNVUIUniPppSphF5SOVCQmpRZS=
jmBN8_eIMZEbdFgl3vJn-8XSEmpAFmj5SM%3D%40protonmail.com.

--=20
You received this message because you are subscribed to the Google Groups "=
Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/=
_p-Du0dVGx1_UqtSLb7UpQRrHWP0JVQOGFeZ3-W-m8eZNNshMsW_oFXw07nAZEnP-YZO6sBn9iF=
-RY7qK15jxCjQPBMc4LZ-4cesUuRose8%3D%40protonmail.com.