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
|
Return-Path: <roconnor@blockstream.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
by lists.linuxfoundation.org (Postfix) with ESMTP id 8BB83C002B
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 5 Feb 2023 00:11:47 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp2.osuosl.org (Postfix) with ESMTP id 5F1ED4010E
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 5 Feb 2023 00:11:47 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 5F1ED4010E
Authentication-Results: smtp2.osuosl.org;
dkim=pass (2048-bit key) header.d=blockstream-com.20210112.gappssmtp.com
header.i=@blockstream-com.20210112.gappssmtp.com header.a=rsa-sha256
header.s=20210112 header.b=bHM/ictX
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from smtp2.osuosl.org ([127.0.0.1])
by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id UDCEp_vIFSxl
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 5 Feb 2023 00:11:46 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 32F64400F8
Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com
[IPv6:2607:f8b0:4864:20::1030])
by smtp2.osuosl.org (Postfix) with ESMTPS id 32F64400F8
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 5 Feb 2023 00:11:46 +0000 (UTC)
Received: by mail-pj1-x1030.google.com with SMTP id
ge21-20020a17090b0e1500b002308aac5b5eso2306511pjb.4
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 04 Feb 2023 16:11:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=blockstream-com.20210112.gappssmtp.com; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=mEJNL1yBtLiAIcX+VONPCB8EWv9jCz1nibRVZovVd0I=;
b=bHM/ictXDBtnAHaZY1LPtfm+SB7qWlzm8XreXmY5HtDxnCN1AZ+iGW8Bbc7W5SmqUW
i8Ujo8jIFV8K4Byu5zSsgQKCcKf8jnjLfxCzUO3G3Gizonklh+uC27Nh2A4stzQklN4i
VgEAzvH5ij3aMVgCHH759XDafg5Xe2ZxmJU5b9bi/5NZzlmX30M8VPdRsG115RQTM9OV
QgEYO/le+J1+QqbOjCApbex8K+mLuSAj0h+uxwCIN7ewSM7MT0eu7HyQxBMxzETrGP9p
78GFRDOtEki9KPjbct/nUiO3AaSCpRaTeQ5jnIFHVpSqAwUGhvONSkPuHNQbYgTglOLN
5t/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=mEJNL1yBtLiAIcX+VONPCB8EWv9jCz1nibRVZovVd0I=;
b=CASISBrxxY/4mlb8SjoSxgfqGHVa165KlHz8t+QB80nbQbbO4U2aiDUqvU9R6S5J/c
HTQuCDXtShK5zjEqjsDd/wtmoxNyDgV3eC42IHGXL15LdC82+MLl43nYWx9tUiwbHW2l
qbwrIvQdW8it1oOiIhEpiIP/D+eyp7VOQEtKEjJZypywSVdlPszTgt05Y5tGriSSXP0h
MwX2QZrN/0k1MlKJ648QMcFVDpur3CwEfpKxn4Gp8w307eZP6LPRUSljhk9iQejMyjKV
VTq852Ex+2ztSy+Tdj3rOup36TvKUU2gOcwIgW2Oo9yJq9VJCawYCXrV/crV1lkslW/g
om1g==
X-Gm-Message-State: AO0yUKXfV3saOWKZfRb/mxwG2Lrp5+YYnJHIquulxk8YLwcD+cYulRtX
1yKZxOGv/E9aN+NSCbQdQNQJSd4TG9jCPWEcTF8tsg==
X-Google-Smtp-Source: AK7set8ysvbj0IY7rNvDjBq1F6HFssYZxpWqZOSmFgKIL+8y+HLdQ88MXzKI6u3+2tlVSl1aCVRFOwkPw+zqLBm4fjA=
X-Received: by 2002:a17:903:11cd:b0:198:a1e8:7cf7 with SMTP id
q13-20020a17090311cd00b00198a1e87cf7mr3362927plh.28.1675555905556; Sat, 04
Feb 2023 16:11:45 -0800 (PST)
MIME-Version: 1.0
References: <CACrqygAMsO1giYuxm=DZUqfeRjEqGM7msmEnZ-AHws3oA2=aqw@mail.gmail.com>
<ca8622cb-445e-4258-bbac-b3ee1ce95f4c@protonmail.com>
<57f780b1-f262-9394-036c-70084320e9cf@peersm.com>
<CACrqygCNf3Gv8+VjhyqS4GTb3Epo8qXEKGtQB6sqyR6ib44-fA@mail.gmail.com>
<CABE6yHtM2Dqc63_eURSr7dMirJti5sYnqvHj7vQ_Ab9FC_d04g@mail.gmail.com>
<3d00aacb-585d-f875-784d-34352860d725@peersm.com>
<CACrqygB_FbsRGWYPSUEFTnP15y94Hmo4JtAuv6bH1D3YtbAw9Q@mail.gmail.com>
<b292d887-cbd5-165c-de01-793df2b5e8f3@peersm.com>
<CACrqygAv842ucN7PLYMENXFiSwAZJy2Y+FziJXrWjyCcOXmL3g@mail.gmail.com>
<230265ee-c3f8-dff3-9192-f0c8dc4d913c@peersm.com>
In-Reply-To: <230265ee-c3f8-dff3-9192-f0c8dc4d913c@peersm.com>
From: "Russell O'Connor" <roconnor@blockstream.com>
Date: Sat, 4 Feb 2023 19:11:35 -0500
Message-ID: <CAMZUoKkAdQ9TSMm4vPJOrThu_h6VbqwPhOQQR7-Yr+WZ0DMBYw@mail.gmail.com>
To: Aymeric Vitte <aymeric@peersm.com>
Content-Type: multipart/alternative; boundary="0000000000008d6b2505f3e8c2c4"
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Debate: 64 bytes in OP_RETURN VS taproot OP_FALSE
OP_IF OP_PUSH
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: Sun, 05 Feb 2023 00:11:47 -0000
--0000000000008d6b2505f3e8c2c4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Since bytes in the witness are cheaper than bytes in the script pubkey,
there is a crossover point in data size where it will simply be cheaper to
use witness data. Where that crossover point is depends on the finer
details of the overhead of the two methods, but you could make some
reasonable assumptions. Such a calculation could form the basis of a
reasonable OP_RETURN proposal. I don't know if it would be persuasive, but
it would at least be coherent.
On Sat., Feb. 4, 2023, 18:17 Aymeric Vitte via bitcoin-dev, <
bitcoin-dev@lists.linuxfoundation.org> wrote:
> I don't know, what number would you advise? When I made the
> bitcoin-transactions nodejs module some years ago the limit (from the
> specs) was 512B
>
> It's not a fork, super easy to do
>
> And necessary because bitcoin on ground of I don't know what rule
> allowing the IF/ENDIF "unlimited" storage just mimics ethereum for the
> worse, and is again quite dubious to use
>
>
> Le 04/02/2023 =C3=A0 23:18, Christopher Allen a =C3=A9crit :
> > 520 because that is a similar limit in taproot? Some multiple of
> > hash+signature+metadata to satisfy others (that still might not be
> > satisfied by any choice).
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
--0000000000008d6b2505f3e8c2c4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto"><div>Since bytes in the witness are cheaper than bytes in=
the script pubkey, there is a crossover point in data size where it will s=
imply be cheaper to use witness data.=C2=A0 Where that crossover point is d=
epends on the finer details of the overhead of the two methods, but you cou=
ld make some reasonable assumptions.=C2=A0 Such a calculation could form th=
e basis of a reasonable OP_RETURN proposal.=C2=A0 I don't know if it wo=
uld be persuasive, but it would at least be coherent.<br><br><div class=3D"=
gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat., Feb. 4, 2023, 1=
8:17 Aymeric Vitte via bitcoin-dev, <<a href=3D"mailto:bitcoin-dev@lists=
.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>> wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">I don't know, what number would=
you advise? When I made the<br>
bitcoin-transactions nodejs module some years ago the limit (from the<br>
specs) was 512B<br>
<br>
It's not a fork, super easy to do<br>
<br>
And necessary because bitcoin on ground of I don't know what rule<br>
allowing the IF/ENDIF "unlimited" storage just mimics ethereum fo=
r the<br>
worse, and is again quite dubious to use<br>
<br>
<br>
Le 04/02/2023 =C3=A0 23:18, Christopher Allen a =C3=A9crit :<br>
> 520 because that is a similar limit in taproot? Some multiple of<br>
> hash+signature+metadata to satisfy others (that still might not be<br>
> satisfied by any choice).<br>
<br>
<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank" =
rel=3D"noreferrer">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer noreferrer" target=3D"_blank">https://lists.linuxfoundati=
on.org/mailman/listinfo/bitcoin-dev</a><br>
</blockquote></div></div></div>
--0000000000008d6b2505f3e8c2c4--
|