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
241
242
243
244
245
246
247
248
249
250
|
Delivery-date: Thu, 17 Apr 2025 12:09:30 -0700
Received: from mail-oo1-f61.google.com ([209.85.161.61])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBDL4XL646QOBBX5DQXAAMGQEFTCCE2Q@googlegroups.com>)
id 1u5Uc5-0003sY-D2
for bitcoindev@gnusha.org; Thu, 17 Apr 2025 12:09:30 -0700
Received: by mail-oo1-f61.google.com with SMTP id 006d021491bc7-603fd09171bsf970622eaf.1
for <bitcoindev@gnusha.org>; Thu, 17 Apr 2025 12:09:29 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1744916964; cv=pass;
d=google.com; s=arc-20240605;
b=PA6ioEdss2VdIgoe4z2mxp1o16JuqOlGLilj52U8Uw98470OdPZdnW+4SdYDy8iXF8
Pm7rjJc7pCw0WN/v9QzBC9XhYHe5LOVE/tbsOX6jyLFTqj62nxIEsWyauYaZOTEcu65t
qKO8VsWLgAS6EmgznI6JHF/BdCbBqb72pZeiEvxi7gJ8qOz1IBlrixr5ilo22HDf9fdi
n4ZtwG+VBEpt/kCzDem5F+UjwGlPo20yrvSeyyRSAcP2iUNv2EHnQAsm/ostw3EHoxG4
+wZv+5+d3bkUaiGjbJrvWRv8be8PY2LX3D0oTrQ9d3Ye7y4KbNiv/Ec2NaQMByFB6daY
Xv/Q==
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:mime-version:feedback-id
:message-id:subject:from:to:date:dkim-signature;
bh=X12hODz94QiZGKX6EN7IcNzZlQ+f/h78geSzkkruu7M=;
fh=PymoGgdt/4nPCIZCWNOpB3PzTGLR3NAZwtcsIvmvU8w=;
b=VO+1raF1naFf7b+X7jTrH/Rh+i5plXdNNRuF1IErJqwhLzIPw8RdajjTBNfNNiQkg0
Wxq/x/zEcm8stZ1IRBwGeDxvtNQG4RwOV/7BKc8gXd3WTuQUJDuqqOctzuppRqvl9hnd
p6RSr4rZ94hvzFsItH1ijoAw5uJ9Z1Me+JdmnUQC4zz3psE0wqkRrtMI8/lNc3Pn18rK
UQtEBScDuzdYtS2GNXDubXbS5krhAtrQ0nBtK9RLnPIXq6sAd8DSxcvzfV1njN/Qqt1y
Y6HmYqPS00HM8ZHW1HYPcxk2bLpffXuBZ87KSkHXF9eQFWkJV6+an7mOhNzQlNOkLIBD
T4FA==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OBK3FkBk;
spf=pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) smtp.mailfrom=darosior@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=1744916963; x=1745521763; 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:mime-version
:feedback-id:message-id:subject:from:to:date:from:to:cc:subject:date
:message-id:reply-to;
bh=X12hODz94QiZGKX6EN7IcNzZlQ+f/h78geSzkkruu7M=;
b=fjjYw6Q8tn0qXV7v0TZ9Bjv5H6IsA93h2xbLM6TNlgUR1CHEZlYoMfqnBd53p3cK4i
ZHiIX5/oQFPoif65NevtywffH9D0+DcbcT0+Y/P+lmpOxjqpXGLNUktXeXm8iNALRFB/
cvgfPkGK8rfv+VPvqogeJo0c29sTCHp+Tj/Zvu4AkWGC4YH1EGhJVpYJeeUSdT5n6vcQ
OaCi2o4c0UjwbAgKlnBb2EXlF9nJNgAi14yRk8rprz1i7A0UtOrL2Qq0qrmfKh+RkSYe
CC2s3ves5z+c2i9RjCrcm+TQygAmmrN6XpLpGUERj4P3nwvC7MRz5+j+YOMCaC3LvQY6
KEXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1744916963; x=1745521763;
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:mime-version
:feedback-id:message-id:subject:from:to:date:x-beenthere
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=X12hODz94QiZGKX6EN7IcNzZlQ+f/h78geSzkkruu7M=;
b=NMjVJnoPEbmsE8+Szz2bWk16rLFKULWHeFjjGI5UZjnnjfLwZhtb88ZNQtZcEJghlL
MDSUpAJuqketFFoYJb3rvv7A5ryYka3gJgdxiJUTdx2lJhiMthDEaAvf20zxyfdhucRS
2pAqCcHr2Zavu1XDDynbJdGPgwTzNZqifdFoWpKFYFeYF3ILvhoU6hAhvUdwm3vhlZ4J
19aSKTYztgkHTtL9RPgqcqlSID8ZzM2BXKKUUCeSuDG0PhDLqqSR+Pyd0wa8+P95gHD4
HzCXD81Pqemx0Wpwu2wVJvIUaAC1LP+brtPTfLtDir3/Bbo/egn0r2CFjAnPFu7nWpx6
WTWg==
X-Forwarded-Encrypted: i=2; AJvYcCXo1vOBW49uRxxp/7ha4Whhm4sPyFob83MVjMTvaIxmcsSCQkJAjr83oNbdDuWGOhZ/Htr+Z8P5to2P@gnusha.org
X-Gm-Message-State: AOJu0Yz16tg9yccj/8f78eMI0VdAycXjCOplsiRC0XXmIIfkv8Q1Gebl
KFleJ/CLAh84MjspN1ZRx7Z1IdvxGXe3uyjQwJFHQYDj7hIKSZi4
X-Google-Smtp-Source: AGHT+IGfKY0/JN6JLhEFBMG1mGvKXnX/DJrCcallkzJ4PZa34bkAwceAV1IG15MiduMXkGHT64IxCQ==
X-Received: by 2002:a05:6871:53c6:b0:2cc:4613:76f0 with SMTP id 586e51a60fabf-2d526ae20d8mr62245fac.17.1744916963478;
Thu, 17 Apr 2025 12:09:23 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=ARLLPAL8B4KOJvruyA/HLucnq4WBePVXUK6EG/yfAAbMf11pxw==
Received: by 2002:a05:6870:ed92:b0:29e:3655:1970 with SMTP id
586e51a60fabf-2d4eb9746e1ls673822fac.0.-pod-prod-08-us; Thu, 17 Apr 2025
12:09:19 -0700 (PDT)
X-Received: by 2002:a05:6808:2a0b:b0:3fb:2e8f:4dd8 with SMTP id 5614622812f47-400b01cfdc8mr3409417b6e.15.1744916959128;
Thu, 17 Apr 2025 12:09:19 -0700 (PDT)
Received: by 2002:a05:6504:594e:b0:293:32b4:31b9 with SMTP id a1c4a302cd1d6-29f0eec59bfmsc7a;
Thu, 17 Apr 2025 11:52:40 -0700 (PDT)
X-Received: by 2002:a05:6512:eaa:b0:545:441:52d2 with SMTP id 2adb3069b0e04-54d6e62d24dmr1521e87.23.1744915957523;
Thu, 17 Apr 2025 11:52:37 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1744915957; cv=none;
d=google.com; s=arc-20240605;
b=AyABEd4r68aaSLynELscUfGCSmO/l3zpH413wIrITmUhhyn6HWGMFL0qMJQQhqrWBN
YRr657/MYGNnHccSHd0WK6kSlG0eGlq1WNuUS9FM84f5TrwRAQxvCtGRzzG/kR3QQOs6
yuAoZwa3KNlLDuf8xBYMy+NsF92P37sWlwVONOQb/Zi/5Z4ShjZXNxjLJvlwdPOXJZBD
SgK9s+dWqpyCv93DwrWNFIouRssheUKwH62ccoqhO5X+jbLpkInfuMFsl0zYeNzShFlr
GzE6Hqo4T+xJ3WrV2NGsb6jKLc20BtrUld2Mm1HVM4PmQb4zZeU4i2xu/YuQyIbw3kke
DO0A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=mime-version:feedback-id:message-id:subject:from:to:date
:dkim-signature;
bh=Eg7vvwVtuTwrARa9BCWiXPakUhRlaixD+9DXpELVipM=;
fh=DMP0F9ULS1guKiqimntQRCN8ZraraesEgQuVcn7F0Z0=;
b=J3PTdVVz/xWAkQ+khSFA+gJbRdSCpIiTafPiqWIE0ZIfItziuSvzaasbhuzQ0nikr8
HPr8I+MBMROHPp/WtZ324QMVVTJSJNYhmh81kFCEENJTGlBXKX4rH312iu22POMCbpjB
5Y38t2KEgOGeGuuLLUIONYo4zoVa8Yk6kuvHlXDfEt7eJDQ7nCYhm7HrxKlghOI2qM0g
14OLUPkNNGhggchSRMra/LUUUcdjJg/vW5/wZADJZaJL+Z6eQrJ8rXMx2E2NDGyFfxxV
ciNfhytjDpmiZhM8p0p5o/ay7UTY68T6GjuwCwl+VLPV6BN2avTnYi2xiBsyU5FFsAFs
W4Jw==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OBK3FkBk;
spf=pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) smtp.mailfrom=darosior@protonmail.com;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch. [185.70.43.22])
by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-54d6e540feasi915e87.3.2025.04.17.11.52.37
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 17 Apr 2025 11:52:37 -0700 (PDT)
Received-SPF: pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) client-ip=185.70.43.22;
Date: Thu, 17 Apr 2025 18:52:34 +0000
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
From: "'Antoine Poinsot' via Bitcoin Development Mailing List" <bitcoindev@googlegroups.com>
Subject: [bitcoindev] Relax OP_RETURN standardness restrictions
Message-ID: <rhfyCHr4RfaEalbfGejVdolYCVWIyf84PT2062DQbs5-eU8BPYty5sGyvI3hKeRZQtVC7rn_ugjUWFnWCymz9e9Chbn7FjWJePllFhZRKYk=@protonmail.com>
Feedback-ID: 7060259:user:proton
X-Pm-Message-ID: ab80d2f82b0ab049d6cebf214b45472ebac49e5e
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w"
X-Original-Sender: darosior@protonmail.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@protonmail.com header.s=protonmail3 header.b=OBK3FkBk;
spf=pass (google.com: domain of darosior@protonmail.com designates
185.70.43.22 as permitted sender) smtp.mailfrom=darosior@protonmail.com;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
X-Original-From: Antoine Poinsot <darosior@protonmail.com>
Reply-To: Antoine Poinsot <darosior@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 (-)
--b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
Standardness rules exist for 3 mains reasons: mitigate DoS vectors, provide=
upgrade hooks, or as a nudge to deter some usages.
Bitcoin Core will by default only relay and mine transactions with at most =
a single OP_RETURN output, with a scriptPubKey no larger than 83 bytes. Thi=
s standardness rule falls into the third category: it aims to mildly deter =
data storage while still allowing a less harmful alternative than using non=
-provably-unspendable outputs.
Developers are now designing constructions that work around these limitatio=
ns. An example is Clementine, the recently-announced Citrea bridge, which u=
ses unspendable Taproot outputs to store data in its "WatchtowerChallenge" =
transaction due to the standardness restrictions on the size of OP_RETURNs[=
^0]. Meanwhile, we have witnessed in recent years that the nudge is ineffec=
tive to deter storing data onchain.
Since the restrictions on the usage of OP_RETURN outputs encourage harmful =
practices while being ineffective in deterring unwanted usage, i propose to=
drop them. I suggest to start by lifting the restriction on the size of th=
e scriptPubKey for OP_RETURN outputs, as a first minimal step to stop encou=
raging harmful behaviour, and to then proceed to lift the restriction on th=
e number of OP_RETURN outputs per transactions.
Antoine Poinsot
[^0]: See section 6.1 of their whitepaper here https://citrea.xyz/clementin=
e_whitepaper.pdf
--=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/=
rhfyCHr4RfaEalbfGejVdolYCVWIyf84PT2062DQbs5-eU8BPYty5sGyvI3hKeRZQtVC7rn_ugj=
UWFnWCymz9e9Chbn7FjWJePllFhZRKYk%3D%40protonmail.com.
--b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div style=3D"font-family: Arial, sans-serif; font-size: 14px;">
<div class=3D"protonmail_signature_block protonmail_signature_block-empty" =
style=3D"font-family: Arial, sans-serif; font-size: 14px;">
<div class=3D"protonmail_signature_block-user protonmail_signature_bloc=
k-empty">
=20
</div>
=20
<div class=3D"protonmail_signature_block-proton protonmail_sign=
ature_block-empty">
=20
</div>
</div>
Hi,<br>
<br>
Standardness rules exist for 3 mains reasons: mitigate DoS vectors, provide=
upgrade hooks, or as a nudge to deter some usages.</div><div style=3D"font=
-family: Arial, sans-serif; font-size: 14px;"><br></div><div style=3D"font-=
family: Arial, sans-serif; font-size: 14px;">Bitcoin Core will by default o=
nly relay and mine transactions with at most a single OP_RETURN output, wit=
h a scriptPubKey no larger than 83 bytes. <span>This standardness rule fall=
s into the third category: it aims to mildly deter data storage while still=
allowing a less harmful alternative than using non-provably-unspendable ou=
tputs.</span></div><div style=3D"font-family: Arial, sans-serif; font-size:=
14px;"><span><br></span></div><div style=3D"font-family: Arial, sans-serif=
; font-size: 14px;">Developers are now designing constructions that work ar=
ound these limitations. An example is Clementine, the recently-announced Ci=
trea bridge, which uses unspendable Taproot outputs to store data in its "W=
atchtowerChallenge" transaction due to the standardness restrictions on the=
size of OP_RETURNs[^0]. Meanwhile, we have witnessed in recent years that =
the nudge is ineffective to deter storing data onchain.</div><div style=3D"=
font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style=3D"f=
ont-family: Arial, sans-serif; font-size: 14px;">Since the restrictions on =
the usage of OP_RETURN outputs encourage harmful practices while being inef=
fective in deterring unwanted usage, i propose to drop them. I suggest to s=
tart by lifting the restriction on the size of the scriptPubKey for OP_RETU=
RN outputs, as a first minimal step to stop encouraging harmful behaviour, =
and to then proceed to lift the restriction on the number of OP_RETURN outp=
uts per transactions.<br></div><div style=3D"font-family: Arial, sans-serif=
; font-size: 14px;"><br></div><div style=3D"font-family: Arial, sans-serif;=
font-size: 14px;">Antoine Poinsot<br></div><div style=3D"font-family: Aria=
l, sans-serif; font-size: 14px;"><br></div><div style=3D"font-family: Arial=
, sans-serif; font-size: 14px;">[^0]: See section 6.1 of their whitepaper h=
ere <span><a target=3D"_blank" rel=3D"noreferrer nofollow noopener" href=3D=
"https://citrea.xyz/clementine_whitepaper.pdf">https://citrea.xyz/clementin=
e_whitepaper.pdf</a></span><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
bitcoindev/rhfyCHr4RfaEalbfGejVdolYCVWIyf84PT2062DQbs5-eU8BPYty5sGyvI3hKeRZ=
QtVC7rn_ugjUWFnWCymz9e9Chbn7FjWJePllFhZRKYk%3D%40protonmail.com?utm_medium=
=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/bitcoindev/=
rhfyCHr4RfaEalbfGejVdolYCVWIyf84PT2062DQbs5-eU8BPYty5sGyvI3hKeRZQtVC7rn_ugj=
UWFnWCymz9e9Chbn7FjWJePllFhZRKYk%3D%40protonmail.com</a>.<br />
--b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w--
|