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
|
Return-Path: <pete@petertodd.org>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])
by lists.linuxfoundation.org (Postfix) with ESMTP id 7966CC002D
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 30 Dec 2022 23:29:08 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp2.osuosl.org (Postfix) with ESMTP id 386FE400C4
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 30 Dec 2022 23:29:08 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 386FE400C4
Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key,
unprotected) header.d=messagingengine.com header.i=@messagingengine.com
header.a=rsa-sha256 header.s=fm2 header.b=cPDV3GnN
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 smtp2.osuosl.org ([127.0.0.1])
by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id MzlJlBrZtvgp
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 30 Dec 2022 23:29:06 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B2222400A4
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
[66.111.4.28])
by smtp2.osuosl.org (Postfix) with ESMTPS id B2222400A4
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 30 Dec 2022 23:29:06 +0000 (UTC)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
by mailout.nyi.internal (Postfix) with ESMTP id D9D505C0092;
Fri, 30 Dec 2022 18:29:03 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
by compute5.internal (MEProxy); Fri, 30 Dec 2022 18:29:03 -0500
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=
fm2; t=1672442943; x=1672529343; bh=rQ6AShWk99sDSU8K0qQzuma5p7t1
Vx6Zek5ma//Noa8=; b=cPDV3GnN5ZrSRDgBD2QzIkul0kUV7P4BCWSgShBDxHm9
cS3Rxx3RLMjOsJS2tsioi58FrVadbCa+pfnS3R1Ma1Fq/DYe2vQ7bg4arbZGO38y
6nWU+AF1pyDq8jKSGDsZ6Kx3xuXTPLZ/CGDmcwyTpuonmZvX6JM4QSapjgG7EBd9
Jv1zRRPHbnnP/QjqbbheXLr63xoek8rkNuPhUXglNM7DIpMXMSDKwQKLY8SkzZld
rB+F6t3ri/U4GNYqXJPPv743XIcCaHGoDTYJau/NhyNihCg0SbToGlB+c0LvVfSv
EZg+Z7t11o56NR0hOw2T/qD+XqZ4vP+I7O4vVz8ktg==
X-ME-Sender: <xms:P3SvYxBYAwj_ty924Npee7T772bf5YLYoCnqAAv1WVD6phcMDnJDqg>
<xme:P3SvY_j6QMGEZ8Y8DUpwB_YCK1LD2W4jH7xNMAUlctEmTORaBLm1O4r356uGNpJw_
tKZz5IKWO8xkoEU_ds>
X-ME-Received: <xmr:P3SvY8kDJg41cvwHdChH9wrq2BhuoLRX6PEyHQSNDLwccYdSueNcX7xSfZYH>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieejgdduudcutefuodetggdotefrodftvf
curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkfhggtggujgesghdtre
ertddtvdenucfhrhhomheprfgvthgvrhcuvfhougguuceophgvthgvsehpvghtvghrthho
uggurdhorhhgqeenucggtffrrghtthgvrhhnpeelvdellefftddukeduffejgfefjeeuhe
eileeftdfgteduteeggeevueethfejtdenucffohhmrghinhepphgvthgvrhhtohguugdr
ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe
hpvghtvgesphgvthgvrhhtohguugdrohhrgh
X-ME-Proxy: <xmx:P3SvY7yexT3MWxcK12rq6b2Yqj8ASNywWet5Q0xGFZgWKA3y8PuAuw>
<xmx:P3SvY2RCVXO_l1qg5EnuePCrXrMVmfmvE6aGmmuAqlgR-gvwQAJNkg>
<xmx:P3SvY-a4CSL0q534V6olcMWquLc9SBYscaXg3CX9AzX0pte5j5Zjsw>
<xmx:P3SvY0cV_uWihJRM3m1xsqNuH6jUKVHvdjfXxifrsbuW9DUvFifEBA>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
30 Dec 2022 18:29:02 -0500 (EST)
Received: by localhost (Postfix, from userid 1000)
id E95195F81A; Fri, 30 Dec 2022 18:28:58 -0500 (EST)
Date: Fri, 30 Dec 2022 18:28:58 -0500
From: Peter Todd <pete@petertodd.org>
To: jk_14@op.pl
Message-ID: <Y690OjY0MA/YQ9IL@petertodd.org>
References: <173552838-a7412589a40ea770709d0b227b056bd3@pmq5v.m5r2.onet>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="Bg7LtgAK0yX9Bs4Z"
Content-Disposition: inline
In-Reply-To: <173552838-a7412589a40ea770709d0b227b056bd3@pmq5v.m5r2.onet>
Cc: "bitcoin-dev@lists.linuxfoundation.org"
<bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Pseudocode for robust tail emission
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: Fri, 30 Dec 2022 23:29:08 -0000
--Bg7LtgAK0yX9Bs4Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Dec 23, 2022 at 07:43:36PM +0100, jk_14@op.pl wrote:
>=20
> Necessary or not - it doesn't hurt to plan the robust model, just in case=
=2E The proposal is:
>=20
> Let every 210,000 the code calculate the average difficulty of 100 last r=
etargets (100 fit well in 210,000 / 2016 =3D 104.166)
> and compare with the maximum of all such values calculated before, every =
210,000 blocks:
>=20
>=20
> if average_diff_of_last_100_retargets > maximum_of_all_previous_average_d=
iffs
> do halving
> else
> do nothing
>=20
>=20
> This way:
>=20
> 1. system cannot be played
> 2. only in case of destructive halving: system waits for the recovery of =
network security
First of all - while I suspct you already understand this issue - I should
point out the following:
The immediate danger we have with halvings is that in a competitive market,
profit margins tend towards marginal costs - the cost to produce an additio=
nal
unit of production - rather than total costs - the cost necessary to recover
prior and future expenses. Since the halving is a sudden shock to the syste=
m,
under the right conditions we could have a significant amount of hashing po=
wer
just barely able to afford to hash prior to the halving, resulting in all t=
hat
hashing power immediately having to shut down and fees increasing dramatica=
lly,
and likely, chaotically. Your proposal does not address that problem as it=
can
only measure difficulty prior to the halving point.
Other than that problem, I agree that this proposal would, at least in theo=
ry,
be a positive improvement on the status quo. But it is a hard fork and I do=
n't
think there is much hope for such hard forks to be implemented. I believe t=
hat
a demmurrage soft-fork, implemented via a storage fee averaged out over many
future blocks, has a much more plausible route towards implementation.
--=20
https://petertodd.org 'peter'[:-1]@petertodd.org
--Bg7LtgAK0yX9Bs4Z
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmOvdDgACgkQLly11TVR
LzcF7g//Z9S+Zj5O95i/1zET8cZknKkCfMqG/qWerTq1/vQK8tzYwSuxVdph6sCx
TMz/rdrvl2GoJa8fn0XpMqVUHaq3hWveqAy2Mg6M3O2v+lInyJONpWolucKfI2YY
ve/npVymPnYkW3ccgugBfgQBPyNbsI05WgZr7SAWeAiVF7rXAoPypsO7UaN/0Bzy
kc6LekSoil27kRaPbScQYuf1YxQOxKOdybOR69bjlXp/N77hE9XQOPlGwSOFZufr
s1nCZP4M2JriZ6E73P9fhDt6/8IYrwRJt8NP/uj8j0Q3INGc0UZxYFgYwJv6QuX6
wyHxqWtas3+lbZbf+5hVLmGMjmb3qq9Hn7anLZssuzCma7yYvfW4uJiCWIJlpDU9
sGmQU9lk9trdeXTJp2uGaB66ih9RzFMBGlZyBmfUfHFWcIsc3qdvoaYN9rDD1r+S
jrQSbNB+PyHkiH1o2kRpQJGTYHgJE66N0rjLvK0UT5kXMFSxgFTj8nTwRgeffMXP
IuzuO4tMcvr3383/XH2QUt+RFQ0vFehin9Ccy80/Uqv5obqAf0xZdjch500dMcNi
mhd48dEsZh3zlRwX8SXlxzUgzzwSsrdO2u2MgG3Oyq1KMzSiT1MBL7lI7xOWLpEJ
cGsCTH8OaP7R2hC4q6eFqs2HohJfJIFhqqeS7CXlCCsoRL9LSyU=
=qJyA
-----END PGP SIGNATURE-----
--Bg7LtgAK0yX9Bs4Z--
|