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
|
Delivery-date: Fri, 03 Oct 2025 10:23:30 -0700
Received: from mail-oo1-f64.google.com ([209.85.161.64])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBAABBBUNQDDQMGQE4KFO54I@googlegroups.com>)
id 1v4jVC-0001jc-BG
for bitcoindev@gnusha.org; Fri, 03 Oct 2025 10:23:30 -0700
Received: by mail-oo1-f64.google.com with SMTP id 006d021491bc7-6448e591f8fsf293596eaf.1
for <bitcoindev@gnusha.org>; Fri, 03 Oct 2025 10:23:29 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1759512204; cv=pass;
d=google.com; s=arc-20240605;
b=lXshEie7N59pZ//Y8GgDB4LfzD6MFR/WBBSO4mHOq0IL0R2Y21oO6tpx9NadVGPSdf
z2k2YWqZ5HxgWg/CI1qPwVqFNhC/qw8+MrQowpNfebeSyvM82113WCzD+8Y4IXQy6sVr
vFvWRx1CL3hTw8STMhYxQTmhQTxoMADXSZrzu3Isg4sKb71zMEVs1nhXUQvrtaipwj+D
hKaEWYTlRrMwu4pmDlDXyAo4K8i/DOlSw34UoYEect0ySzB9ds8ZXN9Bvt6ZOQvn2vaB
1ufgB45iTHrc7jFdXFceB4535Z8H2n2reU7QiHb+ePLmGxyLiwXVg398ljYoZGve0p/B
85fw==
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
:references:in-reply-to:message-id:subject:cc:from:to:date
:dkim-signature;
bh=OAbkc4QlZlcR25rlgdCzrsa6KvbHd8+yBFsB81GnWQ8=;
fh=lCYdPkIwmQ5coUreqKOOiU8wB+wdYrIxTBQaMrgRMkE=;
b=F1qgyoxHaIityXI9u4MO1zgeUt4HWXKa0dmQqCYbmStgWFyxuI/EiEkA2VRtoA8KgL
BfjA3DZyDRx3OBRJ7ylv128sWIPkYMTe/w3rK2NTacBXJq732hONRWHTXMAssQu15Jzv
7WLNYsQdEkh00zoK7ApmO6N6lwFK0K7UcJvx5dxkhaX288gQG73/BcG4vRRa3MdwfJwV
PB3409/6L+DfAdILESVsamECsacZvPFkIBT48MwAmGKzxGjtc0djNISm9GBfW1cIZP0I
7zOfIQsqUyS5Yk6hr66OhS4XQTRffQiuqB/HP0k3pvBovNH7Jpl/tF3xi4pcjjqdS2Ah
7MAA==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=X4RQkV0g;
spf=pass (google.com: domain of moonsettler@protonmail.com designates 79.135.106.99 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=1759512204; x=1760117004; 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:references:in-reply-to:message-id:subject:cc:from:to
:date:from:to:cc:subject:date:message-id:reply-to;
bh=OAbkc4QlZlcR25rlgdCzrsa6KvbHd8+yBFsB81GnWQ8=;
b=WLPpJqO6wCeNepp1g/ClSszn4At6Jx0+pl+qPlWjJ2pYDHvg29W2aGjticojFHkq1p
CdpNSJrq+RmRl4n6EaRoqix7LZfVMAJubQYe2iMeH4mQIbEqcDUSGwQn0TxuEZfIRYIn
WpSU4wdHQkGCRbh7INDeQH9DRum6bQr6OBv2wgon/qUx8PnmCsi7CvxHDzWoRHEFe+SU
AKNidGr5iadnCg00IpORn4KjKtIEcSoIEUnaDk83gve8bh9rdNoDY6Xd6YHgCG8JYsd4
fMDFycT7BqFQDF6JeRMKMAs2asWgAIz5sDv6axTjPkrCYrjLjt0wnW0MF/RWdF0IXPX5
bo/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1759512204; x=1760117004;
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: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=OAbkc4QlZlcR25rlgdCzrsa6KvbHd8+yBFsB81GnWQ8=;
b=KhbVNQzVhRo7TBr/NCeSuCZ28llU92PQij0sjhUaIutLFx0H1XkOICTcYm6ncOVIxY
So2V7s1MnPYjElpqvKcr7CeB4i+adv4jhpy5HGMATFDoVNh9jxzzJBuIEDpjryEwW5Hf
lrBR/ZFF0I1oMsewc/FQ4/oo6KHRjZBTiPQrXkaeczrRm319r7rVHNfrm3OGvpZXTzOk
NMLFAbu7s5XQs6aN2MbGb3cX3o9XSVD5c8z7YWxRm9M+U38KLePn0u1QwHnD6Rk9wVYD
9WdBfIZ3JHh/J4KEOGc7WcsP5BQw5CWU/05oWifuKDECLVEwHtwjCAMY+0t7C5yUsDxl
teXQ==
X-Forwarded-Encrypted: i=2; AJvYcCXVs3fDKmlIn5qrBd1r3mwAXcs5v7RfMrgfUKr0hsm2Jv9OpZuuJyHYih1DAFEG7KeIahF/DwWeibWy@gnusha.org
X-Gm-Message-State: AOJu0YyuPO6LqSA53RqiapjURHRkrrNBoB9ox6lh17oe9RZ8bjuGgcmi
Vs2yflbFYc1mvXBnkNC1PhdVOXdow6TXwWkic9MmKWBqM9OdVvUgtj0u
X-Google-Smtp-Source: AGHT+IHRcsTRDKtwA5fqB/I2nDG27S2suc4nOIqHU3gfEeL5mghTxLldHPbuoV8EE8pjuyi9utcpjw==
X-Received: by 2002:a05:6820:4209:b0:624:b767:e1c4 with SMTP id 006d021491bc7-64e601559c5mr2240074eaf.0.1759512203884;
Fri, 03 Oct 2025 10:23:23 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h="ARHlJd5wvKDMPoRUBwk/OEHLRMCN3VNpjxysjZmAD31jWrRzGg=="
Received: by 2002:a05:6820:b93:b0:63d:117:32df with SMTP id
006d021491bc7-64dffb41c71ls427331eaf.0.-pod-prod-06-us; Fri, 03 Oct 2025
10:23:18 -0700 (PDT)
X-Forwarded-Encrypted: i=2; AJvYcCUsCNG1SnbpzYr3wcKJrZcxOkcbbVQIZgGUK8oIO+uifuEgF2PcSUnxM2/cp13a0hW0EFthd8PvePAw@googlegroups.com
X-Received: by 2002:a05:6808:211a:b0:43d:23b9:9ef5 with SMTP id 5614622812f47-43fc180eb5dmr2279171b6e.26.1759512198170;
Fri, 03 Oct 2025 10:23:18 -0700 (PDT)
Received: by 2002:a7b:c3d4:0:b0:46d:c188:d2d7 with SMTP id 5b1f17b1804b1-46e709333ecms5e9;
Fri, 3 Oct 2025 09:53:01 -0700 (PDT)
X-Forwarded-Encrypted: i=2; AJvYcCVlYQPUK1B8Du4YElhPjIGIDiaPoV+RkmZq5rk4cMzV/5FoDjtemYtWCdDM3/L2lgW7hGq3W0RsxvV7@googlegroups.com
X-Received: by 2002:a05:6000:430a:b0:3fa:2316:c20 with SMTP id ffacd0b85a97d-42567137bf4mr2565507f8f.5.1759510379719;
Fri, 03 Oct 2025 09:52:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1759510379; cv=none;
d=google.com; s=arc-20240605;
b=KuDJ05Of4oIRbgdQO9tDxL0fsOswycHtWDYc8tK6y7CLwcOXs0o9L3sfZ04g+Eq42k
B6Bq+eshemPHfIjEatt6cGwBlflNp9e6BdxOAlzikyDs0t7rVZ8fKmACDwU3GOotdNoh
PRVat3N5zX9xgJCrbIVnBEdxirU1PDdfP9fRSAoKAQSEXsfIsLb+pIZDFvUpcGuH0Igl
uVmdKoR3xvwBOgl1Kf9O3hB3wX+jMfss3/uDnqKj+fBzF5E17MhgBRlCpo4kbddISKX+
EoQI8W1d1UgQhHFFQX55Sb6tBuBYBOf13r5htC7f14+UHo1RTNO5/WqbifT415SfK8Ta
82mw==
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=Hs6/rxaCYrwshJPxC39uu55qgf6H6OYftcVzN5bQL8A=;
fh=DIniKTdV7csWMv+jckl7VWy3aN/ckxBZTi6hDrQqHvA=;
b=ZCvOZpqJy+ZuBt8j3qtjfbpj+xa3Vo2SwGRTpSu0xf/kkbfAkSO9EQ7JXBLtkk+n0g
UON7g+/At9Q0oNmQmVk5rCtbKfmADqaXxjhrNfzhxe/qJ1famtiaI3PJSXczkss9B+YV
cjx7DaafjmuOGToc7q3XEProPgqqnkQnlx4cBGyzxn5aWj33IZkACOdMK3WQYkzLTDeW
m7SR9aGgRYmUxGfNKIudVgWharcnV5djFYknJH0S7ovcpEiWiBapzVV8UzUkzaE4u2nk
t2BoD/+sQ83Lh0YY3JIKucymNsX5oG0c3sD/GChXHe37i9qAqmr1+raTtp64nozw6NbR
xsPg==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=X4RQkV0g;
spf=pass (google.com: domain of moonsettler@protonmail.com designates 79.135.106.99 as permitted sender) smtp.mailfrom=moonsettler@protonmail.com;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
Received: from mail-10699.protonmail.ch (mail-10699.protonmail.ch. [79.135.106.99])
by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-4255d8b4ce4si115206f8f.7.2025.10.03.09.52.59
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 03 Oct 2025 09:52:59 -0700 (PDT)
Received-SPF: pass (google.com: domain of moonsettler@protonmail.com designates 79.135.106.99 as permitted sender) client-ip=79.135.106.99;
Date: Fri, 03 Oct 2025 16:52:51 +0000
To: Peter Todd <pete@petertodd.org>
From: "'moonsettler' via Bitcoin Development Mailing List" <bitcoindev@googlegroups.com>
Cc: PortlandHODL <admin@qrsnap.io>, Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Subject: Re: [bitcoindev] [BIP Proposal] Limit ScriptPubkey Size >= 520 Bytes Consensus.
Message-ID: <ONFWceYdQT0aizGwn2vyyzdr2RZ9GlQ7vAfNfIRRO_IGsTaX-l3bghNiygjXmccG8UJO_7pxrAr2ZKbUrlvNrAZ83EfyPjzuAR26J7xp4bw=@protonmail.com>
In-Reply-To: <aN_N4i4zZ5Dt8TdG@petertodd.org>
References: <6f6b570f-7f9d-40c0-a771-378eb2c0c701n@googlegroups.com> <aN_N4i4zZ5Dt8TdG@petertodd.org>
Feedback-ID: 38540639:user:proton
X-Pm-Message-ID: fc8c740c32c541d891d052c300d687c26ffda5b0
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
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=X4RQkV0g;
spf=pass (google.com: domain of moonsettler@protonmail.com designates
79.135.106.99 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 (-)
> NACK, for exactly this reason. It's hard to predict what kind of math will be
> needed in the future for future signature algorithms. With taproot, we include
> bare pubkeys in scriptPubKeys for a good reason. It's quite possible that we'll
> want to do something similar with >520byte pubkeys for some future signature
>
> algorithm (e.g. quantum hard) or some other difficult to predict technical
> upgrade (the spendableness of scriptPubKeys with >520bytes isn't relevant to
>
> this discussion).
No matter how large a pubkey script you need, you can just delegate to the
witness if you have a cryptographically secure hash function.
Hard to even imagine needing anywhere near 4096 bits for that.
The going assumption for quantum algos is they could halve the bit strength of
a hash function, but SHA512 seems quiet robust even under worst assumptions.
And it's not enough to find ANY collision for a script or some Merkle root.
Putting the unlocking conditions into the UTXO set does not seem like a healthy
idea to me anyhow.
BR,
moonsettler
PS:
No hard opinion on temporary vs final restrictions. I wouldn't worry about it.
Sent with Proton Mail secure email.
On Friday, October 3rd, 2025 at 5:51 PM, Peter Todd <pete@petertodd.org> wrote:
> On Thu, Oct 02, 2025 at 01:42:06PM -0700, PortlandHODL wrote:
>
> > Proposing: Softfork to after (n) block height; the creation of outpoints
> > with greater than 520 bytes in the ScriptPubkey would be consensus invalid.
> >
> > This is my gathering of information per BIP 0002
> >
> > After doing some research into the number of outpoints that would have
> > violated the proposed rule there are exactly 169 outpoints. With only 8
> > being non OP_RETURN. I think after 15 years and not having discovered use
> > for 'large' ScriptPubkeys; the reward for not invalidating them at the
> > consensus level is lower than the risk of their abuse.
> >
> > -
> > *Reasons for *
> > - Makes DoS blocks likely impossible to create that would have any
> > sufficient negative impact on the network.
>
>
> Further restricting v0 scripts is sufficient to achieve this goal. We do not
> need to actually prohibit >520 byte pushes.
>
> > - Leaves enough room for hooks long term
> > - Would substantially reduce the divergence between consensus and
> > relay policy
> > - Incredibly little use onchain as evidenced above.
> > - Could possibly reduce codebase complexity. Legacy Script is largely
> > considered a mess though this isn't a complete disablement it should reduce
> > the total surface that is problematic.
> > - Would make it harder to use the ScriptPubkey as a 'large'
> > datacarrier.
> > - Possible UTXO set size bloat reduction.
> >
> > - *Reasons Against *
> > - Bitcoin could need it in the future? Quantum?
>
>
> NACK, for exactly this reason. It's hard to predict what kind of math will be
> needed in the future for future signature algorithms. With taproot, we include
> bare pubkeys in scriptPubKeys for a good reason. It's quite possible that we'll
> want to do something similar with >520byte pubkeys for some future signature
>
> algorithm (e.g. quantum hard) or some other difficult to predict technical
> upgrade (the spendableness of scriptPubKeys with >520bytes isn't relevant to
>
> this discussion).
>
> > - Users could just create more outpoints.
>
>
> The second reason for my NACK. It makes no significant difference whether or
> not data is contiguous or split across multiple outputs. All the same concerns
> about arbitrary data ("spam") exist and will continue to be argued over even if
> we do a soft-fork to prohibit this. All we'll done is have used up valuable dev
> and political resources.
>
> --
> https://petertodd.org 'peter'[:-1]@petertodd.org
>
> --
> 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/bitcoindev/aN_N4i4zZ5Dt8TdG%40petertodd.org.
--
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/bitcoindev/ONFWceYdQT0aizGwn2vyyzdr2RZ9GlQ7vAfNfIRRO_IGsTaX-l3bghNiygjXmccG8UJO_7pxrAr2ZKbUrlvNrAZ83EfyPjzuAR26J7xp4bw%3D%40protonmail.com.
|