summaryrefslogtreecommitdiff
path: root/c6/543b040aecfb204254ca3eeb9b33dec0473304
blob: f00ccb3dc67a2c2fa404a2282f7fa01d96a2f087 (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
220
221
222
223
224
225
226
227
228
Return-Path: <antoine.riard@gmail.com>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 6F9F0C000B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  1 Feb 2022 00:42:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp2.osuosl.org (Postfix) with ESMTP id 578BB4015F
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  1 Feb 2022 00:42:40 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: smtp2.osuosl.org (amavisd-new);
 dkim=pass (2048-bit key) header.d=gmail.com
Received: from smtp2.osuosl.org ([127.0.0.1])
 by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id kcgC5Gh6T6E3
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  1 Feb 2022 00:42:39 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com
 [IPv6:2a00:1450:4864:20::42c])
 by smtp2.osuosl.org (Postfix) with ESMTPS id C30C340120
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Tue,  1 Feb 2022 00:42:38 +0000 (UTC)
Received: by mail-wr1-x42c.google.com with SMTP id s9so28663236wrb.6
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 31 Jan 2022 16:42:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=TyqNktyJdc4Ux73CxWz7HUMTjusDsSCAXWv/VqSb1O4=;
 b=M2nz4DJnVbuGOpI4Qzz6nMkEyN5XV5jjakMpN/Ljrth3lKkxuQ2jrEbYxxFaCIHk+6
 gP+YUHQU117BZMmBM0Sxh67lYHd1klpPy2tfrSe/8mjAZhyoZsQnzDJkmrXTI+JGOPqg
 XxTcRhui0riUYb+0H2cJVo/3F1iwHkJl5p3HYA1XYuC6jPxugJCCLx1jrcn4QvGh77Q6
 FP5F07gRxy40Wotyk6zTVm5AQm3l+xrc5eqq+PN/ZHoxy/eA6fv4NFtrN1+sSZlPlD6w
 kPoL6VOOKKMlpDszoazOYtH8REynSGdxSabXYOVWQQmcnq4T5eagTJU3/S3afNm6ZacA
 RbdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=TyqNktyJdc4Ux73CxWz7HUMTjusDsSCAXWv/VqSb1O4=;
 b=565T5nIg7y3Zb5TOdf+S8Kx/aL1KkG+VxyHxPucKLInCKFYasHj3m1VyGzXEBoY2If
 dnwFpoMVXmrbUooXMvoMp5ar9HlFR7WLCqvuZv6jAXdbQ7EUBKHWi/4y+flrEZlu/z6L
 XeYB9DVkExeGlJRH8ewH/r19UEc5bXMFdr6igh/JyxL+R+b+RG3s7R7/ISHXVkBLLS1v
 hfwjIcr+QM5QkkVVsoj0GfNJmBXmM0TM760Kx/xHQNdYnXaNIyPiR7+4NxR7dCCVq88R
 7/LwNi3Uy7sLoZMAzVem0/YT4H1LWcIEIueEtd6iU5ja4wdsNPDLRz5ZM4Hwz0JHRulO
 3WJA==
X-Gm-Message-State: AOAM532naElMkpc2uWNuuXPtrRBtYxBPqUvsuNBI5uzIgML1K3Kl77JC
 bKGbH1TfeuCIukVba5j8rhMLKqOv0NFBUHAdDfJPnWDypGE=
X-Google-Smtp-Source: ABdhPJwOBiAPmqXVAVOJGS3ZAK7IByiS+lASFZrAR5plhOehNzWz/AuaMi7j+GmKUBOxBqsQKde0X4fSbgZpAtM8qu4=
X-Received: by 2002:a5d:4dc6:: with SMTP id f6mr19099415wru.255.1643676156975; 
 Mon, 31 Jan 2022 16:42:36 -0800 (PST)
MIME-Version: 1.0
References: <mailman.19693.1643292568.8511.bitcoin-dev@lists.linuxfoundation.org>
 <CAHUJnBA7AtX_osJUJQyKmc5QBknH5U0TKU3hiyxzpPv4TN88JQ@mail.gmail.com>
In-Reply-To: <CAHUJnBA7AtX_osJUJQyKmc5QBknH5U0TKU3hiyxzpPv4TN88JQ@mail.gmail.com>
From: Antoine Riard <antoine.riard@gmail.com>
Date: Mon, 31 Jan 2022 19:42:24 -0500
Message-ID: <CALZpt+HdN9G-a7U2ff7OQQ=BZTV9Fr57w7aFaTRidX0y6syPGQ@mail.gmail.com>
To: Bram Cohen <bram@chia.net>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="000000000000765de105d6ea2d56"
X-Mailman-Approved-At: Tue, 01 Feb 2022 00:45:40 +0000
Subject: Re: [bitcoin-dev] Improving RBF policy
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: Tue, 01 Feb 2022 00:42:40 -0000

--000000000000765de105d6ea2d56
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

> Is it still verboten to acknowledge that RBF is normal behavior and
disallowing it is the feature, and that feature is mostly there to appease
some people's delusions that zeroconf is a thing? It seems a bit overdue to
disrespect the RBF flag in the direction of always assuming it's on.

If you're thinking about the opt-in flag, not the RBF rules, please see
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-June/019074.ht=
ml
The latest state of the discussion is here :
https://gnusha.org/bitcoin-core-dev/2021-10-21.log
A gradual, multi-year deprecation sounds to be preferred to ease adaptation
of the affected Bitcoin applications.

Ultimately, I think it might not be the last time we have to change
high-impact tx-relay/mempool rules and a more formalized Core policy
deprecation process would be good.



Le lun. 31 janv. 2022 =C3=A0 18:15, Bram Cohen via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> a =C3=A9crit :

> Gloria Zhao wrote:
>
>>
>> This post discusses limitations of current Bitcoin Core RBF policy and
>> attempts to start a conversation about how we can improve it,
>> summarizing some ideas that have been discussed. Please reply if you
>> have any new input on issues to be solved and ideas for improvement!
>>
>
> Is it still verboten to acknowledge that RBF is normal behavior and
> disallowing it is the feature, and that feature is mostly there to appeas=
e
> some people's delusions that zeroconf is a thing? It seems a bit overdue =
to
> disrespect the RBF flag in the direction of always assuming it's on.
>
>
>> - **Incentive Compatibility**: Ensure that our RBF policy would not
>>   accept replacement transactions which would decrease fee profits
>>   of a miner. In general, if our mempool policy deviates from what is
>> economically rational, it's likely that the transactions in our
>> mempool will not match the ones in miners' mempools, making our
>> fee estimation, compact block relay, and other mempool-dependent
>> functions unreliable. Incentive-incompatible policy may also
>> encourage transaction submission through routes other than the p2p
>> network, harming censorship-resistance and privacy of Bitcoin payments.
>>
>
> There are two different common regimes which result in different
> incentivized behavior. One of them is that there's more than a block's
> backlog in the mempool in which case between two conflicting transactions
> the one with the higher fee rate should win. In the other case where ther=
e
> isn't a whole block's worth of transactions the one with higher total val=
ue
> should win. It would be nice to have consolidated logic which handles bot=
h,
> it seems the issue has to do with the slope of the supply/demand curve
> which in the first case is gentle enough to keep the one transaction from
> hitting the rate but in the second one is basically infinite.
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

--000000000000765de105d6ea2d56
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>&gt; Is it still verboten to acknowled=
ge that RBF is normal behavior and
 disallowing it is the feature, and that feature is mostly there to=20
appease some people&#39;s delusions that zeroconf is a thing? It seems a bi=
t
 overdue to disrespect the RBF flag in the direction of always assuming=20
it&#39;s on.<br><br></div>If you&#39;re thinking about the opt-in flag, not=
 the RBF rules, please see <a href=3D"https://lists.linuxfoundation.org/pip=
ermail/bitcoin-dev/2021-June/019074.html">https://lists.linuxfoundation.org=
/pipermail/bitcoin-dev/2021-June/019074.html</a><br></div>The latest state =
of the discussion is here : <a href=3D"https://gnusha.org/bitcoin-core-dev/=
2021-10-21.log">https://gnusha.org/bitcoin-core-dev/2021-10-21.log</a><br><=
/div>A gradual, multi-year deprecation sounds to be preferred to ease adapt=
ation of the affected Bitcoin applications.<br><br></div> Ultimately, I thi=
nk it might not be the last time we have to change high-impact tx-relay/mem=
pool rules and a more formalized Core policy deprecation process would be g=
ood.<br><div><div><div><br><div><br></div></div></div></div></div><br><div =
class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0lun. 31=
 janv. 2022 =C3=A0=C2=A018:15, Bram Cohen via bitcoin-dev &lt;<a href=3D"ma=
ilto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundati=
on.org</a>&gt; a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr">Gloria Zhao wrote:</di=
v><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><br>
This post discusses limitations of current Bitcoin Core RBF policy and<br>
attempts to start a conversation about how we can improve it,<br>
summarizing some ideas that have been discussed. Please reply if you<br>
have any new input on issues to be solved and ideas for improvement!<br></b=
lockquote><div><br></div><div>Is it still verboten to acknowledge that RBF =
is normal behavior and disallowing it is the feature, and that feature is m=
ostly there to appease some people&#39;s delusions that zeroconf is a thing=
? It seems a bit overdue to disrespect the RBF flag in the direction of alw=
ays assuming it&#39;s on.</div><div>=C2=A0</div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">- **Incentive Compatibility**: Ensure that our RBF p=
olicy would not<br>
=C2=A0 accept replacement transactions which would decrease fee profits<br>
=C2=A0 of a miner. In general, if our mempool policy deviates from what is<=
br>
economically rational, it&#39;s likely that the transactions in our<br>
mempool will not match the ones in miners&#39; mempools, making our<br>
fee estimation, compact block relay, and other mempool-dependent<br>
functions unreliable. Incentive-incompatible policy may also<br>
encourage transaction submission through routes other than the p2p<br>
network, harming censorship-resistance and privacy of Bitcoin payments.<br>=
</blockquote><div><br></div><div>There are two different common regimes whi=
ch result in different incentivized behavior. One of them is that there&#39=
;s more than a block&#39;s backlog in the mempool in which case between two=
 conflicting transactions the one with the higher fee rate should win. In t=
he other case where there isn&#39;t a whole block&#39;s worth of transactio=
ns the one with higher total value should win. It would be nice to have con=
solidated logic which handles both, it seems the issue has to do with the s=
lope of the supply/demand curve which in the first case is gentle enough to=
 keep the one transaction from hitting the rate but in the second one is ba=
sically infinite.</div></div></div>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div>

--000000000000765de105d6ea2d56--