summaryrefslogtreecommitdiff
path: root/b7/47b706d6e41566ba2bc8508fa2b02dac3b2cc2
blob: 4df2b4270d67817e5b4c156361e691e337a6bc67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
Delivery-date: Thu, 18 Jul 2024 18:06:52 -0700
Received: from mail-oo1-f63.google.com ([209.85.161.63])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBDRYHVHZTUGRBJHY422AMGQEYJTHTHI@googlegroups.com>)
	id 1sUc5E-0007Ct-6D
	for bitcoindev@gnusha.org; Thu, 18 Jul 2024 18:06:52 -0700
Received: by mail-oo1-f63.google.com with SMTP id 006d021491bc7-5c6927f9593sf999051eaf.2
        for <bitcoindev@gnusha.org>; Thu, 18 Jul 2024 18:06:51 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1721351206; cv=pass;
        d=google.com; s=arc-20160816;
        b=Lf6og5y0cRQxogwUW6H3cz+a3AvliW7rmes9zpi86+iWFwUg08cDi29wXJfKup5gmn
         Y0/62vBeO+hE444j0BFgc/aPL+/Oct5akZ+ukSWQTwoP4igfhKYmlcgBqVIUCi0JYBDx
         MDHEY9R5ouuIvZqtMqWFtUztbxKwVYnT26tKBzN7JLsK09X+rDYKc5SQgKjWyop66tTA
         vjqMk8K6cyy0vEeM0PoU3RS43Qr/OQpizzHalvAk+tWYH1RwHoTjREBI2eSUC6Rx/DGB
         lvv7Cij3Hai9d16Hjc6HyBEiBy854qRaHzcve8RPFWK4D1hUe0uj1JSzoITK2x/hBKmG
         Aklw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:in-reply-to:content-disposition
         :mime-version:references:message-id:subject:cc:to:from:date
         :feedback-id:sender:dkim-signature;
        bh=6MtONM5kxBK6+VVUluTJ2oO8Xp/ZCYb0Jea50k6aFbY=;
        fh=MxKgPAPRAkDUBjnSRQDTivtL0PgCk2LEu9dRh5zGqSs=;
        b=WPrYr31ROnd2qqpwmZ9iXNFBN2DiQaQsj394npSasL8/VgN24itcWZB/s6WUkrXzNI
         H6td6TqCnlYfIqsWab9Bri8rtKExOM1Sz6gakcVFn/trmyHp/cAttPQTOWUsoJttgWCU
         NSdX8byTvghKd1hWErOcGJnAoSY4Idy+3ueJTuVrd4cV8lOeOp2oIA+X90TSfkMdPtlU
         n7iRnq8b4Suw83INL35nONfqqtcpMaQZ4ce6su7n/Qt4vRHYxLY8Ai5w8xWT/XXvPKNI
         2gdyq+MSh9umzzMobfTOb2FPSTIqTK9IJoBYzqnuGDhPm+P+uQpdyl+psKfWBAlFQesY
         qeOA==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=wEkjHzh4;
       spf=pass (google.com: domain of pete@petertodd.org designates 103.168.172.148 as permitted sender) smtp.mailfrom=pete@petertodd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1721351206; x=1721956006; 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:in-reply-to:content-disposition:mime-version
         :references:message-id:subject:cc:to:from:date:feedback-id:sender
         :from:to:cc:subject:date:message-id:reply-to;
        bh=6MtONM5kxBK6+VVUluTJ2oO8Xp/ZCYb0Jea50k6aFbY=;
        b=tee1YfPLsXMO4HtuI3MW6IgSrc0luZPpIJRT+N9pSOnKgRoGydI/z+AC5WZGNU8lHl
         oJ6DyoWZcA5eDaQSA5MYajq3z+KUhy6iSAvT+nW8hsTw8Eh9ri6hMYLHEITtpV2N0rb1
         sqVZKkjMC8mRhu/9R2AQF8pn4O5hVQ54475x1GFWfpKKpiQrrlKF1a1/l8woE5JNuKuA
         0XXzEvrPcHgvdwRD791l1c5DPc49cWCHkNbK4bT1VPikzpIA/7VzefH6X7CZxYG1TX+8
         0khRMRWX5YGV6GtRnicrUhThfQRt5Xa4poHDq979nWm6E4D6a9RsF7vJlBt/eROME8Hx
         R+0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1721351206; x=1721956006;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:in-reply-to:content-disposition:mime-version
         :references:message-id:subject:cc:to:from:date:feedback-id
         :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=6MtONM5kxBK6+VVUluTJ2oO8Xp/ZCYb0Jea50k6aFbY=;
        b=ZPyyqjE8N6wpIo0XPI0keMzFJOwl8nqYA1bsoo+s3T3yuntKSA8jUZqLArjiPVRfUT
         ggJv9nPhTv/geMLIQiGk5qILALXhJ0uNc2hunPbdI6OXdZQT8udMA4SW8HDXlnSomWnc
         ALo6IIaifIQvl0WRYfsqkLNQNT2V5EvOTmOvtOo1WetgkJCu0x7/za8jnoue7sl/Q0gL
         w0Zga1HbY1fWGflWtBHFmccpmSW4IaOAvOcT/8Mz/+pG9OU7+Kehs3YG1urlTg+F7WjY
         WA4SQdEtgmEbxHF1VcNLs9Vfh/RCH0KwSS07FOz9sX3/RUkFWqjl4THeUtqxlS7vETUn
         ck8w==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCW1B6jieGsJ1IZqEqflwhKqcgU8tBMRGvYxxty3m58QmX2uyXa8jcxocn8zIBP17hDICzfzC7bgLd33Egc96n261z4SmbU=
X-Gm-Message-State: AOJu0YwTmIv40X8iuf5MmK1+GnXcQ/MahfK/SFn+nIG0G5pHZJjOOgiW
	zc5DtzFcP2AcZtBDBMTGrjaOgvMmhBLONGry5bVlJmwfl/9JxD7i
X-Google-Smtp-Source: AGHT+IFK3MvZGyTXCXCwAOrXIh591Nk92lrEDLuWnkeut93hHebH34ELRWoyc5TXrWjzn/SNb+Sl0A==
X-Received: by 2002:a05:6820:215:b0:5c6:8eb6:91b2 with SMTP id 006d021491bc7-5d41a5bcfa2mr7286179eaf.1.1721351206024;
        Thu, 18 Jul 2024 18:06:46 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a4a:e8c2:0:b0:5c6:649a:f1ab with SMTP id 006d021491bc7-5d51fc55ad7ls1263146eaf.2.-pod-prod-08-us;
 Thu, 18 Jul 2024 18:06:44 -0700 (PDT)
X-Received: by 2002:a05:6820:603:b0:5cd:13ff:6210 with SMTP id 006d021491bc7-5d41b55bbb0mr177767eaf.2.1721351204392;
        Thu, 18 Jul 2024 18:06:44 -0700 (PDT)
Received: by 2002:a05:6808:a09:b0:3d9:2ea5:e56e with SMTP id 5614622812f47-3dadf32f946msb6e;
        Thu, 18 Jul 2024 18:05:39 -0700 (PDT)
X-Received: by 2002:a05:6871:580b:b0:260:f9e9:ddc with SMTP id 586e51a60fabf-260f9e9144dmr2683752fac.0.1721351138682;
        Thu, 18 Jul 2024 18:05:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1721351138; cv=none;
        d=google.com; s=arc-20160816;
        b=gEIePw4QuF9+HcRBODFtXpHOscnffResibgD3eEvYUU5bbLpizNSSQXk3fMqXa3DAA
         /BucjOu82B0UyFNWyOtazFkw6AsRtFypuaULxHxdNvZlPHUpvwFHzv2LdN/o6SzillqL
         kOsv6TBD4i2bXXqSqX64h/m/zRcGvjJ0OvGaPPuo6aOd5nYCh+H/U/960xCGguYOHx2M
         3envRscfkMlDfrqKRaDfjKiU520LRhkZAAb/vPYteft3mCBruMB1zQ36G/qsDXVdo87H
         0YunWhkPd4s7g8WPgkPlu3gT8hmyh8eB51n2oMhC207R1AQy8bB31R7S0cOoRURH8Ys8
         88GA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=in-reply-to:content-disposition:mime-version:references:message-id
         :subject:cc:to:from:date:feedback-id:dkim-signature;
        bh=Ux4FcczDdxkGa7LWQp+2HbtwBjwZ7olBLeb+vM8scGY=;
        fh=sapDHqhE46zLmMBeB1lkoe0zq8J9+V3Afx71/j8kvug=;
        b=U6+u4wsRtn7PnuCpeYwc3K/eZ3QTbmm93JFhfT9ksAPQsr4hV/CWIUAaCPkVxC+z6N
         q9x+pSshXSglPPj5FdcfDW+P8zXeLlmbHgTf13/7ktTXaJjlPzWxsGkBOzQvZtHA6RFd
         6Q4/ODbAZVcsoVaDCaVgd2LFFIO9oj6TO7Q+/gpq3D8itc9m/hn+rcmvthKdfGRBp2H0
         /kPDDG85DlpOuDohG6V8dfr3rWBtBuca+etk2CQv52ZuONq1Wlxgf2P8uGkBD/RdMH6y
         87i+8uTA6NLsH35YX2ZTT4eCxQEndl+xj0NCFJCc91mUHh7Qt21kkUZ+PiIEKVwaeRqw
         TYTA==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=wEkjHzh4;
       spf=pass (google.com: domain of pete@petertodd.org designates 103.168.172.148 as permitted sender) smtp.mailfrom=pete@petertodd.org
Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com. [103.168.172.148])
        by gmr-mx.google.com with ESMTPS id d2e1a72fcca58-70cff6ed25asi14099b3a.3.2024.07.18.18.05.38
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 18 Jul 2024 18:05:38 -0700 (PDT)
Received-SPF: pass (google.com: domain of pete@petertodd.org designates 103.168.172.148 as permitted sender) client-ip=103.168.172.148;
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
	by mailfout.nyi.internal (Postfix) with ESMTP id CDFD7138016E;
	Thu, 18 Jul 2024 21:05:37 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
  by compute2.internal (MEProxy); Thu, 18 Jul 2024 21:05:37 -0400
X-ME-Sender: <xms:4LuZZl-iuTJibL7fYN6f9r0TyKzLQz1337lljGEajqRwf9l69Ul3VQ>
    <xme:4LuZZpuYdbpc5tnyrELiB07XzD6C0YJUDVAsyKMj3gTSCCJdjvTvf9udmlCpRvPLi
    rMyx7SRTURnDZjeu1g>
X-ME-Received: <xmr:4LuZZjCUcRuQXxycftI7RhsdpGKGu888tZSW20M00IHUTPU_Qa_qf6hVxb5bOiE1roxKtat6deHPOFW_IV-t1Gj8wUQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrhedtgdegfecutefuodetggdotefrodftvf
    curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
    uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
    fjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrvghtvghr
    ucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrthhtvg
    hrnhepledvleelffdtudekudffjefgfeejueehieelfedtgfetudetgeegveeutefhjedt
    necuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuihiivg
    eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggurdho
    rhhg
X-ME-Proxy: <xmx:4LuZZpekojtlPvp1EXSouxOB7DePJ9ud-mTBudDQG0ESWBmNYx2Gqw>
    <xmx:4LuZZqOCl21foNE7KQiU_dUkaopbx81w-nKGPp9wnmvmnf7YWOGvUg>
    <xmx:4LuZZrmtCxJL0ANWHmc7h51jyPnS-9lhakxN9Ezi9dVEIjgDCIsxcg>
    <xmx:4LuZZku_NjSz3khzA9St-ctJXGJ_Cwp2F8gaZiCLroVj_FG9l3LTVQ>
    <xmx:4buZZh2ie5KEY_8PvTWhE4bMdYUCC8uP1ggGEtOmdEKnkFwc2tIXiMTB>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 18 Jul 2024 21:05:36 -0400 (EDT)
Received: by localhost (Postfix, from userid 1000)
	id 13ACB5F83F; Fri, 19 Jul 2024 01:05:33 +0000 (UTC)
Date: Fri, 19 Jul 2024 01:05:33 +0000
From: Peter Todd <pete@petertodd.org>
To: Antoine Riard <antoine.riard@gmail.com>
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Subject: Re: [bitcoindev] Re: A "Free" Relay Attack Taking Advantage of The
 Lack of Full-RBF In Core
Message-ID: <Zpm73WHBNIkkIT0Y@petertodd.org>
References: <Zpk7EYgmlgPP3Y9D@petertodd.org>
 <18fc443d-c347-4a84-94fe-81308ae20b76n@googlegroups.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="4SzzqDMzgZ8dve2g"
Content-Disposition: inline
In-Reply-To: <18fc443d-c347-4a84-94fe-81308ae20b76n@googlegroups.com>
X-Original-Sender: pete@petertodd.org
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@messagingengine.com header.s=fm2 header.b=wEkjHzh4;       spf=pass
 (google.com: domain of pete@petertodd.org designates 103.168.172.148 as
 permitted sender) smtp.mailfrom=pete@petertodd.org
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.8 (/)


--4SzzqDMzgZ8dve2g
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline

On Thu, Jul 18, 2024 at 04:04:47PM -0700, Antoine Riard wrote:
> Hi Peter,
>
> In my understanding, the attack efficiency varies widely in function of the 
> hashrate ressources
> of the miner getting the high-feerate double-spend A2 transaction. I think 
> higher are the hashrate
> ressources, lower would have been the transaction B (re)-broadcast 
> bandwidth waste.

I think you need to re-read the attack carefully before we discuss this
further. The % of hash power mining full-rbf does not significantly change the
cost efficiency of the attack as long as the fee-rate of the B transaction(s)
is below the minimum economic fee-rate necessary for miners to mine a
transaction. Above the minimum economic fee-rate, the cost efficiency is an
essentially linear function of % of full-rbf miners.

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

-- 
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 on the web visit https://groups.google.com/d/msgid/bitcoindev/Zpm73WHBNIkkIT0Y%40petertodd.org.

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

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

iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmaZu9AACgkQLly11TVR
LzdgGBAAuXsRgk1khachjU43JtdMxtHAk6xjdaR+qX+0jcOdhLnu2Z+TluwKuEBc
3zH54IwYZNNWibrc8Ncfa0TKUjH38biJm5v21XUGIjX/pXR8ehO9Sb2vJpbLUIM8
e45eYWIn3h8nNeIjZ4xbF8pq2fbANtiWWxlIUU1G8qoMDZUrnswo/1zOj8/SqMa8
94j/WGjlj94BYbAiMbLlbcNr6qtycB/FTKoXkiEd68mjftgBkRV5qFVuNaG0XBYE
MdsFVsA7ChYGH51m0YZUJ0hcPmD4VPqXyuYfIXggI6P0NztiSDDP6tltcuriw2UT
nyHP9S0Ke3A0MXqSYJeX6yLhVuLNP/oI7ZRK5ISWD9qR9WCcF7B4PUoMaPtZi78T
FqHL4S77BPHcV2GcOunlW/M0qL7IT6eFtEXKuqV1Vd9X1ccr5w06TevwcWOgdXJz
3/T0ibXrJpyxidYgh/podvMQxFMTnG5rGl29i4xq0p8f6nJTI4/XSW7vFhgEXKNB
lCszdIEzAFujFpPrjiOwMSoDBvoFM4UfgabHQXWhxo15V60nL1tFkHXE6ct5OLou
6pse/0l7V/mAMlrpYOmvXyF0p6oawwYq4cI9ANEDnVsXavOtqGd0Cyu8t7hi8sI3
x3dhV0n8o5qcwSVRXvgjrKcFVNCyNKDlUte6FHfGIz2oR73BvfU=
=ZXNG
-----END PGP SIGNATURE-----

--4SzzqDMzgZ8dve2g--