summaryrefslogtreecommitdiff
path: root/7a/636a94174556c67032c9093a78ca36b0683c8f
blob: 95889e4e2406e66c570b249c71bdb22239cd9e07 (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
Return-Path: <nadav@shesek.info>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 22B21C0032
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Mar 2023 00:39:29 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp3.osuosl.org (Postfix) with ESMTP id D410661117
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Mar 2023 00:39:28 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org D410661117
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.697
X-Spam-Level: 
X-Spam-Status: No, score=-1.697 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001] autolearn=no 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 b_UTbSJENneW
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Mar 2023 00:39:27 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 67016610EE
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com
 [IPv6:2a00:1450:4864:20::533])
 by smtp3.osuosl.org (Postfix) with ESMTPS id 67016610EE
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Thu,  2 Mar 2023 00:39:27 +0000 (UTC)
Received: by mail-ed1-x533.google.com with SMTP id eg37so61057193edb.12
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed, 01 Mar 2023 16:39:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=shesek.info; s=shesek; t=1677717565;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=OWUhsLuE1qy4sVuPt+SxdtpuLpUe0BymqF8nuE5KPzw=;
 b=sUIAK3gv4j4ilACZCQ7szoKmWOKIAN5XT/eag5I7yiC4IOY9WvqDR+IaPD9dSwAAPW
 AO+YgYPBJrlWNbNYC6M9ziULd7CIV+IHWvICw4jY0ji525SmQHS1mxsE+mU5qkrJe/Bi
 wqeEPdgvJWwdC7SOQvWD3Nh2kJlU92nZW77Ao=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1677717565;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=OWUhsLuE1qy4sVuPt+SxdtpuLpUe0BymqF8nuE5KPzw=;
 b=TeXUxkNmKEjJ/lNT5Gf4mBLnYU+9yzuqoz125AxsiFG+Mzj3UNyQUDCg470vDXABUr
 y0QG5x1q8/rkv2H9/5G8+0YrGYUnFY8xDM7tkOJsVsEO6riufkqy1hWWOlhS0kSdBB8d
 KPTT6iAOVqydQV+NecH8C59FttHzP9m6WY8Yau41l69Ols3ycZZAgBF/icoc3WDCc1Zc
 FHE0iH0L+FZHBCWvj6IKNBUB4usLb+0aLDuRZI9tfUqAMOXr9BW6CPz32k/bRKsT78PP
 JYigBrURFpvlp1k06z9utvHmw8Ad2RM2HWroDhPiR+W1j8AaT8WgDpYoTH0h/w9GRUed
 phJw==
X-Gm-Message-State: AO0yUKVARK93j5m5Rj01Wyd7yY0FXunmsxKnb3aZXcyQtw/etw9smJAl
 8GRaHsrYAeG5Yhl1sv+oXfQge0GIonbOSIITWrvnngh8A8tD+jApV8E=
X-Google-Smtp-Source: AK7set8f/mflz76fK7YjsVKdQqn5fsf4zS0oLG46f/V54ig6k7XW6a6WEXAM0ZjxHG7orBP1ZvJEQUXzvwjPvi5CdH0=
X-Received: by 2002:a17:906:9505:b0:8ab:2b8b:143d with SMTP id
 u5-20020a170906950500b008ab2b8b143dmr4332879ejx.7.1677717565237; Wed, 01 Mar
 2023 16:39:25 -0800 (PST)
MIME-Version: 1.0
References: <CABrXkXoq4x9aRuk0ZnfPmqE-TXZfROMuAMTwCO9VCcTnJ+snNA@mail.gmail.com>
In-Reply-To: <CABrXkXoq4x9aRuk0ZnfPmqE-TXZfROMuAMTwCO9VCcTnJ+snNA@mail.gmail.com>
From: Nadav Ivgi <nadav@shesek.info>
Date: Thu, 2 Mar 2023 02:39:13 +0200
Message-ID: <CAGXD5f2zQcS6rCEraNG9_h5E-9ZhFVf3iK_0Mbq7cdn6o6C1jA@mail.gmail.com>
To: Giuseppe B <beppeben2030@gmail.com>, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="000000000000827cbc05f5e00f55"
X-Mailman-Approved-At: Thu, 02 Mar 2023 01:18:11 +0000
Subject: Re: [bitcoin-dev] Minimum fees
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 Mar 2023 00:39:29 -0000

--000000000000827cbc05f5e00f55
Content-Type: text/plain; charset="UTF-8"

Hi Giuseppe,

One side-effect this has is that until enough fees accumulate in the
mempool to satisfy min_fees, the rational behaviour for miners would be to
try and fork the chain tip, competing for the fees in the latest block
(+whatever got into the mempool in the meanwhile and can fit in). This
could lead to increased reorgs/orphan rates and chain instability. It could
also lead to miners preferring to set their low_fee to zero, to avoid other
miners from forking their blocks off.

I'm also not sure that this would actually change much. If humanity is
willing to spend X BTC/day on mining fees, it doesn't really matter if it's
spread out through fewer or more blocks.

shesek

On Wed, Mar 1, 2023 at 10:25 PM Giuseppe B via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> Hello everyone,
>
> I'm relatively new here so what I'm proposing could have already been
> discussed, or may be flawed or inapplicable. I apologize for that.
>
> I was picturing a situation where block rewards are almost zero, and the
> base layer is mainly used as a settlement layer for relatively few large
> transactions, since the majority of smaller ones goes through LN.
>
> In such a case it may very well be that even if transaction amounts are
> very consistent, transaction fees end up being very small since there is
> enough space for everyone in a block. Users wouldn't mind paying higher
> fees as they know that that would increase the network security, however
> nobody wants to be the only one doing that. Miners would of course like
> being paid more. So everyone involved would prefer higher fees but they
> just stay low because that's the only rational individual choice.
>
> Therefore I was imagining the introduction of a new protocol rule,
> min_fees, that would work like this:
> - the miner that gets to mine a block appends a min_fee field to the
> block, specifying the minimum fees that need to be contained in the
> following block in order for it to be valid.
> - one can also mine an empty block and reset the min_fee, to avoid the
> chain getting stuck.
>
> min_fees could either represent the total fees of the following block, or
> the minimal fee for each single transaction, as a percentage of the value
> transacted. Both seem to have some merits and some potential drawbacks. Of
> course min_fees=0 would correspond to the current situation.
>
> It looks to me that this could have the potential to bring the equilibrium
> closer to a socially optimal one (as opposed to individually optimal), and
> to benefit the network security in the long term. Of course it's just a
> rough sketch and it would deserve a much deeper analysis. I was just
> interested in knowing if you think that the principle has some merit or if
> it's not even worth discussing it for some reason that I'm not considering.
>
> Cheers,
>
> Giuseppe.
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

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

<div dir=3D"ltr"><div>Hi Giuseppe,</div><div><br></div><div>One side-effect=
 this has is that until enough fees accumulate in the mempool to satisfy mi=
n_fees, the rational behaviour for miners would be to try and fork the chai=
n tip, competing for the fees in the latest block (+whatever got into the m=
empool in the meanwhile and can fit in). This could lead to increased reorg=
s/orphan rates and chain instability. It could also lead to miners preferri=
ng to set their low_fee to zero, to avoid other miners from forking their b=
locks off.</div><div><br></div><div>I&#39;m also not sure that this would a=
ctually change much. If humanity is willing to spend X BTC/day on mining fe=
es, it doesn&#39;t really matter if it&#39;s spread out through fewer or mo=
re blocks.</div><div><br></div><div>shesek<br></div></div><br><div class=3D=
"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 1, 2023 at =
10:25 PM Giuseppe B via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists=
.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"=
>Hello everyone,<div><br></div><div>I&#39;m relatively new here so what I&#=
39;m proposing could have already been discussed, or may be flawed or inapp=
licable. I apologize for that.</div><div><br></div><div>I was picturing a s=
ituation where block rewards are almost zero, and the base layer is mainly =
used as a settlement layer for relatively few large transactions, since the=
 majority of smaller ones goes through LN.</div><div><br></div><div>In such=
 a case it may very well be that even if transaction amounts are very consi=
stent, transaction fees end up being very small since there is enough space=
 for everyone in a block. Users wouldn&#39;t mind paying higher fees as the=
y know that that would increase the network security, however nobody wants =
to be the only one doing that. Miners would of course like being paid more.=
 So everyone involved would prefer higher fees but they just stay low becau=
se that&#39;s the only rational individual choice.</div><div><br></div><div=
>Therefore I was imagining the introduction of a new protocol rule, min_fee=
s, that would work like this:=C2=A0</div><div>- the miner that gets to mine=
 a block appends a min_fee field to the block, specifying the minimum fees =
that need to be contained in the following block in order for it to be vali=
d.</div><div>- one can also mine an empty block and reset the min_fee, to a=
void the chain getting stuck.</div><div><br></div><div>min_fees could eithe=
r represent the total fees of the following block, or the minimal fee for e=
ach single transaction, as a percentage of the value transacted. Both seem =
to have some merits and some potential drawbacks. Of course min_fees=3D0 wo=
uld correspond to the current situation.</div><div><br></div><div>It looks =
to me that this could have the potential to bring the equilibrium closer to=
 a socially optimal one (as opposed to individually optimal), and to benefi=
t the network security in the long=C2=A0term. Of course it&#39;s just a rou=
gh sketch and it would deserve a much deeper analysis. I was just intereste=
d in knowing if you think that the principle has some merit or if it&#39;s =
not even worth=C2=A0discussing it for some reason that=C2=A0I&#39;m=C2=A0no=
t considering.</div><div><br></div><div>Cheers,</div><div><br></div><div>Gi=
useppe.</div><div><br></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>

--000000000000827cbc05f5e00f55--