Delivery-date: Fri, 03 Oct 2025 08:53:35 -0700 Received: from mail-oi1-f183.google.com ([209.85.167.183]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1v4i6A-0002de-JK for bitcoindev@gnusha.org; Fri, 03 Oct 2025 08:53:34 -0700 Received: by mail-oi1-f183.google.com with SMTP id 5614622812f47-43f53560e8fsf2098855b6e.2 for ; Fri, 03 Oct 2025 08:53:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1759506809; cv=pass; d=google.com; s=arc-20240605; b=O0xYNZ3v+sCBhDe8D2pv2o2TsVVOgd3iCNFhIUqcS+9+W+2j85N+AzpRLCVGSnrR9n k8OCpNUq8lt+3fD38vWHJneYeTiZUmmDjH/jOCMDdy/wUhl2jAYNuqCoyZHP83S3yvTD ZkzGhwsrV81rAMY0s3Zpa7ZjqSSkad2a/kuy1U/c3Jgn+3CyuNuhUOYgkrSxxbjF+0lv SRpc3wUspR7v31M8S8jtsoNF0S2hY0uwgVDVuImKgNNJXFQ+QEHD+b4yKho40GKEZrMm hAqByEYcpQeU/WKR9/zwe5yF6Zb7abO7SwGMKCcg6IWBhEZ8nSxvN7fBI8nmczVWdeWe A8QA== 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:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :dkim-signature; bh=aXVydySXwyzHMi7/jWnKw/37QQPtTdBhtps6m6TZ8wA=; fh=PI1+LceRymDurh45cQDDN6zeYF3smjA/ZHGDXw86bfI=; b=S0L3b4HPjrJoiKcswE6LjLhTOqqHj1ILOp5zzcfgcrR+iVUQCAXCAkxoH8kXwSQA52 ofzt+GDUv0etVAaRRVqBQKO32zfZwkStkMePluHVXrO40M1bUlCwRPbE49fOciAXCKNG yuyZh0S9P0xIEhFvl9o5v3ZeBd+WOLd66nkJmM2LJJ0xAzgIfOJ2m/auLEpDNzJcHv5g /wci0udU6ZMsaR5L0T+zlzZJX2O18bDiTFQ6y8ibVRYFlw5VajSRgXLfmHLKzbwaoORK 19ltm+aw9vVhDYwn6fhXAMqpxmIcTYkAYmKO+fIee9EdosXTNpncriT71E/pdS0dnvSJ A7iw==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@mail.wpsoftware.net header.s=default header.b=v5hSCjuB; spf=pass (google.com: domain of apoelstra@wpsoftware.net designates 66.183.0.127 as permitted sender) smtp.mailfrom=apoelstra@wpsoftware.net; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wpsoftware.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1759506809; x=1760111609; 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:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=aXVydySXwyzHMi7/jWnKw/37QQPtTdBhtps6m6TZ8wA=; b=uqAC0OKxl+F8kS3SxrOSGjTTlG+b6EAbz76tpCf5qtw0vidfduZzf7Jzy5pOA25Wq3 vUX+yAc5ZcbDsAsAnmE05jenEr7kAvhvrEvOb38/yO8QbhyyssN/5pUQAiFFhzwI2exc l3R1xVRJwuquqdOPBUBzHHFr9jWGY+dghclnB3eDHIB6JGl2l6oWkKb+Ha2KPWbUBm98 csBEUf3sIa3qMIykmLeCNMOemIsbv8c64ozzFbf4a2B1ffIHH2uOFoLkY/0MndB5p0sP 0unKgbiFuDV6qcX8VQ2ojEElruYsOrD24Y769SkTQtTW0/U4wLsNTH48XIPuLIOb1Rlz wl7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759506809; x=1760111609; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=aXVydySXwyzHMi7/jWnKw/37QQPtTdBhtps6m6TZ8wA=; b=QkvEX8QfvfJ3Ij4Vt3JRmOOdyfVHXw7i/pKsZ6TQNcBg0iVklUPX9MCB2YKCOIdoNl I9dBaKdDNCFjLwvb7gtnQX0+HCOizRR4IRqjk7JLR6e/BhS3/u5XVH06gSuervG21nwI iOjyyMAJKLa0HKuN2hZkHp7vXTKURq0jb8xfZfLPEGGwhdvgzJht9b7oIVM9dQ/01gSo SciSDUdPZQkxXJqIbR/9c79BKnZ43QmltH37Nzpm6IHQC7eca2IDTwKyWl6xxOdlH6zZ su06Q0HB6FUKgTTVOEnMJgE/sae0jd5JRhkUToqjEOSeW4s9Ps+FRveC5rqid7BJMQD+ DCXg== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVlrP6P3TlgEE9GG37oefYEsFD/777qbJxPnPMaHfYY4j1CteTOflk6o8+8fA7XPtb2o8RmasWUG0GM@gnusha.org X-Gm-Message-State: AOJu0Yx8EQNZGS6/1yQjO7taeeh+rvqN7ZkzDNb/RCeTTJjE6Bvm1ieX D2oLXnKPEpacpAG03f02tPrU/k0EvIgqWC/wyV27VBEMe0zGuUnH1Rfq X-Google-Smtp-Source: AGHT+IEKvRRiHbzuT+izm7GgMRcUvOImM7wBa6kTA2An+A9G8y1yX0sGS9RdO30IW9covrsGJktZmA== X-Received: by 2002:a05:6808:2201:b0:43f:8447:e94d with SMTP id 5614622812f47-43fc176f841mr1856853b6e.19.1759506808822; Fri, 03 Oct 2025 08:53:28 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="ARHlJd42caRgi621bBlFTU1ZDyP51ZfboGebrRje96YzctxotA==" Received: by 2002:a4a:d052:0:b0:61b:fff7:a291 with SMTP id 006d021491bc7-64dfdd1a01cls1153076eaf.0.-pod-prod-05-us; Fri, 03 Oct 2025 08:53:25 -0700 (PDT) X-Received: by 2002:a05:6808:158a:b0:43f:5e4b:42ae with SMTP id 5614622812f47-43fc176d7f0mr1962488b6e.17.1759506804936; Fri, 03 Oct 2025 08:53:24 -0700 (PDT) Received: by 2002:a05:6808:98f:b0:438:241d:e72f with SMTP id 5614622812f47-43fc0851d48msb6e; Fri, 3 Oct 2025 07:59:36 -0700 (PDT) X-Received: by 2002:a17:90b:4d05:b0:335:2934:e217 with SMTP id 98e67ed59e1d1-339c275ae0cmr3971468a91.10.1759503575397; Fri, 03 Oct 2025 07:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759503575; cv=none; d=google.com; s=arc-20240605; b=MlqCUN7kK/dlILl8Q/90N/hqURk3wWWhY43LPfs+OOFO2kyi4CRmPS8QrmRaSrusK7 /EaA6UOs6vc/nHHRrkGRGK3EjFD42uA3uO3Zis49KrV9V31hKvUIFZv2cTGOAVJReoM7 sAOatj5tm+6wivnMN0Xw0q2QAeHxRpTy7hGywDF4KoSDlgr7HOD9FQZ69ItNS55TEfaU gWUSy6AZnAUWP77QdoFwEN3/Audji1qA49V387hEkw5OiYzBBm5QoMkkVKTkZ+EZr68F r5jv5sXJnFfEcDja90u7Zi+uO5R2d6CiyfD3VrmQmFKFHOpARNwqUMEmE3h9Xf9C82T7 44dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:dkim-signature:date; bh=cDXyEB284c95UY/zVr4gFkJscVPNoP93IDF3EelJU3E=; fh=+67N2uHR2MfeB757DuDnNuhtYMQ1l3OX1mrsWyqvKgo=; b=BkIkco+dAL9jExsDsNJ7GXNWy+SxGYK9h4QGOu7SyIKHFIwG003K9T/b4Y7YVCoMd7 qnlxrk8v15O6r7ZKorsrzwojBoJ5lV13ih+6sv9W2KiqKLKCZ2ZkH103NXqaUMO0p5z5 ftTAt/y7+vyz3MzOXShPJBa18Mm3xBnV2xKPB1Eyv8zsmccA9e0iNCVUWtmbUMx0I5Za Dml5c19/qrc3gAFIwsR5WkZK5aj9nrhuqEIEl/+0P6X6gFHfxVEjMV+BjBaBXZLtRGX2 jQEdUnNBTe/BaGV49ClcxhDJs9UWdilwzWXS1Fd9ZXpHsmCxVMpWtZAI1VonGkZ8bwsE wReA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@mail.wpsoftware.net header.s=default header.b=v5hSCjuB; spf=pass (google.com: domain of apoelstra@wpsoftware.net designates 66.183.0.127 as permitted sender) smtp.mailfrom=apoelstra@wpsoftware.net; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wpsoftware.net Received: from mail.wpsoftware.net (s66-183-0-127.mail.wpsoftware.net. [66.183.0.127]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-339b4f2ce30si246210a91.3.2025.10.03.07.59.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Oct 2025 07:59:35 -0700 (PDT) Received-SPF: pass (google.com: domain of apoelstra@wpsoftware.net designates 66.183.0.127 as permitted sender) client-ip=66.183.0.127; Date: Fri, 3 Oct 2025 14:59:32 +0000 From: Andrew Poelstra To: /dev /fd0 Cc: Bitcoin Development Mailing List Subject: Re: [bitcoindev] Re: [BIP Proposal] Limit ScriptPubkey Size >= 520 Bytes Consensus. Message-ID: References: <6f6b570f-7f9d-40c0-a771-378eb2c0c701n@googlegroups.com> <842930fb-bede-408a-8380-776d4be4e094n@googlegroups.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rcEpZj59VSCFmsX4" Content-Disposition: inline In-Reply-To: X-Original-Sender: apoelstra@wpsoftware.net X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@mail.wpsoftware.net header.s=default header.b=v5hSCjuB; spf=pass (google.com: domain of apoelstra@wpsoftware.net designates 66.183.0.127 as permitted sender) smtp.mailfrom=apoelstra@wpsoftware.net; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wpsoftware.net 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.8 (/) --rcEpZj59VSCFmsX4 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Fri, Oct 03, 2025 at 07:48:38PM +0530, /dev /fd0 wrote: > 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 > I'm relieved to hear this -- if you must embed data it is much cheaper to do so in witness data, exactly because this data puts less load on the network (in particular it does not need to be stored by non-archival nodes). Unfortunately, the evidence from the current "filters" debate, where in the current 80-byte policy limit is filtering transactions that actually appear in blocks, suggests that we just need to wait for the "on-chain bitcoin spam" market to have a shift in sentiment before we have people blowing past 520 bytes or beyond. Adding a hard consensus limit seems harmless, and will put a hard barrier against any such sentiment shifts. If "it's cheaper to use witness data" were enough of a barrier, nobody would be using OP_RETURN outputs today except for opentimestamps and maybe some other super-low-load applications. > 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. > Good point! But if they are forced to use multiple outputs this will increase the cost for them even further (and force them to split up their data, which may force some technical pain even if the network fees aren't enough). I'm no spammer sociologist, but at some point if we can force the cost difference between witness spam and UTXO-set spam high enough, nobody will choose the latter, right? And if not -- one of the most serious problems with spam is that it muscles out protocols like LN or Ark by out-spending them on block space, preventing them from gaining the network effects they would need to spend a comparable amount. Every marginal cost we add to spammers increases the delta by which they need to out-spend. > [0]: > https://mempool.space/tx/c5714af322cd2ba94adf3d74325eb17f03d029ad2bf47dc54c3d929833c02628 > [1]: https://mainnet.observer/charts/utxoset-size/ > -- 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 -- 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_k1EAXZ0schWDs%40mail.wpsoftware.net. --rcEpZj59VSCFmsX4 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEkPnKPD7Je+ki35VexYjWPOQbl8EFAmjf5NMACgkQxYjWPOQb l8EohQf8Cw/cx5rEvND+8CA7JKizzW2/GR3R+GVLBOcUtrYo/4oAdFCTofox8pkP 0GSlKyYwTlwy+m3XB7Po2y5IPVO7pYbmXWtlV5jCuhvMWvkcLI6LANtBzeipDRlp /Qjt40q9agGwV/ocwT+N3rR6gzPuymyrGrG6BVcrOmrUD4W+fF+rI/ZrGOOeOKJe NFJCiDEaJY48b3T4vxd8cbBtX9wkc8i5FRBll8OgqmBw/q3q0PDGIoZxboRNLnNZ f6ajS9MKJPhWf8lYZyci2X+Lu1AqHIJv703ya1lXTfj6WxeP5JHhuJXYiqnWEnqq 0eb7JN1F+EIG4Qci0iRjE2GETmubVA== =Y0z8 -----END PGP SIGNATURE----- --rcEpZj59VSCFmsX4--