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
|
Delivery-date: Tue, 29 Apr 2025 07:16:16 -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+bncBAABBJF6YPAAMGQEA23P3TA@googlegroups.com>)
id 1u9lkt-0002d7-Dq
for bitcoindev@gnusha.org; Tue, 29 Apr 2025 07:16:16 -0700
Received: by mail-oo1-f63.google.com with SMTP id 006d021491bc7-60654dd82a7sf2713125eaf.0
for <bitcoindev@gnusha.org>; Tue, 29 Apr 2025 07:16:15 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1745936169; cv=pass;
d=google.com; s=arc-20240605;
b=NEHjpSCY07oOA9l0DAFa5Ux7BM1XVv8PnQeMdRc1qmy89YTkiifJnPbHjAv0/YUsWS
W9uZWC+1+yJd2EIEaQb/QzGeRaBM0krtwfCf/bo7kKh2mEe3OuAnvOOG7PYfIwKbHhhj
ZeOJ3SKnILcVub/cDWGY3X5S7h4eNaJGPk8yHk2eF+SYRVQmgmOfLNvxWfBZmS1ua3WJ
xOh0chmHFHm6cS01LVsKGHhXwMOeeweL4EnA6DbDq/JZBZwcWpOvfO9+sPgNXpIoYafQ
L/Cq+ljZAhtFBDG+2jBK0UC7Y8NGK7S2xKIwLallcdwytRG+W/1k1lKkXdiwsML1zTR9
pC0w==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:to:references:message-id
:content-transfer-encoding:cc:date:in-reply-to:from:subject
:mime-version:feedback-id:sender:dkim-signature;
bh=EepFAu6HLz2PQaGB7KVvB8fosgj6ifabFiCuLVtfLLo=;
fh=/Ysg36AZMhZ0W7SfmvBK2bFsVcGggnkE+19eKX9VI44=;
b=Ju+n8osTEvSqZBLi+TD6OEf/2v8pT+7FJoUTDeEelDEgJT7XwyspvB58dGjOZNoO1u
W74/fbiBtbodpZx4mFdKLEiegskhRSW+t21e+fyZTwXkYHvFRQaGP/U/s52YSRaDnhjK
0JhMkt785YgsGi9QVn0GGCyLIa/DBjjuEqjPHkeuJinSklm/vyvENvg4sy2/09ccDmL4
1R9ARBLOua8DFz91dcLUePz8Jd2wXXELHhV6HJ03Z7QG+AJWEkiQBrPKGNHJkGDUc96z
vE6PxDsbpFwS2eusAAP6w7TJQ7v3/0LSeZVZi/dF5ACHDoak9HvAv9eb5cL3sD4xepMf
6o/Q==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=DRMuIpJE;
dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=jQqCZ7tT;
spf=pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.150 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sprovoost.nl
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1745936169; x=1746540969; 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:to:references:message-id
:content-transfer-encoding:cc:date:in-reply-to:from:subject
:mime-version:feedback-id:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=EepFAu6HLz2PQaGB7KVvB8fosgj6ifabFiCuLVtfLLo=;
b=HWWuXZxQGcg5nCPXMHorpGE0qXQo0yM+p2RT0CvtEwecR9daAS5wPd3vZ1Ifq7ymuk
z/IQMDh1uItSw015yB3ti0Mfdrlfpm/k6mg6bvcd4a79tsvmio50ILxycPcUEJm9YkLR
NTFwFibc5rIQEmsAgU63o0bxhcqzkwkAdtLVjQJYV8qEOIio1j7COGaqh0PAtZ1zHB6E
pOKPS3CF9nveKkxiY9VXimOvZfTc217nsxvVqu8WhGolfPnmiV1e1B3ZoDKGNbTXYQj+
ZVqD7FkADMuKCDhQg9jYEdiHRQlXjaZrzmh/bQUwJ0ULgf8XMLwPVVIJB3qUUjuN1X3I
gRyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1745936169; x=1746540969;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-authentication-results
:x-original-sender:to:references:message-id
:content-transfer-encoding:cc:date:in-reply-to:from:subject
:mime-version:feedback-id:x-beenthere:x-gm-message-state:sender:from
:to:cc:subject:date:message-id:reply-to;
bh=EepFAu6HLz2PQaGB7KVvB8fosgj6ifabFiCuLVtfLLo=;
b=NWoSP/ragGLbC+eFJsS5kwOJlNHO1lflxmDwd/Sn2dWfHECxDJlScWYvW98qJRayLv
F/xYQErQ97FzrM/QWbWaXhTMO9OOS6lZzoYC3cyXUR//2Nf82iwFeacEv5cVK3PzkKaZ
Ym+L8zmppNL7iu8ZKfMue65rQm7Wht17dYCtp0Plck8prnbQ/ZHSn2nr2y7/Iebc/HBA
qK1JebmbMv7PsdAbe6cuSMqNiyrmODFazoCwkXm2AWvuQ2nUA8KAUagMthzP8w7nom7E
nZ0lfX1Z9Ne+8uQiDAlksZDR/oAbjXWPbeDZjClGy7DmXudccc2DL7Lyp4q4+k3NLnz9
WxtQ==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCXxYVDpRzCWrRtHedWQGYSpBoxj+3VfO6qz09DZr5bgBBj9+RjlohTvEOw9qQdT/4LNVsmoIDfG+m9f@gnusha.org
X-Gm-Message-State: AOJu0Yyj8r1FtXrQbWA61CIYula+3jrLCvvYs4KR/VJEKpyRjcJ/57fQ
7CJL/sCkHv8TEOxcDxKdIEzAaQ6LjT5h7SXEqbdjvjrEKs4DYWpI
X-Google-Smtp-Source: AGHT+IFa0ACt4c6kRQzw7dc2vb89CiQiP0mIxpIMnPqefRzamfKyCiYl2lYXIplPyrpIHR1LyaPWpQ==
X-Received: by 2002:a05:6820:2982:b0:602:584f:547a with SMTP id 006d021491bc7-60684de1c9fmr1533616eaf.5.1745936168541;
Tue, 29 Apr 2025 07:16:08 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AVT/gBFFDhRD9IMtOlkXxPfrsBLO8xyaWbcxs9kIklC0V0mHyA==
Received: by 2002:a05:6820:1c12:b0:604:8bd0:c016 with SMTP id
006d021491bc7-6064381b263ls1775258eaf.2.-pod-prod-01-us; Tue, 29 Apr 2025
07:16:04 -0700 (PDT)
X-Received: by 2002:a05:6808:2f0e:b0:3f6:aad5:eac8 with SMTP id 5614622812f47-40211551b1dmr1696881b6e.6.1745936164414;
Tue, 29 Apr 2025 07:16:04 -0700 (PDT)
Received: by 2002:a05:6808:3298:b0:401:f361:f2fb with SMTP id 5614622812f47-401f361f43amsb6e;
Mon, 28 Apr 2025 11:50:49 -0700 (PDT)
X-Received: by 2002:a17:90b:28d0:b0:2fc:3264:3666 with SMTP id 98e67ed59e1d1-30a2214a4b5mr455294a91.30.1745866248951;
Mon, 28 Apr 2025 11:50:48 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1745866248; cv=none;
d=google.com; s=arc-20240605;
b=Kli2Z9BE3VDJRMMZg0t9OW2fm1VwH4I/5Q6ez2/996tJnTof465U45OTBh5YRGi/6+
rtPOn7jRRwQqtfxNBDersWhAz8A5wsCTx5iIh4gxO0VqPsAZ62o9DoVReFmJy9G60mlK
wTRCyFg+zOa4piw1MpPFW3VY9bFAewx3u8Kqo3EV4Djc/ejNIeyqc6Afh1ePplNLxugT
aK92CSOhOOTl6pTFVvKfQkRRLUp1TeAem5l4E0oZ6am4d6Y5HdWtGOg9iD1/rAw5FVV4
iYfZt9eMrbgFYresmImumZoLgs5lkeh4c63YhXfqu5pEezTRS48GOnOCi0ueIAGBQdBE
Ld8g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=to:references:message-id:content-transfer-encoding:cc:date
:in-reply-to:from:subject:mime-version:feedback-id:dkim-signature
:dkim-signature;
bh=QVVgDWczRRWJQ6C/OrY1OjK16C3Lvg1dzImscK+v+t4=;
fh=4G3IrRaYD0TARGSZcg/AFOR8817A1ixB5gdnk2HPu/s=;
b=FwJJQQTd2yF2XG8w5kiq21L29he6CRip79ytFs6CfPAzM2W6oSOG/cKmy9zXJgomTd
oWQgzyF0dRtP3OaogWRgakgjW5sTSVz1DqQ+vRp6qbjHJrti7gqykKmnQku7RXtaLWIr
6NrJT39fRE1ohcyYyQ3b88MSVKlLDOdjlLQCVyF2IPkM9muCdiBFkO4zwmFu7M21bXVA
LuhGIQn1wN8X19wLyJrtpjyBgUyPe9eaUZELeo0M6gTAUtnycUet4+FUbP7n4vATkRzY
6xHkZi+lR1+sMbgBVeCkPg6GHkt1S570WNf/6fa/fnah6FksbAK7ZBvr2mHHZBfYWWJP
rLpg==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@sprovoost.nl header.s=fm1 header.b=DRMuIpJE;
dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=jQqCZ7tT;
spf=pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.150 as permitted sender) smtp.mailfrom=sjors@sprovoost.nl;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sprovoost.nl
Received: from fout-b7-smtp.messagingengine.com (fout-b7-smtp.messagingengine.com. [202.12.124.150])
by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-309ef0fa688si778522a91.3.2025.04.28.11.50.48
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 28 Apr 2025 11:50:48 -0700 (PDT)
Received-SPF: pass (google.com: domain of sjors@sprovoost.nl designates 202.12.124.150 as permitted sender) client-ip=202.12.124.150;
Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41])
by mailfout.stl.internal (Postfix) with ESMTP id 9CA041140259;
Mon, 28 Apr 2025 14:50:47 -0400 (EDT)
Received: from phl-mailfrontend-01 ([10.202.2.162])
by phl-compute-01.internal (MEProxy); Mon, 28 Apr 2025 14:50:47 -0400
X-ME-Sender: <xms:B84PaH2atOYEHdpANeCU7fH18pUPzuIYgQgsgQhD_NcV3ZpCkTGrkA>
<xme:B84PaGEx5JaMcRW1ZhWdyuZefj1Rdl8RkZvJ208b5IDOHuxqHLM-XGKYHXqjG1H7X
tNdvdpzQVaj_wsF-g>
X-ME-Received: <xmr:B84PaH6EUt7LCm2Ke7MCvWkcWgLusKGAnCwkPCwbrdm4LpyOEj51nO7aJyz3toPxR6Ht>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddviedujeduucetufdoteggodetrf
dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv
pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih
gvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhh
tddvnecuhfhrohhmpefujhhorhhsucfrrhhovhhoohhsthcuoehsjhhorhhssehsphhroh
hvohhoshhtrdhnlheqnecuggftrfgrthhtvghrnhepveeklefgfffggfffleefhffgtddv
udfftdduteeijedvjeevkeekgeffjeetfeejnecuvehluhhsthgvrhfuihiivgeptdenuc
frrghrrghmpehmrghilhhfrhhomhepshhjohhrshesshhprhhovhhoohhsthdrnhhlpdhn
sggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehsrghinh
htfigvnhhhrghosehgmhgrihhlrdgtohhmpdhrtghpthhtohepsghithgtohhinhguvghv
sehgohhoghhlvghgrhhouhhpshdrtghomhdprhgtphhtthhopehjrghmvghsohhnrdhloh
hpphesghhmrghilhdrtghomh
X-ME-Proxy: <xmx:B84PaM0JN3kf7_a0QjMsGNQeJSlstcrbLmMutB5NDWcdJg_o8zC_cQ>
<xmx:B84PaKEefRo0kVFxG99CoOvfklflmWywHiDCkV9_y07FYkXlIiD3XA>
<xmx:B84PaN9MHQzAK3g8HKS805PKncdRRiAuNwWozypBBxZL5E1Ifypgyw>
<xmx:B84PaHmmuy1Bf2LT0K_Zl1Rtmw0jGwMuud2JQahmpFQq6ki7a0XYJg>
<xmx:B84PaMex3p9i5YwHkH3x91ocWR0pkg5h7fa6xBXfY3Q969HppYF9YLkn>
Feedback-ID: ie5e042df:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
28 Apr 2025 14:50:46 -0400 (EDT)
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\))
Subject: Re: [bitcoindev] Unbreaking testnet4
From: Sjors Provoost <sjors@sprovoost.nl>
In-Reply-To: <CACgYNOL3gH6zhmNyiKLenqoiM9mydsxs3XExxJX1ZSVvOmX2bA@mail.gmail.com>
Date: Mon, 28 Apr 2025 20:50:35 +0200
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>,
Jameson Lopp <jameson.lopp@gmail.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <80B4FDA8-900E-479F-97B7-EE2AB37D0231@sprovoost.nl>
References: <hU75DurC5XToqizyA-vOKmVtmzd3uZGDKOyXuE_ogE6eQ8tPCrvX__S08fG_nrW5CjH6IUx7EPrq8KwM5KFy9ltbFBJZQCHR2ThoimRbMqU=@protonmail.com>
<5c13e130-aaa2-4866-be26-7498100e868b@murch.one>
<7c6800f0-7b77-4aca-a4f9-2506a2410b29@murch.one>
<vgcVopNpWCowIGaIpVgjsCWyTMjxVKoWtRdDVnTNrM8tYPjKtC6MJ6S-2KxIYdJYgAhG8iNPig-xijwd7DtAm6tHN3T3xgIMUNUSTBYvT_A=@protonmail.com>
<672cb527-9005-46fc-be2c-4508d39cfd7dn@googlegroups.com>
<CADL_X_eXcmD8fEpL9Sqqwt6EfwtdjG+Aaqk+pgSBhPmaVT3gEw@mail.gmail.com>
<CACgYNOKDFjxTuk8Szq305oNvS_tAwoCosrcR3ij4ihCuHjw78A@mail.gmail.com>
<CADL_X_dfaBQJDXu=urRn40J7fCkDAPi-sdnnCwAZd4RUgr68fw@mail.gmail.com>
<8E819BCF-EEAE-4F10-89A1-FA3FDE0F67E3@sprovoost.nl>
<CACgYNOL3gH6zhmNyiKLenqoiM9mydsxs3XExxJX1ZSVvOmX2bA@mail.gmail.com>
To: Saint Wenhao <saintwenhao@gmail.com>
X-Mailer: Apple Mail (2.3826.500.181.1.5)
X-Original-Sender: sjors@sprovoost.nl
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@sprovoost.nl header.s=fm1 header.b=DRMuIpJE; dkim=pass
header.i=@messagingengine.com header.s=fm3 header.b=jQqCZ7tT; spf=pass
(google.com: domain of sjors@sprovoost.nl designates 202.12.124.150 as
permitted sender) smtp.mailfrom=sjors@sprovoost.nl; dmarc=pass (p=NONE
sp=NONE dis=NONE) header.from=sprovoost.nl
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 (/)
> Op 28 apr 2025, om 20:15 heeft Saint Wenhao <saintwenhao@gmail.com> het v=
olgende geschreven:
>=20
> > Which means that in practice, instead of seeing huge or overflowed amou=
nts in UTXOs, we will probably see a lot of repeated entries in the UTXO se=
t, holding MAX_MONEY each.
>=20
> Now I applied "doubling" patch in my local regtest, and I can confirm it.=
After 2849 blocks, when trying to mine block number 2850, the UTXO amount =
exceeded 21 million coins, and then it failed.
Thanks, that's useful feedback.
Note that in regtest the nSubsidyHalvingInterval is 150 blocks instead of 2=
10,000 for mainnet and the current testnets, so the problem happens 1,400 t=
imes faster. On an actual testnet5 this would happen at block 3,999,000 ins=
tead, which is 75 years from now.
[...]
> However, after manually crafting a block with 21 million coins, it succee=
ded:
In the unlikely event this hypothetical testnet would still be around, we c=
ould modify the miner code to not go over this limit.
- Sjors=20
--=20
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 e=
mail to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/=
80B4FDA8-900E-479F-97B7-EE2AB37D0231%40sprovoost.nl.
|