From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 17 Apr 2025 12:09:30 -0700 Received: from mail-oo1-f61.google.com ([209.85.161.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 1u5Uc5-0003sY-D2 for bitcoindev@gnusha.org; Thu, 17 Apr 2025 12:09:30 -0700 Received: by mail-oo1-f61.google.com with SMTP id 006d021491bc7-603fd09171bsf970622eaf.1 for ; Thu, 17 Apr 2025 12:09:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1744916964; cv=pass; d=google.com; s=arc-20240605; b=PA6ioEdss2VdIgoe4z2mxp1o16JuqOlGLilj52U8Uw98470OdPZdnW+4SdYDy8iXF8 Pm7rjJc7pCw0WN/v9QzBC9XhYHe5LOVE/tbsOX6jyLFTqj62nxIEsWyauYaZOTEcu65t qKO8VsWLgAS6EmgznI6JHF/BdCbBqb72pZeiEvxi7gJ8qOz1IBlrixr5ilo22HDf9fdi n4ZtwG+VBEpt/kCzDem5F+UjwGlPo20yrvSeyyRSAcP2iUNv2EHnQAsm/ostw3EHoxG4 +wZv+5+d3bkUaiGjbJrvWRv8be8PY2LX3D0oTrQ9d3Ye7y4KbNiv/Ec2NaQMByFB6daY Xv/Q== 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 :message-id:subject:from:to:date:dkim-signature; bh=X12hODz94QiZGKX6EN7IcNzZlQ+f/h78geSzkkruu7M=; fh=PymoGgdt/4nPCIZCWNOpB3PzTGLR3NAZwtcsIvmvU8w=; b=VO+1raF1naFf7b+X7jTrH/Rh+i5plXdNNRuF1IErJqwhLzIPw8RdajjTBNfNNiQkg0 Wxq/x/zEcm8stZ1IRBwGeDxvtNQG4RwOV/7BKc8gXd3WTuQUJDuqqOctzuppRqvl9hnd p6RSr4rZ94hvzFsItH1ijoAw5uJ9Z1Me+JdmnUQC4zz3psE0wqkRrtMI8/lNc3Pn18rK UQtEBScDuzdYtS2GNXDubXbS5krhAtrQ0nBtK9RLnPIXq6sAd8DSxcvzfV1njN/Qqt1y Y6HmYqPS00HM8ZHW1HYPcxk2bLpffXuBZ87KSkHXF9eQFWkJV6+an7mOhNzQlNOkLIBD T4FA==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OBK3FkBk; spf=pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) smtp.mailfrom=darosior@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=1744916963; x=1745521763; 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:message-id:subject:from:to:date:from:to:cc:subject:date :message-id:reply-to; bh=X12hODz94QiZGKX6EN7IcNzZlQ+f/h78geSzkkruu7M=; b=fjjYw6Q8tn0qXV7v0TZ9Bjv5H6IsA93h2xbLM6TNlgUR1CHEZlYoMfqnBd53p3cK4i ZHiIX5/oQFPoif65NevtywffH9D0+DcbcT0+Y/P+lmpOxjqpXGLNUktXeXm8iNALRFB/ cvgfPkGK8rfv+VPvqogeJo0c29sTCHp+Tj/Zvu4AkWGC4YH1EGhJVpYJeeUSdT5n6vcQ OaCi2o4c0UjwbAgKlnBb2EXlF9nJNgAi14yRk8rprz1i7A0UtOrL2Qq0qrmfKh+RkSYe CC2s3ves5z+c2i9RjCrcm+TQygAmmrN6XpLpGUERj4P3nwvC7MRz5+j+YOMCaC3LvQY6 KEXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744916963; x=1745521763; 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:message-id:subject:from:to:date:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=X12hODz94QiZGKX6EN7IcNzZlQ+f/h78geSzkkruu7M=; b=NMjVJnoPEbmsE8+Szz2bWk16rLFKULWHeFjjGI5UZjnnjfLwZhtb88ZNQtZcEJghlL MDSUpAJuqketFFoYJb3rvv7A5ryYka3gJgdxiJUTdx2lJhiMthDEaAvf20zxyfdhucRS 2pAqCcHr2Zavu1XDDynbJdGPgwTzNZqifdFoWpKFYFeYF3ILvhoU6hAhvUdwm3vhlZ4J 19aSKTYztgkHTtL9RPgqcqlSID8ZzM2BXKKUUCeSuDG0PhDLqqSR+Pyd0wa8+P95gHD4 HzCXD81Pqemx0Wpwu2wVJvIUaAC1LP+brtPTfLtDir3/Bbo/egn0r2CFjAnPFu7nWpx6 WTWg== X-Forwarded-Encrypted: i=2; AJvYcCXo1vOBW49uRxxp/7ha4Whhm4sPyFob83MVjMTvaIxmcsSCQkJAjr83oNbdDuWGOhZ/Htr+Z8P5to2P@gnusha.org X-Gm-Message-State: AOJu0Yz16tg9yccj/8f78eMI0VdAycXjCOplsiRC0XXmIIfkv8Q1Gebl KFleJ/CLAh84MjspN1ZRx7Z1IdvxGXe3uyjQwJFHQYDj7hIKSZi4 X-Google-Smtp-Source: AGHT+IGfKY0/JN6JLhEFBMG1mGvKXnX/DJrCcallkzJ4PZa34bkAwceAV1IG15MiduMXkGHT64IxCQ== X-Received: by 2002:a05:6871:53c6:b0:2cc:4613:76f0 with SMTP id 586e51a60fabf-2d526ae20d8mr62245fac.17.1744916963478; Thu, 17 Apr 2025 12:09:23 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h=ARLLPAL8B4KOJvruyA/HLucnq4WBePVXUK6EG/yfAAbMf11pxw== Received: by 2002:a05:6870:ed92:b0:29e:3655:1970 with SMTP id 586e51a60fabf-2d4eb9746e1ls673822fac.0.-pod-prod-08-us; Thu, 17 Apr 2025 12:09:19 -0700 (PDT) X-Received: by 2002:a05:6808:2a0b:b0:3fb:2e8f:4dd8 with SMTP id 5614622812f47-400b01cfdc8mr3409417b6e.15.1744916959128; Thu, 17 Apr 2025 12:09:19 -0700 (PDT) Received: by 2002:a05:6504:594e:b0:293:32b4:31b9 with SMTP id a1c4a302cd1d6-29f0eec59bfmsc7a; Thu, 17 Apr 2025 11:52:40 -0700 (PDT) X-Received: by 2002:a05:6512:eaa:b0:545:441:52d2 with SMTP id 2adb3069b0e04-54d6e62d24dmr1521e87.23.1744915957523; Thu, 17 Apr 2025 11:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744915957; cv=none; d=google.com; s=arc-20240605; b=AyABEd4r68aaSLynELscUfGCSmO/l3zpH413wIrITmUhhyn6HWGMFL0qMJQQhqrWBN YRr657/MYGNnHccSHd0WK6kSlG0eGlq1WNuUS9FM84f5TrwRAQxvCtGRzzG/kR3QQOs6 yuAoZwa3KNlLDuf8xBYMy+NsF92P37sWlwVONOQb/Zi/5Z4ShjZXNxjLJvlwdPOXJZBD SgK9s+dWqpyCv93DwrWNFIouRssheUKwH62ccoqhO5X+jbLpkInfuMFsl0zYeNzShFlr GzE6Hqo4T+xJ3WrV2NGsb6jKLc20BtrUld2Mm1HVM4PmQb4zZeU4i2xu/YuQyIbw3kke DO0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:feedback-id:message-id:subject:from:to:date :dkim-signature; bh=Eg7vvwVtuTwrARa9BCWiXPakUhRlaixD+9DXpELVipM=; fh=DMP0F9ULS1guKiqimntQRCN8ZraraesEgQuVcn7F0Z0=; b=J3PTdVVz/xWAkQ+khSFA+gJbRdSCpIiTafPiqWIE0ZIfItziuSvzaasbhuzQ0nikr8 HPr8I+MBMROHPp/WtZ324QMVVTJSJNYhmh81kFCEENJTGlBXKX4rH312iu22POMCbpjB 5Y38t2KEgOGeGuuLLUIONYo4zoVa8Yk6kuvHlXDfEt7eJDQ7nCYhm7HrxKlghOI2qM0g 14OLUPkNNGhggchSRMra/LUUUcdjJg/vW5/wZADJZaJL+Z6eQrJ8rXMx2E2NDGyFfxxV ciNfhytjDpmiZhM8p0p5o/ay7UTY68T6GjuwCwl+VLPV6BN2avTnYi2xiBsyU5FFsAFs W4Jw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OBK3FkBk; spf=pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) smtp.mailfrom=darosior@protonmail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch. [185.70.43.22]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-54d6e540feasi915e87.3.2025.04.17.11.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Apr 2025 11:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) client-ip=185.70.43.22; Date: Thu, 17 Apr 2025 18:52:34 +0000 To: Bitcoin Development Mailing List From: "'Antoine Poinsot' via Bitcoin Development Mailing List" Subject: [bitcoindev] Relax OP_RETURN standardness restrictions Message-ID: Feedback-ID: 7060259:user:proton X-Pm-Message-ID: ab80d2f82b0ab049d6cebf214b45472ebac49e5e MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w" X-Original-Sender: darosior@protonmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OBK3FkBk; spf=pass (google.com: domain of darosior@protonmail.com designates 185.70.43.22 as permitted sender) smtp.mailfrom=darosior@protonmail.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com X-Original-From: Antoine Poinsot Reply-To: Antoine Poinsot 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 (-) --b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Standardness rules exist for 3 mains reasons: mitigate DoS vectors, provide= upgrade hooks, or as a nudge to deter some usages. Bitcoin Core will by default only relay and mine transactions with at most = a single OP_RETURN output, with a scriptPubKey no larger than 83 bytes. Thi= s standardness rule falls into the third category: it aims to mildly deter = data storage while still allowing a less harmful alternative than using non= -provably-unspendable outputs. Developers are now designing constructions that work around these limitatio= ns. An example is Clementine, the recently-announced Citrea bridge, which u= ses unspendable Taproot outputs to store data in its "WatchtowerChallenge" = transaction due to the standardness restrictions on the size of OP_RETURNs[= ^0]. Meanwhile, we have witnessed in recent years that the nudge is ineffec= tive to deter storing data onchain. Since the restrictions on the usage of OP_RETURN outputs encourage harmful = practices while being ineffective in deterring unwanted usage, i propose to= drop them. I suggest to start by lifting the restriction on the size of th= e scriptPubKey for OP_RETURN outputs, as a first minimal step to stop encou= raging harmful behaviour, and to then proceed to lift the restriction on th= e number of OP_RETURN outputs per transactions. Antoine Poinsot [^0]: See section 6.1 of their whitepaper here https://citrea.xyz/clementin= e_whitepaper.pdf --=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/= rhfyCHr4RfaEalbfGejVdolYCVWIyf84PT2062DQbs5-eU8BPYty5sGyvI3hKeRZQtVC7rn_ugj= UWFnWCymz9e9Chbn7FjWJePllFhZRKYk%3D%40protonmail.com. --b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=20
=20
=20
Hi,

Standardness rules exist for 3 mains reasons: mitigate DoS vectors, provide= upgrade hooks, or as a nudge to deter some usages.

Bitcoin Core will by default o= nly relay and mine transactions with at most a single OP_RETURN output, wit= h a scriptPubKey no larger than 83 bytes. This standardness rule fall= s into the third category: it aims to mildly deter data storage while still= allowing a less harmful alternative than using non-provably-unspendable ou= tputs.

Developers are now designing constructions that work ar= ound these limitations. An example is Clementine, the recently-announced Ci= trea bridge, which uses unspendable Taproot outputs to store data in its "W= atchtowerChallenge" transaction due to the standardness restrictions on the= size of OP_RETURNs[^0]. Meanwhile, we have witnessed in recent years that = the nudge is ineffective to deter storing data onchain.

Since the restrictions on = the usage of OP_RETURN outputs encourage harmful practices while being inef= fective in deterring unwanted usage, i propose to drop them. I suggest to s= tart by lifting the restriction on the size of the scriptPubKey for OP_RETU= RN outputs, as a first minimal step to stop encouraging harmful behaviour, = and to then proceed to lift the restriction on the number of OP_RETURN outp= uts per transactions.

Antoine Poinsot

[^0]: See section 6.1 of their whitepaper h= ere https://citrea.xyz/clementin= e_whitepaper.pdf

--
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/= rhfyCHr4RfaEalbfGejVdolYCVWIyf84PT2062DQbs5-eU8BPYty5sGyvI3hKeRZQtVC7rn_ugj= UWFnWCymz9e9Chbn7FjWJePllFhZRKYk%3D%40protonmail.com.
--b1=_TsO8Rz9sHky8PVzPrDOSBUKzifY5SpeSVcVqWLWK8w--