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 ) 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 ; 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 (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 From: "'moonsettler' via Bitcoin Development Mailing List" Cc: PortlandHODL , Bitcoin Development Mailing List Subject: Re: [bitcoindev] [BIP Proposal] Limit ScriptPubkey Size >= 520 Bytes Consensus. Message-ID: In-Reply-To: References: <6f6b570f-7f9d-40c0-a771-378eb2c0c701n@googlegroups.com> 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 Reply-To: moonsettler 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: -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 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.