Delivery-date: Fri, 03 Oct 2025 08:52:35 -0700 Received: from mail-ot1-f61.google.com ([209.85.210.61]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1v4i5D-0002ZM-0E for bitcoindev@gnusha.org; Fri, 03 Oct 2025 08:52:35 -0700 Received: by mail-ot1-f61.google.com with SMTP id 46e09a7af769-7b187d6f673sf286943a34.1 for ; Fri, 03 Oct 2025 08:52:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1759506748; cv=pass; d=google.com; s=arc-20240605; b=OFyhairTwclEe5fFASZKZC2iKfpbicvEwuiYqk7lNDhO8P/Qs2pU+7EYN7czu4tCWF sbU2ouK1xiKH76eJqBHD6d3yXq5fcKT2TDrVZ4xt1dw617PhVoBCERtGiFSrlvrDdy8Y MIsrOscidYeO0kM+bF/tHPx3XSbX1wnt/WM3g6zQCIHaBlkUbnpnPP6GXjofkbXFNazJ OHFef6tVsYv+IWroFZhhfQoiGr/GupYfSKZccwAAsiy+PsX36n6lr/D+EUa9D0kW6OsX VjCEVqc0sAuUoj0FUms0ycF7i8f+CiOrTqpMIrK8tBnWDH1ersBEpkFrRyway03JuNnl DwKg== 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:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=+Vj47Iotn94EKtz5oFT2Z9ATtxmVV2FU0rMvsEgUWvk=; fh=YhO90ksmLfebNy4Any2zvM4Fqm9URhwmQJqNukcu8SQ=; b=F4oeOqYt+XW3wR2IvrClzTlQtLYNgqfx2WxQxk40aiu706wf2XOPjwzhA6ssSqhypZ bj8mdXMYJOW3v5/Uqs05VAOOgXwDui1cq4U2jltF2KVtclp1SYNZwmkfuZ7q+mw9q9CT FOY3MdPeCZ89tYWC5gn9LlMAgI+/u9qBBRHt2ayhhZxEPy6K9InbvMPwbk21ulDi9qKe JQ4QSjGZL+JLTo/HoaItABryLdNgrSaAUm+2xUtR0px974430olhVEcxS/nFTyLnZp/t stGkuC1QV8QRD4k0vF2Q4KV5J3bSoG3lArKtddWHUL8Dxd9Iacy/jO/vCReAZQbVRvDW 4BfA==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MdvBjjgv; spf=pass (google.com: domain of alicexbtong@gmail.com designates 2001:4860:4864:20::29 as permitted sender) smtp.mailfrom=alicexbtong@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1759506748; x=1760111548; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:sender:from:to:cc:subject:date:message-id :reply-to; bh=+Vj47Iotn94EKtz5oFT2Z9ATtxmVV2FU0rMvsEgUWvk=; b=f8rajhaDjvUJU6HOM6my99sQsloezIW+pE/fJwFDN/gbIzi0rx+487cHWRuom8tjCK Gcc+uuecIJos356XRoV/fAmzy7i9WkNW380thf0R0+Nz59rl7SwboW0EJdij4tLCOQm0 twdtToNt0FYZKDAXkZF1YWRPU2b2Fcxxb+lwsKsnwWH30NXESKSKug6rVXBi3min1JIS G6SB87odAKrUvx1FeSnGMYE5f7uBpquGT7+JGR4jiNpQaKnDjDuFQfnlP1K0qcgl9cqQ qQGWpJi6H1XvAEgxNwOFfOgK51JWP/LgnGj/2qJDnuBK7p1+qoAe20GTJ1Z+TXnmHTuD aINQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759506748; x=1760111548; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+Vj47Iotn94EKtz5oFT2Z9ATtxmVV2FU0rMvsEgUWvk=; b=II1DzXL6cT9lFJSYKpQJovBpauodO6aE6IAepdXbE2ODOiPbkViXQmrx9+LiybsQ+N 44Cs5WVupjqE7tUnxLESozBcy8DxhvQ17aRxnpwg3018r56dYl6a0ZpX96iOIYvkJ1SI iIYx0tsb0H6jGeYDJj4NS9KiZwUD9H9krnGk9my9KrjCesrWpNwku2K4H59Pkbzj1coS QMdZ77zqUPUG7pHNfk5f033vS72EDklo6zhxbn52/KDgq6h6tC3p0dsKxoVZWr8CZiP+ VplGmxzKk4iKs8IpRhY+H/cX7ywsMmpCJqOuKZxFPvPf+tt1p9TxFxzxQ2Uta7Lp9hk8 +OaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759506748; x=1760111548; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=+Vj47Iotn94EKtz5oFT2Z9ATtxmVV2FU0rMvsEgUWvk=; b=WUi0rcHmWiPpRe05caMmpe12aDVv+skoGkOj6ouyXxipvQM1x5x86d+V8VFJgFRWhK gGKeuXUf3JgvkfYAkzXrxZoUxBpt/FK9RNG+Qlwq4VKNU1A2mpBYTLTVlYH7qdGGLUT+ gF/j0G15pXlIfx3bCpvd8LsRJ7hcGdXm/ZSFTLzXfwLsUw5egr4EAXiifz8B/sQabirU ujEwihy3/k6y76rHK3k04bVvgLTo5I9OoXm+tz6y1azeatmwI8A+S16Bpytu9U1BYXkm vfiCk8FErmElizH0JXhf1Eu25iXN1dsKPumQuBfoP5Zhv04T857SKHgbf3uInnVx3kLF 4G1w== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWPGJGupm/vYEy8WikdXi+BqWCRIkj+qT4GZE3jpx7aVy4aHUEK21KFpbThi0tLlGVTVjqSVnAV2yW7@gnusha.org X-Gm-Message-State: AOJu0Yx+nX/HxFg38Fzq17eeZrWQOoOVWR1T5XMjX5W5u+3vFqXcmt0U GMBt8zsi0rikqUxPU4xeScctuxRxdACLzNwagXiefxvpoi2iveZSzO1T X-Google-Smtp-Source: AGHT+IGDtECjOlVaHLm4tCW7FUFnaJxRjRRmZ20IwwsXhYjubsWGc+xIeRFa7jULOrsmYwUaNJ7G4A== X-Received: by 2002:a05:6808:1812:b0:438:3b96:7cf9 with SMTP id 5614622812f47-43fc17b3a5fmr1681039b6e.15.1759506748607; Fri, 03 Oct 2025 08:52:28 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="ARHlJd72Zta34HsoGgz5XXMyy6W3Fyos3i9FvKZpm1LCkXO/tw==" Received: by 2002:a05:6820:841b:b0:648:c7d9:ba1 with SMTP id 006d021491bc7-64dfda35fb1ls800546eaf.0.-pod-prod-07-us; Fri, 03 Oct 2025 08:52:24 -0700 (PDT) X-Received: by 2002:a05:6808:518e:b0:43f:1c66:bb94 with SMTP id 5614622812f47-43fc18884f8mr1274268b6e.47.1759506744196; Fri, 03 Oct 2025 08:52:24 -0700 (PDT) Received: by 2002:a05:6808:1b2c:b0:43d:2644:97ea with SMTP id 5614622812f47-43fc081a8aamsb6e; Fri, 3 Oct 2025 07:18:50 -0700 (PDT) X-Received: by 2002:a05:6830:470a:b0:7ae:b6cd:b0de with SMTP id 46e09a7af769-7bf772bd806mr2118867a34.24.1759501129955; Fri, 03 Oct 2025 07:18:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759501129; cv=none; d=google.com; s=arc-20240605; b=h4wJ0Mn9/fuimv8cps9wJ085RseAPaxZIY/dSDlEhV+3RjH50Y9RsQTvSzmsPWqi1w sYTWG4ENHWbGKZwBshNB2rlqqU/ASs3gNGQf3PwniEnnWmL8O0ctUt6cOAXuVAz+fnU6 4Xafx5z+PRxsFRDnBMEHi9bFx8soZ2/sTrwDS5F/ZH2t0tPrJEKj8pIAneX4r80/WEI+ PraGZeaqYzlE644ZxLtHaQHIzfXyShQJjw4z2W9YBFwBT8P/6wJhe5ZPwt6I0IbAVpTG brv04j+x2a1d4E34SLC48e3wWiPbSI252pa0zGWMltbNRyF0b8/tWdon5dxaWoHuNhWg DQGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=I505dMAznh+DupZiA3nc9ShUWm3wmuBEV+YC67JUXfU=; fh=Pr8BdNueWheXDew+ifn/bKM5rzXGO0Gi8K1DjK18d0E=; b=E0GO4m2uYsWSPDNj0Ff9DERCyKKkOFurqypLbW390+wRU22UrAjHEziSK4ddSee1aC Tm6FYhI52xWB33oT6/2I7364RwbLl3z6BqKFBk6WE0PVAJxvh93CQ/mqLkYfLeAbzPHM FdlMdBtmK2F5VvHKsIME+SSA/WmNlnKox+QYdrBQldgRoUVGr/9/mgntZTHKxdtm1Q5h arLekEWqECh190W60b8tCvD8v3MhE492jnfWqKOFxjMJBRw869e7O3BBhU74bSODVAP+ TiHn4GILqLhvhFBznM6yiUnF6KgQ4MJ8Jx96gefXhsEdXLoJu938+RzCVUjbqhAJWndg 6EXw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MdvBjjgv; spf=pass (google.com: domain of alicexbtong@gmail.com designates 2001:4860:4864:20::29 as permitted sender) smtp.mailfrom=alicexbtong@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com. [2001:4860:4864:20::29]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-7bf3cf372c0si124791a34.0.2025.10.03.07.18.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Oct 2025 07:18:49 -0700 (PDT) Received-SPF: pass (google.com: domain of alicexbtong@gmail.com designates 2001:4860:4864:20::29 as permitted sender) client-ip=2001:4860:4864:20::29; Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-36f13d00674so1142374fac.1 for ; Fri, 03 Oct 2025 07:18:49 -0700 (PDT) X-Gm-Gg: ASbGncvcKotWuNQ9SXBw5qOj9jX+4rs+hmhCb2MWv+q5gr7Jc+Up+5Ltg42NDtJp7gv BOFky/oHd+EArU89poCPvO/duR1cUjDDOrN5TqVLMSxRVLu2hLKvHIaOFoQhr8B/l6oxL4Plevo WEF1LFWNcAVZh+hoXE8cx0zMPDGRScQrxWjqVM4DBsl4ZXBoHx5of5gK+eihwZBU/aa7cWdsb/E B6OQPbOLWzwrF52aeSnseeZvg1jX+238hU+31BS1M/Yxi/K/Q== X-Received: by 2002:a05:6871:6a0:b0:34a:7993:23c1 with SMTP id 586e51a60fabf-3b0fa43e291mr1754102fac.36.1759501129444; Fri, 03 Oct 2025 07:18:49 -0700 (PDT) MIME-Version: 1.0 References: <6f6b570f-7f9d-40c0-a771-378eb2c0c701n@googlegroups.com> <842930fb-bede-408a-8380-776d4be4e094n@googlegroups.com> In-Reply-To: From: "/dev /fd0" Date: Fri, 3 Oct 2025 19:48:38 +0530 X-Gm-Features: AS18NWAlGO8OsX9V6Tun2qlZu_f78PiVKGms7M-YIZAVpD5TfDnJ4LRs9yu5Xhc Message-ID: Subject: Re: [bitcoindev] Re: [BIP Proposal] Limit ScriptPubkey Size >= 520 Bytes Consensus. To: Andrew Poelstra Cc: Bitcoin Development Mailing List Content-Type: multipart/alternative; boundary="000000000000cd706b064041c72e" X-Original-Sender: alicexbtong@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MdvBjjgv; spf=pass (google.com: domain of alicexbtong@gmail.com designates 2001:4860:4864:20::29 as permitted sender) smtp.mailfrom=alicexbtong@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) --000000000000cd706b064041c72e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Andrew, > Restricting it to OP_RETURN would have zero effect on people trying to use scriptpubkeys for data storage. 1. The data shows that nobody is using scriptPubKeys for more than 520 bytes. In fact, people have found new ways to encode data in transactions. Example: [Merkle path][0] in taproot control block 2. If this applies to all scriptPubKeys, it could negatively affect the [UTXO set][1] size because multiple outputs is an alternative if someone really wants to use scriptPubKey for data. [0]: https://mempool.space/tx/c5714af322cd2ba94adf3d74325eb17f03d029ad2bf47dc54c= 3d929833c02628 [1]: https://mainnet.observer/charts/utxoset-size/ /dev/fd0 floppy disk guy On Fri, Oct 3, 2025 at 7:29=E2=80=AFPM Andrew Poelstra wrote: > On Thu, Oct 02, 2025 at 06:21:18PM -0700, /dev /fd0 wrote: > > > > We can't predict future usage, > > Aside from proof-of-publication (i.e. data storage directly in the UTXO > set) there is no usage of script which can't be equally (or better) > accomplished by using a Segwit v0 or Taproot script. > > > so it would be great if this was restricted > > to OP_RETURN. While there is no real use for a scriptPubKey larger than > 520 > > bytes as shown in the data you shared, it is possible that users may > create > > more OP_RETURN outputs after this change. It does not affect the UTXO > set > > but will cost more and economically discourage the use of multiple > > OP_RETURN outputs. > > > > Restricting it to OP_RETURN would have zero effect on people trying to > use scriptpubkeys for data storage. They would switch to any of the 65 > or so other OP_RETURN equivalents, and failing that, switch to > OP_RESERVED, then to OP_FALSE, then to `0 1 EQVERIFY`, and so on. A > restriction that applies specifically to OP_RETURN outputs is no > restriction at all. > > > -- > Andrew Poelstra > Director, Blockstream Research > Email: apoelstra at wpsoftware.net > Web: https://www.wpsoftware.net/andrew > > The sun is always shining in space > -Justin Lewis-Webster > > --=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/= CALiT-ZpJ_F2UrvUwRjgMukxQJ%2Bs8GVzgDCHWt%3DzMR%2BHkMDDWWQ%40mail.gmail.com. --000000000000cd706b064041c72e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Andrew,

> Restricting it to OP_RE= TURN would have zero effect on people trying to use scriptpubkeys for data = storage.

1. The data shows that nobody is using scriptPubKeys for mo= re than 520 bytes. In fact, people have found new ways to encode data in tr= ansactions. Example: [Merkle path][0] in taproot control block

2. If= this applies to all scriptPubKeys, it could negatively affect the [UTXO se= t][1] size because multiple outputs is an alternative if someone really wan= ts to use scriptPubKey for data.

[0]:=C2=A0https://mainnet.observer/charts/utxoset-size/

/dev/fd0
floppy disk guy

On = Fri, Oct 3, 2025 at 7:29=E2=80=AFPM Andrew Poelstra <apoelstra@wpsoftware.net> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Oct 02, 2025 at 06= :21:18PM -0700, /dev /fd0 wrote:
>
> We can't predict future usage,

Aside from proof-of-publication (i.e. data storage directly in the UTXO
set) there is no usage of script which can't be equally (or better)
accomplished by using a Segwit v0 or Taproot script.

> so it would be great if this was restricted
> to OP_RETURN. While there is no real use for a scriptPubKey larger tha= n 520
> bytes as shown in the data you shared, it is possible that users may c= reate
> more OP_RETURN outputs after this change. It does not affect the UTXO = set
> but will cost more and economically discourage the use of multiple > OP_RETURN outputs.
>

Restricting it to OP_RETURN would have zero effect on people trying to
use scriptpubkeys for data storage. They would switch to any of the 65
or so other OP_RETURN equivalents, and failing that, switch to
OP_RESERVED, then to OP_FALSE, then to `0 1 EQVERIFY`, and so on. A
restriction that applies specifically to OP_RETURN outputs is no
restriction at all.


--
Andrew Poelstra
Director, Blockstream Research
Email: apoelstra at wpsoftware.net
Web:=C2=A0 =C2=A0https://www.wpsoftware.net/andrew

The sun is always shining in space
=C2=A0 =C2=A0 -Justin Lewis-Webster

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.co= m/d/msgid/bitcoindev/CALiT-ZpJ_F2UrvUwRjgMukxQJ%2Bs8GVzgDCHWt%3DzMR%2BHkMDD= WWQ%40mail.gmail.com.
--000000000000cd706b064041c72e--