Return-Path: <pete@petertodd.org>
Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 6950CC002B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 20:22:58 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp4.osuosl.org (Postfix) with ESMTP id 3A76241C4E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 20:22:58 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3A76241C4E
Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key,
 unprotected) header.d=messagingengine.com header.i=@messagingengine.com
 header.a=rsa-sha256 header.s=fm3 header.b=H8/s5sdr
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.603
X-Spam-Level: 
X-Spam-Status: No, score=-2.603 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Received: from smtp4.osuosl.org ([127.0.0.1])
 by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id aEqcWH4xDLO2
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 20:22:56 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 906DF41C49
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27])
 by smtp4.osuosl.org (Postfix) with ESMTPS id 906DF41C49
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Feb 2023 20:22:56 +0000 (UTC)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id DB3925C0074;
 Thu,  2 Feb 2023 15:22:53 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Thu, 02 Feb 2023 15:22:53 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm3; t=1675369373; x=1675455773; bh=XJSfTk/RV4DlZM6gthlRYkAyNt9y
 PghgENqLIceRC3g=; b=H8/s5sdr4D3kv8PdC2yPrRPCDKjPmVjKNFqoWq4H90gM
 rfUPfcQu/8N+t1rUUleVwR8IrF7O2jT0pRk2pNX0VUzLA/z8YrLQ8JaICkZIi0jl
 Fk2TWMV99C1YarjtBEvQJR3DIK6q4Za1eu920YSyKNyViDvONWm2jRbGCaPPfnkb
 OYrabginUyjdScMV+FjDXnBBBoD8vJ+ubWyAz9eMhLpvHWAEaMkCvTz0PF/9V0Bo
 G0y3GPFEyD/JwG31iuRontvTjoK8I2XTDhbtEICarc5Ye5AzSW0qiGYx7dweq60j
 DpeyqHQGgod/fzw/SW+vPyHitQ1zTRzVdRfymQ5sWQ==
X-ME-Sender: <xms:nRvcY33QdiyKsStZd0xpG8p2zYmanF8gUhzVZhSDEv8UrVmI6pptvg>
 <xme:nRvcY2EvGY_kRyohXLR83H2GcGxEzG019olF8h1DYUNZR1PFYJd_oi3fgvo1-pKOn
 GkZZXVlRA0-GdXXA1I>
X-ME-Received: <xmr:nRvcY36qFlEhXSU2NiWXUpAK9AbV9orE7wD2VsQRvTc4CPin6wrcLAN03GE>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefkedgudeffecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvght
 vghrucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrth
 htvghrnhepledvleelffdtudekudffjefgfeejueehieelfedtgfetudetgeegveeutefh
 jedtnecuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuih
 iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggu
 rdhorhhg
X-ME-Proxy: <xmx:nRvcY80335jBnGjEr2FUPEpm1cOOCwrd7rFTx--ku1gT85wsxrFPjQ>
 <xmx:nRvcY6G0bBYfMZsloxHA_krpAFE2B89pvDV1S4Zl8Hd0IFEF5GJikg>
 <xmx:nRvcY98q5NlOoiWNJ8P0LGqyNp68ThhoAJ6bOoDbIFlVYL6fz_GSHA>
 <xmx:nRvcY2Bt7WVlVNhYXJxxw8rXirbnXlMdqyinL0fsAqEasiSjWtq4HA>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 2 Feb 2023 15:22:53 -0500 (EST)
Received: by localhost (Postfix, from userid 1000)
 id 924BB5F941; Thu,  2 Feb 2023 15:22:38 -0500 (EST)
Date: Thu, 2 Feb 2023 15:22:38 -0500
From: Peter Todd <pete@petertodd.org>
To: Greg Sanders <gsanders87@gmail.com>
Message-ID: <Y9wbjsmPO+nyM267@petertodd.org>
References: <CAB3F3DvH3FnK8krykbcRVKc-z8F4yjt9mzYHevpYxaWkH4w9tw@mail.gmail.com>
 <CAD5xwhgFBQ-ScyBU5=WnREGsN-T=Nv=oR6vOsnHJ-ZMzDF8Vqg@mail.gmail.com>
 <CAPfvXf+N8aF+bqjGzpfDrhCYg7ngciSDCpUnCMHD+k5F+m3oWA@mail.gmail.com>
 <CAB3F3DuDODUxB5aK4VFWa8sKFCkZfOj6Vjb+Wp39opyt8MNnEA@mail.gmail.com>
 <CAB3F3DtrSFPmperGJJAUDZj7vt9aHgvkc0b5Pts3+mq5fTuWXA@mail.gmail.com>
 <CAB3F3DvToF_fia+X5SQi-L=BDYGLpzr8nNHqjtFBUjLMbyPE9Q@mail.gmail.com>
 <Y9vOGVMJx1b9CPYq@petertodd.org>
 <CAB3F3Du2XsHCh5o5S84XKKizTkrTFJJ-j42-qunyuSRkwX7H_Q@mail.gmail.com>
 <Y9vRjQVnZzA8Bx/s@petertodd.org>
 <CAB3F3DvumE-r+LGm8ivooPD9qfzFs-NK9Ve06Ew1EMAifSx8dw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="4pHyXnTH3anttqOW"
Content-Disposition: inline
In-Reply-To: <CAB3F3DvumE-r+LGm8ivooPD9qfzFs-NK9Ve06Ew1EMAifSx8dw@mail.gmail.com>
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Ephemeral Anchors: Fixing V3 Package RBF
 againstpackage limit pinning
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Feb 2023 20:22:58 -0000


--4pHyXnTH3anttqOW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 02, 2023 at 01:36:24PM -0500, Greg Sanders wrote:
> Quickly checked, it fails a number of standardness tests in unit/function=
al
> tests in Bitcoin Core, at least.
>=20
> OP_2 was actually Luke Jr's idea circa 2017 for about the same reasons, I
> just independently arrived at the same conclusion.

Well, frankly I really don't like the idea of using OP_2 just to avoid chan=
ging
some unit tests. We're doing something that many people will use for years =
to
come, that's unnecessarily obscure just because we don't want to spend a bi=
t of
some modifying some tests to pass.

OP_TRUE is the obvious way to do this, and it results with a 1 on the stack,
which plays better with other standardness rules. OP_2 means we *also* may =
need
to special case having a 2 on the stack in certain implementations of other
standardness rules.

--=20
https://petertodd.org 'peter'[:-1]@petertodd.org

--4pHyXnTH3anttqOW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmPcG4cACgkQLly11TVR
Lzf8yw//SaKXXFrM6Yf6esphFghNZ0SY5dFFSa6E8iF5ZGT+5B8BC1UrPCcDjDQI
tuymAlq78OgTrzPa3QXGsueq7rvUaBs+a/5JgONF7Q0dXh4APpCafQ+Fe5HJ4h7V
DXfa2WT05ioAABEoQ9YPduwit0aC93UHI59unq4EkLxjzqVTc5YbCpYzNFsmT4Eg
/ekROQJpbIRLYxl+DsDvv7YiGbaOlWoV3GBJVBN0GpIjclGEBSv47gA7QusHrfBk
ng3Kdxcek9MFJYHPl7fF4W4NyZSJKadjuUIA041YT0bzlzgkO/KApSdFPkHhn0dj
G4U4yvDbR1zBglEvpo6yuRzZP4/pZJM8pPeeBwIGPIbWp87TMznbylgYNiTShBeM
yLVNCqUYBIi7NIABYCAr7G1QaEhVmufdgCNk/4oDXYH9oiR14z7w9Fm1r26HMJEw
bEo3i1+SeRCHa9GJdAuzPkoQ+uqw/FJkYO9R4+lHfzzq8sOPNzDwtyaG0VVHD3zp
WLpQLaz/bdl2vD/X00DzlpP737ywKWMMnzOkz4uAxPmeNi22OjbjDz4G9akelgsg
2Iq7GLb5ZVxan7i9UVLpzZwXTatlmLJW5lDmD+yW7mL0QdQw5/KIv4Hlhi0Hn2bw
ev6nB23GEoVU7nrTJ6J0ItnYzfzRVzgGB4mgeIoYa5mcvps3lQg=
=Lt2o
-----END PGP SIGNATURE-----

--4pHyXnTH3anttqOW--