From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Oct 2025 19:32:19 -0700 Received: from mail-oa1-f63.google.com ([209.85.160.63]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1vEISW-0003hM-Ow for bitcoindev@gnusha.org; Wed, 29 Oct 2025 19:32:19 -0700 Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-3c76f22c354sf900159fac.1 for ; Wed, 29 Oct 2025 19:32:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1761791531; cv=pass; d=google.com; s=arc-20240605; b=FENSCLBQtFWsWfQ/Cj2VNPui30yOZtJfAtm5dcvYNK4o3sLUW0OHHVaPqzP1mMY/NH HNGeCLva+vjAayRifb7gSBWPZYe6vAlEvBfM/9A9vzZT5yBmZAF616AzYkZiYEQedgsv MvGb4RjPyt8UeNUVJSLapikkr/mrowKJqI4apsnI46SU7K2/q4Xk+T/Yg6sDs9t8BUNO Fx9aAKQGP7i4n4Cwkt5InV3BRkjoAWRe0BGto44QGEh9lYXsV+5XP4LvsfwokGsneeQ0 N8rXMG4z3sQMyAodtDFmop4D3PWnH+85oh8aX0hznSoj82hMX8K0E86nAZxZOKw48Rwn GV2g== 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=Cju8btbmVIHR5eT+NooTAf32FEWOrPZAbRS3ZNInf6c=; fh=2yRZ+5hWeJPM+CuaY/gC5uYVcz424w4t/C8XP9bGwJ4=; b=FqXf4QLS/V9mzHWXWYuNLdDPFN9U0kxAsjmMSl8qs+E3JhUIpFiKPMiEr29kgb0EvG V8lvQ0HZbPgZVVnSg5Et48jC+r+XK8U4TV8ILnvhO8Bk2C3ikoAo4B48gLGb/B4vEv+3 cAaDBTWV8SJT129U7XjXfB2C7p7mx811467WTmSwHEBpxKq/6SAKJmLMbmAKgJ6v3M7y 2d5AV78FOV9NSj35MK0GIv+oaTvOqdXYgvLqkU8AwGqPn365fOhGzWHHeD+wB+pqpvxz v5iDt+b/tCFtv6JxA1vZdyGYVp0HQjUjbn1uhygx5qb1D81hjFF1fP94TCe9ZGe+OgHq AXAQ==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dE+OCo2D; spf=pass (google.com: domain of gmaxwell@gmail.com designates 2607:f8b0:4864:20::62d as permitted sender) smtp.mailfrom=gmaxwell@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=1761791531; x=1762396331; 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=Cju8btbmVIHR5eT+NooTAf32FEWOrPZAbRS3ZNInf6c=; b=OCuSN02o6WKfiteYB5/Pu3KdwIgu0xjh1kZafG50mb2fg59F1o+uLIphBncrYUNhtI aVU3R9klHdBh+V7SM11L5V/UZG2t5wzJK4UyTnhdlwkgHXBm5PDBx8IMYSDorrU4U6Nr unVSyn25+DcmVbNI2y7VX3LT97D87yoXryWfL96vhIVYOCAHsmJwlhmGvKPZwNC1YeGd SqV9mNNLG6tKhr0k5pyRXF1GfODGgahogM3wggPx1HDLW712WOWcG6Zmdh2NZHSOcw9P T4R8jRjNoeeF6m98QiYMGxW3Ih155o0or/ZS1snl9euiPiX2BMw9fMbMOlnNr7b0Aw2f WWjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761791531; x=1762396331; 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=Cju8btbmVIHR5eT+NooTAf32FEWOrPZAbRS3ZNInf6c=; b=evTUSfTSVIk4jxTJWCJnDRyarL4xGvQqcoZSy+PTzNbd3yvFc8oc2MYOlWNGi//3R3 BKe2cw4Ueum2UExNIaePkHkfyDm7SXsivD/iYctNYuUSP8pLZDqSBGb6G0G14Loml0Nz HVQd9G0mFQmVzpvJ1cUkioqgYZNdsYTCLhPczN0bTFi9jZvOWX+xlkvK1epcwSuMAt+9 ky9csCHENp9zXD87xrwr+8vWauhLXmXxhgnmUkBbDic+wAokl+lg3W11+RYCEUho4tQt BnFL92GEDRN6pck17jtBUvSKyOPXhxQ7VUSxMRdBNF+xc4DuFn/tVN+iXtkGMv5Th9vq T9Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761791531; x=1762396331; 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=Cju8btbmVIHR5eT+NooTAf32FEWOrPZAbRS3ZNInf6c=; b=ht/zWz/+qeYI7Mn6mmmDKojDtRZtz/LUfhauLmrrltXk6sYb9pqHZSctjXWHGkkPSk pVWOWnxiCqoKeLU81Rnbmy6DuAzlKuzAaqHUKrWWIBzmAtlMG31Kfw1x/3v9yr+dm6Cm O5zZDoWcz2Sd5ZupYCpVSV1hVge/f4mK8349M66e/4NeOf0rfdW+lg/pLiYo3k/qEg1z e/d7ItsMq6C3XQ/fCMApLVnnnyTs/CbI+CuD0uZnDAtKLwBV+xA/VYq5nSyq/72WG4SK DgJ8u6cq2N/M/ejYInh5LP81rNwftCKS8PH4Ym9SS3ViZxU5+UUykSpik2pe2xgwowMM qkiA== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVy7Awu2Es4x2+F0zBBl4YGPXdAKCMutuBttmdxrbHY7c9GREUtz//jqH1pU9mSN7Of0er/eH5D4czM@gnusha.org X-Gm-Message-State: AOJu0YySwVAvaLpvEF+GKqy0ZJovTUYAJsZ77j6DgtQpTDYemCXXSMbj bHWWpzgQk24Ot/jOUZlXd2JWMlJcMkG11wsEz+WWrNlh23AdSXaazAjD X-Google-Smtp-Source: AGHT+IExcY2hj8PHyHp+r3q4QZS8mN7kTlBNaCK9EdfrYJiVzZF/KVHEAV8ghR1Zaq5GEYJydreDkA== X-Received: by 2002:a05:6870:f614:b0:2ff:d8bb:fc26 with SMTP id 586e51a60fabf-3d747919365mr2914158fac.35.1761791530397; Wed, 29 Oct 2025 19:32:10 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="Ae8XA+ZXSxlwiC2rG9eOsnPPbRTySN9TjwhEGmVl8JG+Nwr2jA==" Received: by 2002:a05:6871:418b:b0:3d5:92b8:659d with SMTP id 586e51a60fabf-3d8b985d2a8ls211892fac.0.-pod-prod-01-us; Wed, 29 Oct 2025 19:32:06 -0700 (PDT) X-Received: by 2002:a05:6808:3013:b0:43f:5f5f:370e with SMTP id 5614622812f47-44f7a44e5bcmr2436135b6e.19.1761791526328; Wed, 29 Oct 2025 19:32:06 -0700 (PDT) Received: by 2002:a05:620a:10b0:b0:89e:af87:26f0 with SMTP id af79cd13be357-8aa83d82dfcms85a; Wed, 29 Oct 2025 19:27:08 -0700 (PDT) X-Received: by 2002:a05:6102:548f:b0:5db:2217:3b63 with SMTP id ada2fe7eead31-5db906b7afamr1772350137.39.1761791226963; Wed, 29 Oct 2025 19:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1761791226; cv=none; d=google.com; s=arc-20240605; b=SbBwA+97TQ++QL8AnFlZG10IZWuKt1uh907VUD7Cm+4EBkbn0TwgGjBuAS9z7tiD3Y 1V/n+lke0TXnaWJxDjm11rMzMmyKBuxtSMJ4DbdeQTyAxUKXEIPoCAE1wyLYG+RqBb2g E0PC7Ij/NfLOzkvN6pU0I77hKv0YqDz0UXpJkTNBMx0B9I5vjDf/MiyAqWkn35ExMTgZ QoK9P6HoMhRsvmgLNImY9gHVPkbn5BuiLsGelQo6vfmpq2pUFtRePW2laY6+emI302k9 XDoVLonJ3cBgIJZfCoYFr8P9BhSHlbzR8OdZH0Ok9+EOPKJiE27WdNKziNYG3ODtU6UD kLFQ== 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=pibzQpnxk6q3k3QrHHh6piToQfdQSW7zIjUXD+p5/T0=; fh=XRCt6tXyE13OJL9bdi5QDV4LIbaN0BGGFFP1sVis3HI=; b=bGNk4XKEGzP2hfW08MEBY3A/UlQxNb2+4MBHRnDgd3UcMW4vIu4OLr/oU8JLf61y8b klYwrX2lekQrZ3HPHWQM1cS6mkHkjUGYy/YKPq3DE3lRony3Onu6aSL/czSbJHztw0Ob PgDD/LZTFmRwPUy6L/4u+wBfFVZ7dlzYSqKP0f5b+/8qq0OSjo0+HSPbjW9h+0F0a1LK YM8qeeHDlJXKqypAr1Jggz5VeoUEGErxTMgrIdwPiuCZUyJpNvX60vlE3DPb/gcW7kUo foEw5yqVhG5F9ApXSdOANmWgjBpX/Ykj9n1UlL8z9CjA6Bqafe+OQuB//I90sUoztriI kuvw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dE+OCo2D; spf=pass (google.com: domain of gmaxwell@gmail.com designates 2607:f8b0:4864:20::62d as permitted sender) smtp.mailfrom=gmaxwell@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com. [2607:f8b0:4864:20::62d]) by gmr-mx.google.com with ESMTPS id 71dfb90a1353d-557dee167c8si917179e0c.5.2025.10.29.19.27.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Oct 2025 19:27:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gmaxwell@gmail.com designates 2607:f8b0:4864:20::62d as permitted sender) client-ip=2607:f8b0:4864:20::62d; Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-2907948c1d2so4925755ad.3 for ; Wed, 29 Oct 2025 19:27:06 -0700 (PDT) X-Gm-Gg: ASbGncv7Uha475Wlzkei0uRBTkNuydwF0n7rsLsProM+M0O9T2cx8z428QrjxkfYhT8 vQy6Me5gsPznK3jAxI7v1iw8fe8QkjuGIV2wb64+1ZWSGN4O3feXhqUdb1KMBjKzudfjGNvcN9s zJQ9DO7BvKURLMJGKHdyC5qloMy7HCzKczp3L7xqxi4zAvJOUdT2fdbeaefF4KWtu6DVeZbGDbY 2XbtL80YT6GNyUppi0dzbFRGq5UCMogUxtWSwr226nYCD0l85N+WIEfKjA6cei34qF4mH6t/YTj 2kXV0nQQ3tXlKat+TyJGAJXRgLeo7vipiI+eCK2D X-Received: by 2002:a17:902:fd08:b0:294:7048:65b with SMTP id d9443c01a7336-294def4eaf7mr43800435ad.58.1761791225686; Wed, 29 Oct 2025 19:27:05 -0700 (PDT) MIME-Version: 1.0 References: <6f6b570f-7f9d-40c0-a771-378eb2c0c701n@googlegroups.com> <961e3c3a-a627-4a07-ae81-eb01f7a375a1n@googlegroups.com> <5135a031-a94e-49b9-ab31-a1eb48875ff2n@googlegroups.com> <78475572-3e52-44e4-8116-8f1a917995a4n@googlegroups.com> In-Reply-To: From: Greg Maxwell Date: Thu, 30 Oct 2025 02:26:52 +0000 X-Gm-Features: AWmQ_bkqxUeeBPXIyB_3APgl7mTQrKqdXfBxKeEoOYjfqYUB-91kpGPAUaR__S8 Message-ID: Subject: Re: [bitcoindev] Re: [BIP Proposal] Limit ScriptPubkey Size >= 520 Bytes Consensus. To: Michael Tidwell Cc: Bitcoin Development Mailing List Content-Type: multipart/alternative; boundary="0000000000002cf02e064256fc65" X-Original-Sender: gmaxwell@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dE+OCo2D; spf=pass (google.com: domain of gmaxwell@gmail.com designates 2607:f8b0:4864:20::62d as permitted sender) smtp.mailfrom=gmaxwell@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 (/) --0000000000002cf02e064256fc65 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable "A few bytes" might be on the order of forever 10% increase in the UTXO set size, plus a full from-network resync of all pruned nodes and a full (e.g. most of day outage) reindex of all unpruned nodes. Not insignificant but also not nothing. Such a portion of the existing utxo size is not from outputs over 520 bytes in size, so as a scheme for utxo set size reduction the addition of MHT tracking would probably make it a failure. Also some risk of creating some new scarce asset class, txouts consisting of primordial coins that aren't subject to the new rules... sounds like the sort of thing that NFT degens would absolutely love. That might not be an issue *generally* for some change with confiscation risk, but for a change that is specifically intended to lobotomize bitcoin to make it less useful to NFT degens, maybe not such a great idea. :P I mentioned it at all because I thought it could potentially be of some use, I'm just more skeptical of it for the current context. Also luke-jr and crew has moved on to actually propose even more invasive changes than just limiting the script size, which I anticipated, and has much more significant issues. Just size limiting outputs likely doesn't harm any interests or usages-- and so probably could be viable if the confiscation issue was addressed, but it also doesn't stick it to people transacting in ways the priests of ocean mining dislike. > I believe you're pointing out the idea of non economically-rational spammers? I think it's a mistake to conclude the spammers are economically irrational-- they're often just responding to different economics which may be less legible to your analysis. In particular, NFT degens prefer the high cost of transactions as a thing that makes their tokens scarce and gives them value. -- otherwise they wouldn't be swapping for one less efficient encoding for another, they're just be using another blockchain (perhaps their own) entirely. On Thu, Oct 30, 2025 at 1:16=E2=80=AFAM Michael Tidwell wrote: > > MRH tracking might make that acceptable, but comes at a high cost which > I think would clearly not be justified. > > Greg, I want to ask/challenge how bad this is, this seems like a generall= y > reusable primitive that could make other upgrades more feasible that also > have the same strict confiscation risk profile. > IIUC, the major pain is, 1 big reindex cost + a few bytes per utxo? > > Poelstra, > > > I don't think this is a great idea -- it would be technically hard to > implement and slow deployment indefinitely. > > I would like to know how much of a deal breaker this is in your opinion. > Is MRH tracking off the table? In terms of the hypothetical presigned > transactions that may exist using P2MS, is this a hard enough reason to > require a MRH idea? > > Greg, > > > So, paradoxically this limit might increase the amount of non-prunable > data > > I believe you're pointing out the idea of non economically-rational > spammers? We already see actors ignoring cheaper witness inscription > methods. If spam shifts to many sub-520 fake pubkey outputs (which I > believe is less harmful than stamps), that imo is a separate UTXO cost > discussion. (like a SF to add weight to outputs). Anywho, this point alon= e > doesn't seem sufficient to add as a clear negative reason for someone > opposed to the proposal. > > Thanks, > Tidwell > On Wednesday, October 22, 2025 at 5:55:58=E2=80=AFAM UTC-4 moonsettler wr= ote: > >> > Confiscation is a problem because of presigned transactions >> >> Allow 10000 bytes of total scriptPubKey size in each block counting only >> those outputs that are larger than x (520 as proposed). >> The code change is pretty minimal from the most obvious implementation o= f >> the original rule. >> >> That makes it technically non-confiscatory. Still non-standard, but if >> anyone out there so obnoxiously foot-gunned themselves, they can't claim >> they were rugged by the devs. >> >> BR, >> moonsettler >> >> On Saturday, October 18th, 2025 at 3:15 PM, PortlandHODL >> wrote: >> >> > Hey, >> > >> > First, thank you to everyone who responded, and please continue to do >> so. There were many thought provoking responses and this did shift my >> perspective quite a bit from the original post, which in of itself was t= he >> goal to a degree. >> > >> > I am currently only going to respond to all of the current concerns. >> Acks; though I like them will be ignored unless new discoveries are >> included. >> > >> > Tl;dr (Portlands Perspective) >> > - Confiscation is a problem because of presigned transactions >> > - DoS mitigation could also occur through marking UTXOs as unspendable >> if > 520 bytes, this would preserve the proof of publication. >> > - Timeout / Sunset logic is compelling >> > - The (n) value of acceptable needed bytes is contentious with the >> lower suggested limit being 67 >> > - Congestion control is worth a look? >> > >> > Next Step: >> > - Deeper discussion at the individual level: Antoine Poinsot and GCC >> overlap? >> > - Write an implementation. >> > - Decide to pursue BIP >> > >> > Responses >> > >> > Andrew Poelstra: >> > > There is a risk of confiscation of coins which have pre-signed but >> > > unpublished transactions spending them to new outputs with large >> > > scriptPubKeys. Due to long-standing standardness rules, and the >> presence >> > > of P2SH (and now P2WSH) for well over a decade, I'm skeptical that >> any >> > > such transactions exist. >> > >> > PortlandHODL: This is a risk that can be incurred and likely not >> possible to mitigate as there could be possible chains of transactions s= o >> even when recursively iterating over a chain there is a chance that a >> presigned breaks this rule. Every idea I have had from block redemption >> limits on prevouts seems to just be a coverage issue where you can make = the >> confiscation less likely but not completely mitigated. >> > >> > Second, there are already TXs that effectively have been confiscated a= t >> the policy level (P2SH Cleanstack violation) where the user can not find >> any miner with a policy to accept these into their mempool. (3 years) >> > >> > /dev /fd0 >> > > so it would be great if this was restricted to OP_RETURN >> > >> > PortlandHODL: I reject this completely as this would remove the UTXOse= t >> omission for the scriptPubkey and encourage miners to subvert the OP_RET= URN >> restriction and instead just use another op_code, this also do not hit o= n >> some of the most important factors such as DoS mitigation and legacy scr= ipt >> attack surface reduction. >> > >> > Peter Todd >> > > NACK ... >> > >> > PortlandHODL: You NACK'd for the same reasons that I stated in my OP, >> without including any additional context or reasoning. >> > >> > jeremy >> > > I think that this type of rule is OK if we do it as a "sunsetting" >> restriction -- e.g. a soft fork active for the next N blocks (N =3D e.g.= 2 >> years, 5 years, 10 years). >> > >> > If action is taken, this is the most reasonable approach. Alleviating >> confiscatory concerns through deferral. >> > >> > > You can argue against this example probably, but it is worth >> considering that absence of evidence of use is not evidence of absence o= f >> use and I myself feel that overall our understanding of Bitcoin transact= ion >> programming possibilities is still early. If you don't like this example= , I >> can give you others (probably). >> > >> > Agreed and this also falls into the reasoning for deciding to utilize >> point 1 in your response. My thoughts on this would be along the lines o= f >> proof of publication as this change only has the effect of stripping awa= y >> the executable portion of a script between 521 and 10_000 bytes or the >> published data portion if > 10_000 bytes which the same data could likel= y >> be published in chunked segments using outpoints. >> > >> > Andrew Poelstra: >> > > 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. >> > >> > This sums up the majority of future usecase concern >> > >> > Anthony Towns: >> > > (If you restricted the change to only applying to scripts that used >> > non-push operators, that would probably still provide upgrade >> flexibility >> > while also preventing potential script abuses. But it wouldn't do >> anything >> > to prevent publishing data) >> > >> > Could this not be done as segments in multiple outpoints using a >> coordination outpoint? I fail to see why publication proof must be in a >> single chunk. This does though however bring another alternative to mind= , >> just making these outpoints unspendable but not invalidate the block >> through inclusion... >> > >> > > As far as the "but contiguous data will be regulated more strictly" >> > argument goes; I don't think "your honour, my offensive content has >> > strings of 4d0802 every 520 bytes >> > >> > Correct, this was never meant to resolve this issue. >> > >> > Luke Dashjr: >> > > If we're going this route, we should just close all the gaps for the >> immediate future: >> > >> > To put it nicely, this is completely beyond the scope of what is being >> proposed. >> > >> > Guus Ellenkamp: >> > > If there are really so few OP_RETURN outputs more than 144 bytes, >> then >> > why increase the limit if that change is so controversial? It seems >> > people who want to use a larger OP_RETURN size do it anyway, even with >> > the current default limits. >> > >> > Completely off topic and irrelevant >> > >> > Greg Tonoski: >> > > Limiting the maximum size of the scriptPubKey of a transaction to 67 >> bytes. >> > >> > This leave no room to deal with broken hashing algorithms and very >> little future upgradability for hooks. The rest of these points should b= e >> merged with Lukes response and either hijack my thread or start a new on= e >> with the increased scope, any approach I take will only be related to th= e >> ScriptPubkey >> > >> > Keagan McClelland: >> > > Hard NACK on capping the witness size as that would effectively ban >> large scripts even in the P2SH wrapper which undermines Bitcoin's abilit= y >> to be an effectively programmable money. >> > >> > This has nothing to do with the witness size or even the P2SH wrapper >> > >> > Casey Rodarmor: >> > > I think that "Bitcoin could need it in the future?" might be a good >> enough >> > reason not to do this. >> > >> > > Script pubkeys are the only variable-length transaction fields which >> can be >> > covered by input signatures, which might make them useful for future >> soft >> > forks. I can imagine confidential asset schemes or post-quantum coin >> recovery >> > schemes requiring large proofs in the outputs, where the validity of >> the proof >> > determined whether or not the transaction is valid, and thus require >> the >> > proofs to be in the outputs, and not just a hash commitment. >> > >> > Would the ability to publish the data alone be enough? Example make th= e >> output unspendable but allow for the existence of the bytes to be covere= d >> through the signature? >> > >> > >> > Antoine Poinsot: >> > > Limiting the size of created scriptPubKeys is not a sufficient >> mitigation on its own >> > I fail to see how this would not be sufficient? To DoS you need 2 >> things inputs with ScriptPubkey redemptions + heavy op_codes that requir= e >> unique checks. Example DUPing stack element again and again doesn't work= . >> This then leads to the next part is you could get up to unique complex >> operations with the current (n) limit included per input. >> > >> > > One of the goal of BIP54 is to address objections to Matt's earlier >> proposal, notably the (in my >> > opinion reasonable) confiscation concerns voiced by Russell O'Connor. >> Limiting the size of >> > scriptPubKeys would in this regard be moving in the opposite direction= . >> > >> > Some notes is I would actually go as far as to say the confiscation >> risk is higher with the TX limit proposed in BIP54 as we actually have >> proof of redemption of TXs that break that rule and the input set to do >> this already exists on-chain no need to even wonder about the whole >> presigned. bb41a757f405890fb0f5856228e23b715702d714d59bf2b1feb70d8b2b4e3= e08 >> > >> > Please let me know if I am incorrect on any of this. >> > >> > > Furthermore, it's always possible to get the biggest bang for our >> buck in a first step >> > >> > Agreed on bang for the buck regarding DoS. >> > >> > My final point here would be that I would like to discuss more, and >> this is response is from the initial view of your response and could be >> incomplete or incorrect, This is just my in the moment response. >> > >> > Antoine Riard: >> > > Anyway, in the sleeping pond of consensus fixes fishes, I'm more in >> favor of prioritizing >> > a timewarp fix and limiting dosy spends by old redeem scripts >> > >> > The idea of congestion control is interesting, but this solution shoul= d >> significantly reduce the total DoS severity of known vectors. >> > >> > On Saturday, October 18, 2025 at 2:25:18=E2=80=AFAM UTC-7 Greg Maxwell= wrote: >> > >> > > Limits on block construction that cross transactions make it harder >> to accurately estimate fees and greatly complicate optimal block >> construction-- the latter being important because smarter and more compu= ter >> powered mining code generating higher profits is a pro centralization >> factor. >> > > >> > > In terms of effectiveness the "spam" will just make itself >> indistinguishable from the most common transaction traffic from the >> perspective of such metrics-- and might well drive up "spam" levels beca= use >> the higher embedding cost may make some of them use more transactions. T= he >> competition for these buckets by other traffic could make it effectively= a >> block size reduction even against very boring ordinary transactions. ... >> which is probably not what most people want. >> > > >> > > I think it's important to keep in mind that bitcoin fee levels even >> at 0.1s/vb are far beyond what other hosting services and other blockcha= ins >> cost-- so anyone still embedding data in bitcoin *really* want to be the= re >> for some reason and aren't too fee sensitive or else they'd already be >> using something else... some are even in favor of higher costs since the >> high fees are what create the scarcity needed for their seigniorage. >> > > >> > > But yeah I think your comments on priorities are correct. >> > > >> > > >> > > >> > > On Sat, Oct 18, 2025 at 1:20=E2=80=AFAM Antoine Riard >> wrote: >> > > >> > > > Hi list, >> > > > >> > > > Thanks to the annex covered by the signature, I don't see how the >> concern about limiting >> > > > the extensibility of bitcoin script with future (post-quantum) >> cryptographic schemes. >> > > > Previous proposal of the annex were deliberately designed with >> variable-length fields >> > > > to flexibly accomodate a wide range of things. >> > > > >> > > > I believe there is one thing that has not been proposed to limit >> unpredictable utterance >> > > > of spams on the blockchain, namely congestion control of categorie= s >> of outputs (e.g "fat" >> > > > scriptpubkeys). Let's say P a block period, T a type of >> scriptpubkey and L a limiting >> > > > threshold for the number of T occurences during the period P. >> Beyond the L threshold, any >> > > > additional T scriptpubkey is making the block invalid. Or >> alternatively, any additional >> > > > T generating / spending transaction must pay some weight penalty..= . >> > > > >> > > > Congestion control, which of course comes with its lot of >> shenanigans, is not very a novel >> > > > idea as I believe it has been floated few times in the context of >> lightning to solve mass >> > > > closure, where channels out-priced at current feerate would have >> their safety timelocks scale >> > > > ups. >> > > > >> > > > No need anymore to come to social consensus on what is quantitativ= e >> "spam" or not. The blockchain >> > > > would automatically throttle out the block space spamming >> transaction. Qualitative spam it's another >> > > > question, for anyone who has ever read shannon's theory of >> communication only effective thing can >> > > > be to limit the size of data payload. But probably we're kickly >> back to a non-mathematically solvable >> > > > linguistical question again [0]. >> > > > >> > > > Anyway, in the sleeping pond of consensus fixes fishes, I'm more i= n >> favor of prioritizing >> > > > a timewarp fix and limiting dosy spends by old redeem scripts, >> rather than engaging in shooting >> > > > ourselves in the foot with ill-designed "spam" consensus >> mitigations. >> > > > >> > > > [0] If you have a soul of logician, it would be an interesting >> demonstration to come with >> > > > to establish that we cannot come up with mathematically or >> cryptographically consensus means >> > > > to solve qualitative "spam", which in a very pure sense is a >> linguistical issue. >> > > > >> > > > Best, >> > > > Antoine >> > > > OTS hash: >> 6cb50fe36ca0ec5cb9a88517dd4ce9bb50dd6ad1d2d6a640dd4a31d72f0e4999 >> > > > Le vendredi 17 octobre 2025 =C3=A0 19:45:44 UTC+1, Antoine Poinsot= a >> =C3=A9crit : >> > > > >> > > > > Hi, >> > > > > >> > > > > This approach was discussed last year when evaluating the best >> way to mitigate DoS blocks in terms >> > > > > of gains compared to confiscatory surface. Limiting the size of >> created scriptPubKeys is not a >> > > > > sufficient mitigation on its own, and has a non-trivial >> confiscatory surface. >> > > > > >> > > > > One of the goal of BIP54 is to address objections to Matt's >> earlier proposal, notably the (in my >> > > > > opinion reasonable) confiscation concerns voiced by Russell >> O'Connor. Limiting the size of >> > > > > scriptPubKeys would in this regard be moving in the opposite >> direction. >> > > > > >> > > > > Various approaches of limiting the size of spent scriptPubKeys >> were discussed, in forms that would >> > > > > mitigate the confiscatory surface, to adopt in addition to (what >> eventually became) the BIP54 sigops >> > > > > limit. However i decided against including this additional >> measure in BIP54 because: >> > > > > - of the inherent complexity of the discussed schemes, which >> would make it hard to reason about >> > > > > constructing transactions spending legacy inputs, and equally >> hard to evaluate the reduction of >> > > > > the confiscatory surface; >> > > > > - more importantly, there is steep diminishing returns to piling >> on more mitigations. The BIP54 >> > > > > limit on its own prevents an externally-motivated attacker from >> *unevenly* stalling the network >> > > > > for dozens of minutes, and a revenue-maximizing miner from >> regularly stalling its competitions >> > > > > for dozens of seconds, at a minimized cost in confiscatory >> surface. Additional mitigations reduce >> > > > > the worst case validation time by a smaller factor at a higher >> cost in terms of confiscatory >> > > > > surface. It "feels right" to further reduce those numbers, but >> it's less clear what the tangible >> > > > > gains would be. >> > > > > >> > > > > Furthermore, it's always possible to get the biggest bang for ou= r >> buck in a first step and going the >> > > > > extra mile in a later, more controversial, soft fork. I >> previously floated the idea of a "cleanup >> > > > > v2" in private discussions, and i think besides a reduction of >> the maximum scriptPubKey size it >> > > > > should feature a consensus-enforced maximum transaction size for >> the reasons stated here: >> > > > > >> https://delvingbitcoin.org/t/non-confiscatory-transaction-weight-limit/1= 732/8. >> I wouldn't hold my >> > > > > breath on such a "cleanup v2", but it may be useful to have it >> documented somewhere. >> > > > > >> > > > > I'm trying to not go into much details regarding which >> mitigations were considered in designing >> > > > > BIP54, because they are tightly related to the design of various >> DoS blocks. But i'm always happy to >> > > > > rehash the decisions made there and (re-)consider alternative >> approaches on the semi-private Delving >> > > > > thread [0] dedicated to this purpose. Feel free to ping me to ge= t >> access if i know you. >> > > > > >> > > > > Best, >> > > > > Antoine Poinsot >> > > > > >> > > > > [0]: >> https://delvingbitcoin.org/t/worst-block-validation-time-inquiry/711 >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > On Friday, October 17th, 2025 at 1:12 PM, Brandon Black < >> fre...@reardencode.com> wrote: >> > > > > >> > > > > > >> > > > > > >> > > > > > On 2025-10-16 (Thu) at 00:06:41 +0000, Greg Maxwell wrote: >> > > > > > >> > > > > > > But also given that there are essentially no violations and >> no reason to >> > > > > > > expect any I'm not sure the proposal is worth time relative >> to fixes of >> > > > > > > actual moderately serious DOS attack issues. >> > > > > > >> > > > > > >> > > > > > I believe this limit would also stop most (all?) of >> PortlandHODL's >> > > > > > DoSblocks without having to make some of the other changes in >> GCC. I >> > > > > > think it's worthwhile to compare this approach to those >> proposed by >> > > > > > Antoine in solving these DoS vectors. >> > > > > > >> > > > > > Best, >> > > > > > >> > > > > > --Brandon >> > > > > > >> > > > > > -- >> > > > > > 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+...@googlegroups.com. >> > > > > > To view this discussion visit >> https://groups.google.com/d/msgid/bitcoindev/aPJ3w6bEoaye3WJ6%40console. >> > > > >> > > > -- >> > > > 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+...@googlegroups.com. >> > > >> > > > To view this discussion visit >> https://groups.google.com/d/msgid/bitcoindev/5135a031-a94e-49b9-ab31-a1e= b48875ff2n%40googlegroups.com. >> >> > >> > -- >> > 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+...@googlegroups.com. >> > To view this discussion visit >> https://groups.google.com/d/msgid/bitcoindev/78475572-3e52-44e4-8116-8f1= a917995a4n%40googlegroups.com. >> >> > -- > 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/f4755fb6-b031-4c60-b304-f123= ba2ff473n%40googlegroups.com > > . > --=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/= CAAS2fgSUqFs-74m-we6sb5oY2%3D9R6LDVN_iFqtX%2Bz_d3hx0nnw%40mail.gmail.com. --0000000000002cf02e064256fc65 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
"A few bytes" might be on the order of fore= ver 10% increase in the UTXO set size, plus a full from-network resync of a= ll pruned nodes and a full (e.g. most of day outage) reindex of all unprune= d nodes.=C2=A0 Not insignificant=C2=A0but also not nothing.=C2=A0 Such a po= rtion of the=C2=A0existing utxo size is not from outputs over 520 bytes in = size, so as a scheme for utxo set size reduction the addition of MHT tracki= ng would probably make it a failure.

Also some ris= k of creating some new scarce asset class, txouts consisting of primordial= =C2=A0coins that aren't subject to the new rules... sounds like the sor= t of thing that NFT degens would absolutely love.=C2=A0 That might not be a= n issue *generally* for some change with confiscation=C2=A0risk, but for a = change that is specifically intended to lobotomize bitcoin to make it less = useful to NFT degens, maybe not such a great idea. :P

<= div>I mentioned it at all because I thought it could potentially be of some= use, I'm just more skeptical of it for the current context.=C2=A0 Also= luke-jr and crew has moved on to actually propose even more invasive chang= es than just limiting the script size, which I anticipated, and has much mo= re significant=C2=A0issues.=C2=A0 Just size limiting outputs likely doesn&#= 39;t harm any interests or usages-- and so probably could be viable if the = confiscation issue was addressed, but it also doesn't stick it to peopl= e transacting in ways the priests of ocean mining dislike.=C2=A0
=
>=C2=A0I believe you're pointing out the idea of non = economically-rational spammers?

I think it's a= mistake to conclude the spammers are economically irrational-- they're= often just responding to different economics which may be less legible to = your analysis.=C2=A0 In particular, NFT degens prefer the high cost of tran= sactions as a thing that makes their tokens scarce and gives them value.=C2= =A0 -- otherwise they wouldn't be swapping for one less efficient encod= ing for another, they're just be using another blockchain (perhaps thei= r own) entirely.



On Thu, Oct 30, 2025 at 1:16=E2=80=AFAM Michael Tidwell <= ;mtidwell021@gmail.com> wro= te:
> MRH tra= cking might make that acceptable, but comes at a high cost which I think wo= uld clearly not be justified.

Greg, I want to ask/challenge how bad = this is, this seems like a generally reusable primitive that could make oth= er upgrades more feasible that also have the same strict confiscation risk = profile.
IIUC, the major pain is, 1 big reindex cost + a few bytes per u= txo?

Poelstra,

> I don't think this is a great idea --= it would be technically hard to
implement and slow deployment indefinit= ely.

I would like to know how much of a deal breaker this is in your= opinion. Is MRH tracking off the table? In terms of the hypothetical presi= gned transactions that may exist using P2MS, is this a hard enough reason t= o require a MRH idea?

Greg,

> So, paradoxically this limit= might increase the amount of non-prunable data

I believe you're= pointing out the idea of non economically-rational spammers? We already se= e actors ignoring cheaper witness inscription methods. If spam shifts to ma= ny sub-520 fake pubkey outputs (which I believe is less harmful than stamps= ), that imo is a separate UTXO cost discussion. (like a SF to add weight to= outputs). Anywho, this point alone doesn't seem sufficient to add as a= clear negative reason for someone opposed to the proposal.

Thanks,<= br>Tidwell
On Wednesday, October 22, 2025 at 5:55:58=E2=80=AFAM UTC-4 moonsettler wro= te:
> Confisc= ation is a problem because of presigned transactions

Allow 10000 bytes of total scriptPubKey size in each block counting onl= y those outputs that are larger than x (520 as proposed).
The code change is pretty minimal from the most obvious implementation = of the original rule.

That makes it technically non-confiscatory. Still non-standard, but if = anyone out there so obnoxiously foot-gunned themselves, they can't clai= m they were rugged by the devs.

BR,
moonsettler

On Saturday, October 18th, 2025 at 3:15 PM, PortlandHODL <ad...@qrsnap.io> wrote:

> Hey,
>=20
> First, thank you to everyone who responded, and please continue to= do so. There were many thought provoking responses and this did shift my p= erspective quite a bit from the original post, which in of itself was the g= oal to a degree.
>=20
> I am currently only going to respond to all of the current concern= s. Acks; though I like them will be ignored unless new discoveries are incl= uded.
>=20
> Tl;dr (Portlands Perspective)
> - Confiscation is a problem because of presigned transactions
> - DoS mitigation could also occur through marking UTXOs as unspend= able if > 520 bytes, this would preserve the proof of publication.
> - Timeout / Sunset logic is compelling
> - The (n) value of acceptable needed bytes is contentious with the= lower suggested limit being 67
> - Congestion control is worth a look?
>=20
> Next Step:
> - Deeper discussion at the individual level: Antoine Poinsot and G= CC overlap?
> - Write an implementation.
> - Decide to pursue BIP
>=20
> Responses
>=20
> Andrew Poelstra:
> > There is a risk of confiscation of coins which have pre-signe= d but
> > unpublished transactions spending them to new outputs with la= rge
> > scriptPubKeys. Due to long-standing standardness rules, and t= he presence
> > of P2SH (and now P2WSH) for well over a decade, I'm skept= ical that any
> > such transactions exist.
>=20
> PortlandHODL: This is a risk that can be incurred and likely not p= ossible to mitigate as there could be possible chains of transactions so ev= en when recursively iterating over a chain there is a chance that a presign= ed breaks this rule. Every idea I have had from block redemption limits on = prevouts seems to just be a coverage issue where you can make the confiscat= ion less likely but not completely mitigated.
>=20
> Second, there are already TXs that effectively have been confiscat= ed at the policy level (P2SH Cleanstack violation) where the user can not f= ind any miner with a policy to accept these into their mempool. (3 years)
>=20
> /dev /fd0
> > so it would be great if this was restricted to OP_RETURN
>=20
> PortlandHODL: I reject this completely as this would remove the UT= XOset omission for the scriptPubkey and encourage miners to subvert the OP_= RETURN restriction and instead just use another op_code, this also do not h= it on some of the most important factors such as DoS mitigation and legacy = script attack surface reduction.
>=20
> Peter Todd
> > NACK ...
>=20
> PortlandHODL: You NACK'd for the same reasons that I stated in= my OP, without including any additional context or reasoning.
>=20
> jeremy
> > I think that this type of rule is OK if we do it as a "s= unsetting" restriction -- e.g. a soft fork active for the next N block= s (N =3D e.g. 2 years, 5 years, 10 years).
>=20
> If action is taken, this is the most reasonable approach. Alleviat= ing confiscatory concerns through deferral.
>=20
> > You can argue against this example probably, but it is worth = considering that absence of evidence of use is not evidence of absence of u= se and I myself feel that overall our understanding of Bitcoin transaction = programming possibilities is still early. If you don't like this exampl= e, I can give you others (probably).
>=20
> Agreed and this also falls into the reasoning for deciding to util= ize point 1 in your response. My thoughts on this would be along the lines = of proof of publication as this change only has the effect of stripping awa= y the executable portion of a script between 521 and 10_000 bytes or the pu= blished data portion if > 10_000 bytes which the same data could likely = be published in chunked segments using outpoints.
>=20
> Andrew Poelstra:
> > Aside from proof-of-publication (i.e. data storage directly i= n 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.
>=20
> This sums up the majority of future usecase concern
>=20
> Anthony Towns:
> > (If you restricted the change to only applying to scripts tha= t used
> non-push operators, that would probably still provide upgrade flex= ibility
> while also preventing potential script abuses. But it wouldn't= do anything
> to prevent publishing data)
>=20
> Could this not be done as segments in multiple outpoints using a c= oordination outpoint? I fail to see why publication proof must be in a sing= le chunk. This does though however bring another alternative to mind, just = making these outpoints unspendable but not invalidate the block through inc= lusion...
>=20
> > As far as the "but contiguous data will be regulated mor= e strictly"
> argument goes; I don't think "your honour, my offensive c= ontent has
> strings of 4d0802 every 520 bytes
>=20
> Correct, this was never meant to resolve this issue.
>=20
> Luke Dashjr:
> > If we're going this route, we should just close all the g= aps for the immediate future:
>=20
> To put it nicely, this is completely beyond the scope of what is b= eing proposed.
>=20
> Guus Ellenkamp:
> > If there are really so few OP_RETURN outputs more than 144 by= tes, then
> why increase the limit if that change is so controversial? It seem= s
> people who want to use a larger OP_RETURN size do it anyway, even = with
> the current default limits.
>=20
> Completely off topic and irrelevant
>=20
> Greg Tonoski:
> > Limiting the maximum size of the scriptPubKey of a transactio= n to 67 bytes.
>=20
> This leave no room to deal with broken hashing algorithms and very= little future upgradability for hooks. The rest of these points should be = merged with Lukes response and either hijack my thread or start a new one w= ith the increased scope, any approach I take will only be related to the Sc= riptPubkey
>=20
> Keagan McClelland:
> > Hard NACK on capping the witness size as that would effective= ly ban large scripts even in the P2SH wrapper which undermines Bitcoin'= s ability to be an effectively programmable money.
>=20
> This has nothing to do with the witness size or even the P2SH wrap= per
>=20
> Casey Rodarmor:
> > I think that "Bitcoin could need it in the future?"= might be a good enough
> reason not to do this.
>=20
> > Script pubkeys are the only variable-length transaction field= s which can be
> covered by input signatures, which might make them useful for futu= re soft
> forks. I can imagine confidential asset schemes or post-quantum co= in recovery
> schemes requiring large proofs in the outputs, where the validity = of the proof
> determined whether or not the transaction is valid, and thus requi= re the
> proofs to be in the outputs, and not just a hash commitment.
>=20
> Would the ability to publish the data alone be enough? Example mak= e the output unspendable but allow for the existence of the bytes to be cov= ered through the signature?
>=20
>=20
> Antoine Poinsot:
> > Limiting the size of created scriptPubKeys is not a sufficien= t mitigation on its own
> I fail to see how this would not be sufficient? To DoS you need 2 = things inputs with ScriptPubkey redemptions + heavy op_codes that require u= nique checks. Example DUPing stack element again and again doesn't work= . This then leads to the next part is you could get up to unique complex op= erations with the current (n) limit included per input.
>=20
> > One of the goal of BIP54 is to address objections to Matt'= ;s earlier proposal, notably the (in my
> opinion reasonable) confiscation concerns voiced by Russell O'= Connor. Limiting the size of
> scriptPubKeys would in this regard be moving in the opposite direc= tion.
>=20
> Some notes is I would actually go as far as to say the confiscatio= n risk is higher with the TX limit proposed in BIP54 as we actually have pr= oof of redemption of TXs that break that rule and the input set to do this = already exists on-chain no need to even wonder about the whole presigned. b= b41a757f405890fb0f5856228e23b715702d714d59bf2b1feb70d8b2b4e3e08
>=20
> Please let me know if I am incorrect on any of this.
>=20
> > Furthermore, it's always possible to get the biggest bang= for our buck in a first step
>=20
> Agreed on bang for the buck regarding DoS.
>=20
> My final point here would be that I would like to discuss more, an= d this is response is from the initial view of your response and could be i= ncomplete or incorrect, This is just my in the moment response.
>=20
> Antoine Riard:
> > Anyway, in the sleeping pond of consensus fixes fishes, I'= ;m more in favor of prioritizing
> a timewarp fix and limiting dosy spends by old redeem scripts
>=20
> The idea of congestion control is interesting, but this solution s= hould significantly reduce the total DoS severity of known vectors.
>=20
> On Saturday, October 18, 2025 at 2:25:18=E2=80=AFAM UTC-7 Greg Max= well wrote:
>=20
> > Limits on block construction that cross transactions make it = harder to accurately estimate fees and greatly complicate optimal block con= struction-- the latter being important because smarter and more computer po= wered mining code generating higher profits is a pro centralization factor.
> >=20
> > In terms of effectiveness the "spam" will just make= itself indistinguishable from the most common transaction traffic from the= perspective of such metrics-- and might well drive up "spam" lev= els because the higher embedding cost may make some of them use more transa= ctions. The competition for these buckets by other traffic could make it ef= fectively a block size reduction even against very boring ordinary transact= ions. ... which is probably not what most people want.
> >=20
> > I think it's important to keep in mind that bitcoin fee l= evels even at 0.1s/vb are far beyond what other hosting services and other = blockchains cost-- so anyone still embedding data in bitcoin *really* want = to be there for some reason and aren't too fee sensitive or else they&#= 39;d already be using something else... some are even in favor of higher co= sts since the high fees are what create the scarcity needed for their seign= iorage.
> >=20
> > But yeah I think your comments on priorities are correct.
> >=20
> >=20
> >=20
> > On Sat, Oct 18, 2025 at 1:20=E2=80=AFAM Antoine Riard <antoin...@gmail.com> wrote:
> >=20
> > > Hi list,
> > >=20
> > > Thanks to the annex covered by the signature, I don'= t see how the concern about limiting
> > > the extensibility of bitcoin script with future (post-qu= antum) cryptographic schemes.
> > > Previous proposal of the annex were deliberately designe= d with variable-length fields
> > > to flexibly accomodate a wide range of things.
> > >=20
> > > I believe there is one thing that has not been proposed = to limit unpredictable utterance
> > > of spams on the blockchain, namely congestion control of= categories of outputs (e.g "fat"
> > > scriptpubkeys). Let's say P a block period, T a type= of scriptpubkey and L a limiting
> > > threshold for the number of T occurences during the peri= od P. Beyond the L threshold, any
> > > additional T scriptpubkey is making the block invalid. O= r alternatively, any additional
> > > T generating / spending transaction must pay some weight= penalty...
> > >=20
> > > Congestion control, which of course comes with its lot o= f shenanigans, is not very a novel
> > > idea as I believe it has been floated few times in the c= ontext of lightning to solve mass
> > > closure, where channels out-priced at current feerate wo= uld have their safety timelocks scale
> > > ups.
> > >=20
> > > No need anymore to come to social consensus on what is q= uantitative "spam" or not. The blockchain
> > > would automatically throttle out the block space spammin= g transaction. Qualitative spam it's another
> > > question, for anyone who has ever read shannon's the= ory of communication only effective thing can
> > > be to limit the size of data payload. But probably we= 9;re kickly back to a non-mathematically solvable
> > > linguistical question again [0].
> > >=20
> > > Anyway, in the sleeping pond of consensus fixes fishes, = I'm more in favor of prioritizing
> > > a timewarp fix and limiting dosy spends by old redeem sc= ripts, rather than engaging in shooting
> > > ourselves in the foot with ill-designed "spam"= consensus mitigations.
> > >=20
> > > [0] If you have a soul of logician, it would be an inter= esting demonstration to come with
> > > to establish that we cannot come up with mathematically = or cryptographically consensus means
> > > to solve qualitative "spam", which in a very p= ure sense is a linguistical issue.
> > >=20
> > > Best,
> > > Antoine
> > > OTS hash: 6cb50fe36ca0ec5cb9a88517dd4ce9bb50dd6ad1d2d6a6= 40dd4a31d72f0e4999
> > > Le vendredi 17 octobre 2025 =C3=A0 19:45:44 UTC+1, Antoi= ne Poinsot a =C3=A9crit :
> > >=20
> > > > Hi,
> > > >=20
> > > > This approach was discussed last year when evaluati= ng the best way to mitigate DoS blocks in terms
> > > > of gains compared to confiscatory surface. Limiting= the size of created scriptPubKeys is not a
> > > > sufficient mitigation on its own, and has a non-tri= vial confiscatory surface.
> > > >=20
> > > > One of the goal of BIP54 is to address objections t= o Matt's earlier proposal, notably the (in my
> > > > opinion reasonable) confiscation concerns voiced by= Russell O'Connor. Limiting the size of
> > > > scriptPubKeys would in this regard be moving in the= opposite direction.
> > > >=20
> > > > Various approaches of limiting the size of spent sc= riptPubKeys were discussed, in forms that would
> > > > mitigate the confiscatory surface, to adopt in addi= tion to (what eventually became) the BIP54 sigops
> > > > limit. However i decided against including this add= itional measure in BIP54 because:
> > > > - of the inherent complexity of the discussed schem= es, which would make it hard to reason about
> > > > constructing transactions spending legacy inputs, a= nd equally hard to evaluate the reduction of
> > > > the confiscatory surface;
> > > > - more importantly, there is steep diminishing retu= rns to piling on more mitigations. The BIP54
> > > > limit on its own prevents an externally-motivated a= ttacker from *unevenly* stalling the network
> > > > for dozens of minutes, and a revenue-maximizing min= er from regularly stalling its competitions
> > > > for dozens of seconds, at a minimized cost in confi= scatory surface. Additional mitigations reduce
> > > > the worst case validation time by a smaller factor = at a higher cost in terms of confiscatory
> > > > surface. It "feels right" to further redu= ce those numbers, but it's less clear what the tangible
> > > > gains would be.
> > > >=20
> > > > Furthermore, it's always possible to get the bi= ggest bang for our buck in a first step and going the
> > > > extra mile in a later, more controversial, soft for= k. I previously floated the idea of a "cleanup
> > > > v2" in private discussions, and i think beside= s a reduction of the maximum scriptPubKey size it
> > > > should feature a consensus-enforced maximum transac= tion size for the reasons stated here:
> > > > h= ttps://delvingbitcoin.org/t/non-confiscatory-transaction-weight-limit/1732/= 8. I wouldn't hold my
> > > > breath on such a "cleanup v2", but it may= be useful to have it documented somewhere.
> > > >=20
> > > > I'm trying to not go into much details regardin= g which mitigations were considered in designing
> > > > BIP54, because they are tightly related to the desi= gn of various DoS blocks. But i'm always happy to
> > > > rehash the decisions made there and (re-)consider a= lternative approaches on the semi-private Delving
> > > > thread [0] dedicated to this purpose. Feel free to = ping me to get access if i know you.
> > > >=20
> > > > Best,
> > > > Antoine Poinsot
> > > >=20
> > > > [0]: https= ://delvingbitcoin.org/t/worst-block-validation-time-inquiry/711
> > > >=20
> > > >=20
> > > >=20
> > > >=20
> > > > On Friday, October 17th, 2025 at 1:12 PM, Brandon B= lack <fre...@reardencode.com> wrote:
> > > >=20
> > > > >
> > > > >
> > > > > On 2025-10-16 (Thu) at 00:06:41 +0000, Greg Ma= xwell wrote:
> > > > >
> > > > > > But also given that there are essentially= no violations and no reason to
> > > > > > expect any I'm not sure the proposal = is worth time relative to fixes of
> > > > > > actual moderately serious DOS attack issu= es.
> > > > >
> > > > >
> > > > > I believe this limit would also stop most (all= ?) of PortlandHODL's
> > > > > DoSblocks without having to make some of the o= ther changes in GCC. I
> > > > > think it's worthwhile to compare this appr= oach to those proposed by
> > > > > Antoine in solving these DoS vectors.
> > > > >
> > > > > Best,
> > > > >
> > > > > --Brandon
> > > > >
> > > > > --
> > > > > You received this message because you are subs= cribed to the Google Groups "Bitcoin Development Mailing List" gr= oup.
> > > > > To unsubscribe from this group and stop receiv= ing emails from it, send an email to bitcoindev+...@goo= glegroups.com.
> > > > > To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/aP= J3w6bEoaye3WJ6%40console.
> > >=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 email to bitcoindev+...@googlegroups.= com.
> >=20
> > > To view this discussion visit https://groups.google.com/d= /msgid/bitcoindev/5135a031-a94e-49b9-ab31-a1eb48875ff2n%40googlegroups.com<= /a>.
>=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 email to
bitcoindev+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/bit= coindev/78475572-3e52-44e4-8116-8f1a917995a4n%40googlegroups.com.

--
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 bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.googl= e.com/d/msgid/bitcoindev/f4755fb6-b031-4c60-b304-f123ba2ff473n%40googlegrou= ps.com.

--
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.com/= d/msgid/bitcoindev/CAAS2fgSUqFs-74m-we6sb5oY2%3D9R6LDVN_iFqtX%2Bz_d3hx0nnw%= 40mail.gmail.com.
--0000000000002cf02e064256fc65--