Return-Path: <pete@petertodd.org>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 3968CC002D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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: <xms:1H9iY4Q04j6nNk5S6MPgVC0uWHtSssEZC-j7Q_Xwk7yrHEGBrcROwQ>
 <xme:1H9iY1wQJStbaWOdoQ7gGiAgeZBbM4z-N2_f0BsbfVvn8aGOw2LZTHE6zkG9GDS1u
 _ofv32pXHKlUYhdjG0>
X-ME-Received: <xmr:1H9iY133qn9Mj4-u7IgEBb_cXPmWS-XI_S10lzKgONGMGqvqBkclWmXhQiX2VH91K-NB9PaBron8C0tvqmOTpZAgVbAQsn6U>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudejgdeihecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvghtvghr
 ucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrthhtvg
 hrnhepledvleelffdtudekudffjefgfeejueehieelfedtgfetudetgeegveeutefhjedt
 necuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuihiivg
 eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggurdho
 rhhg
X-ME-Proxy: <xmx:1H9iY8BMqOrQQBoesWqErU_44grAgTuI5PuIzDuH2PhP760MFoD-qg>
 <xmx:1H9iYxjy4Jsj-axua5IY3gZoKG4RxcdbGm6oNjhqlYF6_t35qCpp1Q>
 <xmx:1H9iY4pAT_cMDyIcx3hK4tJ1NPygGLXEJOq4pn6Zb4S-c5kQl3QkjA>
 <xmx:1H9iYxdYD6Xe8rmpbXS4IFaYEU8vXekeEPhnEzT5v6VZTchG7A8pgw>
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 <pete@petertodd.org>
To: Greg Sanders <gsanders87@gmail.com>
Message-ID: <Y2J/zyeTh/rwekqe@petertodd.org>
References: <CALZpt+GZAd-vYMzUMicg0c9OyyWExtT5EH61Hms6NNOM19ddZA@mail.gmail.com>
 <Y2J40/Cd40fUlFjj@petertodd.org>
 <CAB3F3DsA3kNutwXGwamyyEgJN65rJt-0ks-ytuXP7jwjsjr8ug@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="zyKkyq1H45Ubztc9"
Content-Disposition: inline
In-Reply-To: <CAB3F3DsA3kNutwXGwamyyEgJN65rJt-0ks-ytuXP7jwjsjr8ug@mail.gmail.com>
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <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: 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--