Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3968CC002D for ; Wed, 2 Nov 2022 14:34:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 1437B60E7F for ; Wed, 2 Nov 2022 14:34:00 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 1437B60E7F Authentication-Results: smtp3.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=PQZdB/uy X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SXl91wHVsXZ7 for ; Wed, 2 Nov 2022 14:33:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0E76B60E68 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by smtp3.osuosl.org (Postfix) with ESMTPS id 0E76B60E68 for ; Wed, 2 Nov 2022 14:33:58 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7C6E75C01FE; Wed, 2 Nov 2022 10:33:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 02 Nov 2022 10:33:56 -0400 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=1667399636; x=1667486036; bh=idj50uy12fpt7X2LQBCvnz4EuGTX Tn/fJNA30KoQLRw=; b=PQZdB/uyM+lE7faQ4T4iKIya/RhtGnl7zyqeHp8s3Qom j4aQlzYtNEgmiK4ekbZjYTc1z77M3kkNcQzuEzTVL0oRjg2wzVqf3zOOvoADbIns pUINYzT6+lL1BiqsOdhaAvh+4lApUT1FZ2p9kH4ZwbKrCrJknEGOxLVygNNPTl/P uA3DIFZ8iibSWhXxewPmBMsNNlR2cXleoApSDAS+FY0ZVV44yxqhheOlCwYVt5qp bF3IWjBDHPmjloPcF0lGMosPlB9R7535lExX6DQXuOc1yvhY5Aonw25wYfdFc6tN stuJN9Y4pvnW4WvghvT7XO/ZUdNTTD48r+dYAIwIIg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudejgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvghtvghr ucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrthhtvg hrnhepledvleelffdtudekudffjefgfeejueehieelfedtgfetudetgeegveeutefhjedt necuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggurdho rhhg X-ME-Proxy: Feedback-ID: i525146e8:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Nov 2022 10:33:55 -0400 (EDT) Received: by localhost (Postfix, from userid 1000) id 879095F734; Wed, 2 Nov 2022 10:33:51 -0400 (EDT) Date: Wed, 2 Nov 2022 10:33:51 -0400 From: Peter Todd To: Greg Sanders Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zyKkyq1H45Ubztc9" Content-Disposition: inline In-Reply-To: Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] Solving Multi-Party Flows Pinning with Opt-in Full-RBF Spent-nVersion Signaling X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2022 14:34:00 -0000 --zyKkyq1H45Ubztc9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 02, 2022 at 10:19:00AM -0400, Greg Sanders wrote: > Sorry, I forgot one point which is pertinent to this conversation. >=20 > *Even with* fullrbf-everywhere and V3, pinning via rule#3 and rule#5 are > still an issue in coinjoin scenarios. >=20 > Each coinjoin adversary can double-spend their coin to either full package > weight(101kvb), > or give 24 descendants, which means you quickly pay out the nose in rule#3 =2E..and the attacker also pays out the nose if they're exploiting rule #3. > or are excluded > from RBFing it if you have 4+ greifers in your coinjoin violating rule#5. >=20 > If we instead narrowed this policy to marking a transaction output as > opt-in to V3, it gets a bit more interesting. *Unfortunately, > double-spending counterparties can still cause rule#3 pain, one 100kvb > package of junk per peer,* but rule#5 violations is at least contained to > coinjoins with ~50 peers(assuming two transactions booted per input > double-spent, which would be the V3 max bumped per input). There's no hard technical reason for rule #5 to even exist. It's simply a conservative DoS limit to avoid having to do "too much" computation when processing a replacement in some replacement implementations. We shouldn't assume it will always exist. And like rule #3 pinning, exploiting it costs money. --=20 https://petertodd.org 'peter'[:-1]@petertodd.org --zyKkyq1H45Ubztc9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmNif80ACgkQLly11TVR LzdNhw//bgG4Z+4AAzMd/baM9GdCGB3gjlGGwMCYIS11oWdCpnus9+ldUI75fJPg VRdtFvJQMkGAvKRjz9m3r1TnJ5eyZzCcGUKcbXrptqUYGOGGVpJrtrBREfu+zgAx MfmTgIoIU2wHaiMscRJ1mlnfP0aqxR+ZkOopM4ew61KE16KpTv1lFv7aVyRAUdrn b/8pB9fBfyn0E8bWznXZynhx78qOPWEvhxIrlZj91aDvrvNrhmYyb6AnTKQTZQrD tByRDgUqPrBU5+Z0KZrohYTYFKgwigo8rtVp4mUiKl/YER1zDp2pQBLDYt4IQYQI g7AD4txH2lF0rqKhAGtoG2McJiA0HzwQ0JZZu46bZcYVljO5tDfQjxtmAk8m7CCj 8SYgUbqGdjU9KGZFzuhZckXpmYbjGJaXDe8x/RdSimMoKYhybbrW8FVnZEHILiCv 0E6PZEa+G1rPYQpUpiz/DZne0O0P90o4af65DgYP8mXES72Hn1pGHJZdPUsJyfp2 p6rWRbGMOo+v4Pqy6TiPBatrsoOZKux7NEc9K5Tex4+tqoadaJN5mTzSE1Sj/7eE ZEo5iXMRfZDTF8lWVX1YjD7Ku9IbtUJCMqucD2RXybK2z8wazHbDP0sEDv6/2hjt a7KETeomonJEfC5ZrNZiEvxJrEtQOSL7cfsm+f9JZXXA18aKj4Q= =H8p2 -----END PGP SIGNATURE----- --zyKkyq1H45Ubztc9--