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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
|
Delivery-date: Tue, 02 Apr 2024 17:23:09 -0700
Received: from mail-qt1-f192.google.com ([209.85.160.192])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBDFIP6H73EBBBZOCWKYAMGQEBSAX47I@googlegroups.com>)
id 1rroPE-0002FI-FR
for bitcoindev@gnusha.org; Tue, 02 Apr 2024 17:23:09 -0700
Received: by mail-qt1-f192.google.com with SMTP id d75a77b69052e-43442ed9385sf543781cf.0
for <bitcoindev@gnusha.org>; Tue, 02 Apr 2024 17:23:08 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1712103782; cv=pass;
d=google.com; s=arc-20160816;
b=ZfNYn6xJiM71bjaArz34d2Xq7VpRFOooPpSEooB35+TciuwQ8GWeMlrB1NZv6pn6Ov
vYqQu7M8iPFbuxp2OcWa8lP2HcRIKj09Mg/0cRZ26CDiq+f38nQhLKPmc/ScaQufldOp
RkpLSMk8ldQ85jS5vA5ISLpwDle/Kh1u8CCgbOw4yu/oa2m/nA+HyjmNLF3t0bOZJqss
Z68hTRaw0FbhrYBBkn1Gduco4BaZcwbcK1WbNBcN4lERUgHi6icY5GUp8O1lFXnOgW9X
kHrthChfyTax5EPyU5LO7uuC7M02QFldlV3YHHtDgHS1CwDGlHIW/S04HvFyD0B8P+AU
n24g==
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:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:sender:dkim-signature
:dkim-signature;
bh=olldi31259gXPn3xsF/Z1eBbQQU+3RAKoSmBgkGaoLo=;
fh=/zeWSk4Zf4JGRsE3Q9/nhOzuNIkd0iSIcLoSjkI4HUY=;
b=klnXMO//X8b2/V3siQ7S/Q1qZtT0ip2hG9Wqy3BBcAFALbQLupUVXC1rqSNhfrIiPx
MSzO/z9hrWw+2BqlxteoktHlcauQBy+cdnO/FQyNSV5n2utPETcogyUlqJZDwNUUjnbD
a/6lTMSBWXB+N4AH0tuf2Ni37K7AWfpkSJxDddiXjzKicGACszz74PnQnt6BHoex7NsH
5Q/VlSMYV0TY/UzOMaSsfQ3uNpwafXINU0kRPK5RrgBd9KX7JKPwvVZnj0975JY6ZELB
hs6RNoiBHE6LLmyqLKPtlevZIHKyPtJd85cjnlY2E1e2fAjn3K4jEe4XdhWYcM7Kyh3D
YflA==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@gmail.com header.s=20230601 header.b=RodxY8cP;
spf=pass (google.com: domain of jameson.lopp@gmail.com designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=jameson.lopp@gmail.com;
dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1712103782; x=1712708582; 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:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=olldi31259gXPn3xsF/Z1eBbQQU+3RAKoSmBgkGaoLo=;
b=hG7RYfWxkxuVoCIzxtSeY2vCR+ajV02/F650UXc/0dVOX+J5ho/TPJYbfTYBqR8IPj
JmxYZhKDknxqyqK9vOqrErF00QLPvZfL24H9o4Q3P9ciOOjvWZ48XktDp+k3svl6ou46
BenE2FaOWJaKFKr7uf4emQm2yEJWK67F6JAfuoIVNUaX2v5KYd6K5etlN+xa8oLS27po
dBUy6JliQtdEA5kpgIG3z8Wa2KvGnKjHKu3QYlxtmYyXCDzuTqhzO/JXLp04v4zeWUyZ
NFMLsJWo1EyY3PWSD8MK4zp06EuVVVA7Yqjlx4WFxvZntnXitCpdKiqmeEoxtVP7C1e7
mMkA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1712103782; x=1712708582; 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:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=olldi31259gXPn3xsF/Z1eBbQQU+3RAKoSmBgkGaoLo=;
b=JDN9JD9ThIutcis8jcnWVB19xOK99OIlSSEXvjN+E24U7mosdEQDbli9c02GTgtnex
r8nwfmC8Irlw0WMyG5ZlnJgmcUTFL/8mxTGCgoDx3E584cJF+4lVcKEDLPFCV059PPJe
XPnYq4fnmUwTVhzrDha73qCmnEUYN192L981N7N7vkKBHZIU6IbPuM0ENvEAxlk41cxY
UE4HbIE5DLPrNo82MNVtx4n7QXOhTY/rBo+gV6FSgmQbt5pRtpkvIXDnr5L5rk3cK0Gs
jNqbmFSzXa6i/ygCtVWFkNiHEbeb8dFvBeAYehGK3mV78RPWND5XHVSPHuHRJOQFjNbk
H3gg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1712103782; x=1712708582;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:x-original-authentication-results
:x-original-sender:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:x-beenthere:x-gm-message-state:sender:from
:to:cc:subject:date:message-id:reply-to;
bh=olldi31259gXPn3xsF/Z1eBbQQU+3RAKoSmBgkGaoLo=;
b=qekKUzgg2EMqgpwsseLCq5y3uXwX/jh3r6moQHmtlct5/PtmjpxjpI3+Ow/Z1RzRoV
nLpFdY0r3bylpM6KcuAUGAMqfrEMxX1Igq+Zy1lD8BNfcSevTYK4Ajp04xKSt/62b6C5
UMY2tpwX4z2Iioy3/dx6p6mfZmoidmD1RvbWumbnWlohFxsKpjoK+JAowXoF4jbuGvG2
JaltQDHleRF+2K7YOfn4TOMx9jyeJ8oq3M9xev1aYtKkdUfCwWasS99Gy5FZXdkx/4Fa
81zjAYrUAG9LZ2eSuHYjCZRDoD8JXXGOAzMHnG1R1+9trPXOD9Xn+kUQLEgXfzLQE2jA
cX7g==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCWoLKv4SObFulL1Qm8u2Vm8KE1kcILzyIyZTpWLLvly+OyNUZ5U43AQFO1NUtLllwm67S2ihZ31d9tqMIqMV4zpQQDVMD0=
X-Gm-Message-State: AOJu0Yzl1Nmm1qFXPF9s3dLKUfI0SZr7zHxkV/bTW8kFQiQGU3FaBfeC
zfHnkF2Nrg8sgWe/OcUWnmrmQzU8+rMicg8LoDx09ahCRTpKQXpO
X-Google-Smtp-Source: AGHT+IFE4wcg/5twS0yGSZa4aEKzB1yF9HtSlnJNLsUH1ZIeVDILfK1xXT+kGbekuca70sSnESyMnw==
X-Received: by 2002:ac8:5b86:0:b0:432:b6d3:4d70 with SMTP id a6-20020ac85b86000000b00432b6d34d70mr18645700qta.60.1712103781891;
Tue, 02 Apr 2024 17:23:01 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a05:622a:190f:b0:432:d735:f040 with SMTP id
w15-20020a05622a190f00b00432d735f040ls5424434qtc.0.-pod-prod-07-us; Tue, 02
Apr 2024 17:23:01 -0700 (PDT)
X-Received: by 2002:a05:622a:386:b0:431:5135:1b66 with SMTP id j6-20020a05622a038600b0043151351b66mr411313qtx.9.1712103780860;
Tue, 02 Apr 2024 17:23:00 -0700 (PDT)
Received: by 2002:a05:620a:4112:b0:78c:4db6:8bba with SMTP id af79cd13be357-78d36d57e6ems85a;
Tue, 2 Apr 2024 12:46:38 -0700 (PDT)
X-Received: by 2002:a05:6122:410c:b0:4d4:b89:bd2a with SMTP id ce12-20020a056122410c00b004d40b89bd2amr10812985vkb.3.1712087196778;
Tue, 02 Apr 2024 12:46:36 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1712087196; cv=none;
d=google.com; s=arc-20160816;
b=QRBqObINdfBRsNEE69d2cp9iqnFgkGOeexB+7TLUoBoiUkH4X8x9xiCyAVnofjkQA9
hriQBkRf4LvapclLROf5aLxeJKhL9oJJRn5Ms11o42yaUxIIO9r1wpO4NB80Fyso0tJB
CKJfrLoSiFUW7QW/62dMd4C3O8E3tNogQldo/TpYso71dzPqMaI6ITMS4+jw934AknJk
NeIq0RoSgWBzSXko3GCoMnhsfcHkfugUkXgQfl/8uXUe1NAyvkyjwGg2/ZUectdM9DV5
C0jhksXxx4127+reJM/RHpy0CsZZMinIu5+62oKBmHfv01DmcJ49J1QLX6CA3Itc1iI8
oJsw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:dkim-signature;
bh=ibT9TabNCWf5rc+OF6jYPY9XCdZURVKnOTWXJH1/vvI=;
fh=KwdsfmdQs870rGOZhw3KA3/EOSHI2wH2VqrDesubUJE=;
b=gCBI/p7r8vrv8v/s7FGujVXiOql2JhJRv8QIbvyOKk7V+8IwS7yGHSUJ3ileZGIUl4
Bf9pygVxEXJzX9rKZ34C7XLi5bmbZsfa0lhUWk93vvmrags9erzWS0NV8mpAvxhPz5a5
d/4lZQSv5tN+Ee8pmTy4jQT6zdTq8tUyyKLsnqlNhvPtrADWMWFU7Y5wdXY4fxt0kHIz
1PRPt6pL9OLFuYxTvSkzohbM+8oxOE6PpDswlbelm7igiG0fwBJoFQ9+ZZIVlxf0LRUD
18LjPS2JTZuRfwf4yqHn+xgqLJw6lpbuvqxi0VPLVMdVjQyD/vDZrK2B+bB6psBer/lA
0X5Q==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@gmail.com header.s=20230601 header.b=RodxY8cP;
spf=pass (google.com: domain of jameson.lopp@gmail.com designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=jameson.lopp@gmail.com;
dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com. [2607:f8b0:4864:20::102c])
by gmr-mx.google.com with ESMTPS id n1-20020a1fd601000000b004d8995bf32bsi1438852vkg.3.2024.04.02.12.46.36
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Tue, 02 Apr 2024 12:46:36 -0700 (PDT)
Received-SPF: pass (google.com: domain of jameson.lopp@gmail.com designates 2607:f8b0:4864:20::102c as permitted sender) client-ip=2607:f8b0:4864:20::102c;
Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2a293ba705eso15644a91.3
for <bitcoindev@googlegroups.com>; Tue, 02 Apr 2024 12:46:36 -0700 (PDT)
X-Received: by 2002:a17:90a:4a03:b0:2a2:140b:7287 with SMTP id
e3-20020a17090a4a0300b002a2140b7287mr10600207pjh.47.1712087195648; Tue, 02
Apr 2024 12:46:35 -0700 (PDT)
MIME-Version: 1.0
References: <CADL_X_eXjbRFROuJU0b336vPVy5Q2RJvhcx64NSNPH-3fDCUfw@mail.gmail.com>
<ZgmJFfXnQddkTQVq@petertodd.org> <CAFC_Vt7zKvMEfQLzWHQ6t_9bgv1iqt4Ah8N883CuoSfmLUKdMA@mail.gmail.com>
<ZgnVtJHn2ikLfwa9@petertodd.org> <CADL_X_cmcXxHke089OD_45VRJy5aR+9uj-18bSjXBE7FKwR-Jw@mail.gmail.com>
<wKrcm6SEjcG_7UmxByP-rDDVajB7-oYJRF9p_BjLe5XVzxVV9nCB8RsTAXcD5vF_rWxUmLK4HOM7zV7U4-kZSUO9Ccj4jEehsbbb7FD45GQ=@wuille.net>
<ZgrCxWxMkiAt2Tg2@camus> <06oL-GctrcLb99M_RuOgygXKMjtB_vPLHOCuc-axYrGVy_QBRGPu5wA9C2QXDb7cKIJbJu_t_JKmRrr9FsBORdUPavXPFvOi98p04UQuvuE=@protonmail.com>
<CADL_X_dR1ENC9jm76azf_dkbJdeSCSBbPEpTkm71s4i-g_g=WA@mail.gmail.com> <c1e32072-55ff-4cca-a56c-09c747e7e4a6n@googlegroups.com>
In-Reply-To: <c1e32072-55ff-4cca-a56c-09c747e7e4a6n@googlegroups.com>
From: Jameson Lopp <jameson.lopp@gmail.com>
Date: Tue, 2 Apr 2024 15:46:21 -0400
Message-ID: <CADL_X_c3YhyeqgsrFBVixpPOQWEacsa5cZUSK5uzLLNha9w=+Q@mail.gmail.com>
Subject: Re: [bitcoindev] The Future of Bitcoin Testnet
To: =?UTF-8?B?THVrw6HFoSBLcsOhxL4=?= <emsit@emsit.sk>
Cc: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Content-Type: multipart/alternative; boundary="0000000000001f0fa90615225dd4"
X-Original-Sender: jameson.lopp@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@gmail.com header.s=20230601 header.b=RodxY8cP; spf=pass
(google.com: domain of jameson.lopp@gmail.com designates 2607:f8b0:4864:20::102c
as permitted sender) smtp.mailfrom=jameson.lopp@gmail.com; dmarc=pass
(p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
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.5 (/)
--0000000000001f0fa90615225dd4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
There are no official rules; this is crypto anarchy. No one can kill
testnet3 or stop anyone from using it.
However, the only real "principle" of testnet (AFAIK) is that the coins
should be worthless in order to encourage freely sharing said coins with
anyone who needs them for development or testing purposes. Client
implementations can choose to no longer support old versions of testnet in
adherence to this principle.
The rough agreement, which hasn't been necessary to enforce for 13 years,
is that testnet should get reset any time it starts to have economic value.
I propose that such rug pulls should continue until everyone gets a clue
that they're going to lose any money they put into it.
On Tue, Apr 2, 2024 at 3:05=E2=80=AFPM Luk=C3=A1=C5=A1 Kr=C3=A1=C4=BE <emsi=
t@emsit.sk> wrote:
> I think people will be very reluctant to give up testnet3, including
> myself. I've been running a testnet3 faucet for 10 years, distributing
> 327197.44 tBTC via the faucet + a few thousand outside the faucet.
> Resetting the testnet will mean the end for my faucet because I won't be
> mining new coins anymore. People who have testnet3 will have to find a ne=
w
> way to obtain testnet4.
>
> Are there any official rules for when a testnet reset will occur? If I
> understand correctly, it's being considered because of the "price" and th=
e
> low mining reward? When testnet4 launches and starts trading in a month,
> will testnet5 be launched shortly after...?
>
> I would focus more on how to keep it invaluable and easily accessible to
> developers. I would definitely leave the transitional phase for at least =
a
> year, and the BTC client should have parameters for both -testnet3 and
> -testnet4. Personally, *I think the adoption of testnet4 will be very
> slow*.
>
> D=C3=A1tum: utorok 2. apr=C3=ADla 2024, =C4=8Das: 14:00:40 UTC+2, odosiel=
ate=C4=BE: Jameson
> Lopp
>
>> I think Andrew's difficulty rule suggestions are the least invasive and
>> make sense for fixing the block storm issue while keeping the code chang=
es
>> to the logic that is already conditional to testnet. Though even with th=
ose
>> rules I think it would still be possible, though far less likely, for th=
e
>> difficulty to get permanently reset very low unless we also implement th=
e
>> difficulty adjustment patch Fabian mentioned.
>>
>> I suspect that creating a "fair" faucet is an unsolvable problem: the
>> only robust way to gate free giveaways (much like airdrops) is to impose=
an
>> economic cost on claiming them, which is against the spirit of testnet.
>>
>> As emsit and I both noted, 13 years without a reset means that it would
>> be courteous to give testnet operators a reasonably long heads up to
>> prepare. Perhaps 6 months or 1 year lead time?
>>
>> On Mon, Apr 1, 2024 at 6:06=E2=80=AFPM 'Fabian' via Bitcoin Development =
Mailing
>> List <bitco...@googlegroups.com> wrote:
>>
>>> Hi,
>>>
>>> removing the special rule and moving to a reduced block interval sounds
>>> like a good and simple solution.
>>>
>>> Another idea: Keep the current exception logic and adapt the difficulty
>>> adjustment code (`CalculateNextWorkRequired`) to look for the last bloc=
k
>>> that didn't have difficulty 1 and use that block's difficulty as the ba=
sis
>>> for the new difficulty calculation. It seemed like the most intuitive f=
ix
>>> to me when I looked at the code after reading Jameson's first email (se=
e
>>> https://github.com/bitcoin/bitcoin/pull/29775/commits/9913549637706749f=
0af5d326f949bd652cbd5f8
>>> ).
>>>
>>> Best,
>>> Fabian
>>>
>>>
>>>
>>> On Monday, April 1st, 2024 at 4:20 PM, Andrew Poelstra <
>>> apoe...@wpsoftware.net> wrote:
>>>
>>> > On Mon, Apr 01, 2024 at 01:37:59PM +0000, Pieter Wuille wrote:
>>> >
>>> > > As for using other measures to prevent too large difficulty
>>> variations... I'm not sure that's desirable, because it always cuts bot=
h
>>> ways (nicely demonstrated by the "allow difficulty 1 rule" on testnet3
>>> backfiring and enabling block storms!). For applications that actually =
need
>>> very predictable block rate, there is signet. For others, just the norm=
al
>>> mainnet rules are probably not too terrible. I would be ok with having =
a
>>> somewhat reduced block interval (say a few days instead of 2 weeks) if
>>> that's not deemed to complex to implement across the ecosystem, but I d=
on't
>>> think it's that important.
>>> >
>>> >
>>> > I really like this. For my part (rust-bitcoin) this would be as simpl=
e
>>> > as adding an extra parameter to my blockparams structure. Possibly on=
e
>>> > already exists, I'd have to check.
>>> >
>>> > This would be much easier than the existing situation where we have
>>> > special-case logic for testnet the difficulty-1 target.
>>> >
>>> > It would also limit the amount of bikeshedding possible, since there
>>> > aren't too many conflicting goals regarding the retargeting window...
>>> > unlike tweaking the existing logic where there's a tradeoff between
>>> > "we should make this never happen" and "it should happen often enough
>>> > that it doesn't break people's code" and "it should happen if blocks
>>> > slow down to like, 1/50th their normal rate even if they are still
>>> > technically being produced" and "it shouldn't be possible to trigger
>>> > it within the 2-hour timestamp-faking window" etc. And questions
>>> > about whether we should fix/redesign the interaction between the rese=
t
>>> > rule and the normal difficulty retarget.
>>> >
>>> >
>>> > OTOH, since we already have the special logic, I'd also be happy with
>>> > tweaking the existing rule. My specific proposal (after reading
>>> Jameson's
>>> > post, which has some nice graphs of difficulty) would be
>>> >
>>> > * increase the reset threshold from 20 minutes to 6 hours, which is
>>> > (a) well outside the 2-hour window in which miners can easily fake
>>> > timestamps, and (b) will basically never be hit by accident
>>> > * increase the reset difficulty from 1 to 1MM, which is an rough lowe=
r
>>> > bound on the "normal" testnet difficulty seen historically
>>> >
>>> > Which puts us in the "this rule would never be triggered unless
>>> > literally everyone stopped mining" corner of the design space.
>>> >
>>> >
>>> > --
>>> > Andrew Poelstra
>>> > Director of Research, Blockstream
>>> > Email: apoelstra at wpsoftware.net
>>> > Web: https://www.wpsoftware.net/andrew
>>> >
>>> > The sun is always shining in space
>>> > -Justin Lewis-Webster
>>> >
>>> > --
>>> > 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, sen=
d
>>> an email to bitcoindev+...@googlegroups.com.
>>> > To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/bitcoindev/ZgrCxWxMkiAt2Tg2%40camus.
>>>
>>> --
>>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/bitcoindev/06oL-GctrcLb99M_RuOgygXKMj=
tB_vPLHOCuc-axYrGVy_QBRGPu5wA9C2QXDb7cKIJbJu_t_JKmRrr9FsBORdUPavXPFvOi98p04=
UQuvuE%3D%40protonmail.com
>>> .
>>>
>> --
> 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/c1e32072-55ff-4cca-a56c-09c7=
47e7e4a6n%40googlegroups.com
> <https://groups.google.com/d/msgid/bitcoindev/c1e32072-55ff-4cca-a56c-09c=
747e7e4a6n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
> .
>
--=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 on the web visit https://groups.google.com/d/msgid/=
bitcoindev/CADL_X_c3YhyeqgsrFBVixpPOQWEacsa5cZUSK5uzLLNha9w%3D%2BQ%40mail.g=
mail.com.
--0000000000001f0fa90615225dd4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">There are no official rules; this is crypto anarchy. No on=
e can kill testnet3 or stop anyone from using it.<div><br></div><div>Howeve=
r, the only real "principle" of testnet (AFAIK) is that the coins=
should be worthless in order to encourage freely sharing said coins with a=
nyone who needs them for development or testing purposes. Client implementa=
tions can choose to no longer support old versions of testnet in adherence =
to this principle.</div><div><br></div><div>The rough agreement, which hasn=
't been necessary to enforce for 13 years, is that testnet should get r=
eset any time it starts to have economic value. I propose that such rug pul=
ls should continue until everyone gets a clue that they're going to los=
e any money they put into it.</div></div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr" class=3D"gmail_attr">On Tue, Apr 2, 2024 at 3:05=E2=80=AFPM L=
uk=C3=A1=C5=A1 Kr=C3=A1=C4=BE <<a href=3D"mailto:emsit@emsit.sk">emsit@e=
msit.sk</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex"><p style=3D"border:0px solid rgb(227,227,227);box-sizing:border-box;=
margin:0px 0px 1.25em;color:rgb(13,13,13);font-family:S=C3=B6hne,ui-sans-se=
rif,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,&q=
uot;Noto Sans",sans-serif,"Helvetica Neue",Arial,"Apple=
Color Emoji","Segoe UI Emoji","Segoe UI Symbol",&=
quot;Noto Color Emoji";font-size:16px">I think people will be very rel=
uctant to give up testnet3, including myself. I've been running a testn=
et3 faucet for 10 years, distributing 327197.44 tBTC via the faucet + a few=
thousand outside the faucet. Resetting the testnet will mean the end for m=
y faucet because I won't be mining new coins anymore. People who have t=
estnet3 will have to find a new way to obtain testnet4.</p><p style=3D"bord=
er:0px solid rgb(227,227,227);box-sizing:border-box;margin:1.25em 0px;color=
:rgb(13,13,13);font-family:S=C3=B6hne,ui-sans-serif,system-ui,-apple-system=
,"Segoe UI",Roboto,Ubuntu,Cantarell,"Noto Sans",sans-se=
rif,"Helvetica Neue",Arial,"Apple Color Emoji","Se=
goe UI Emoji","Segoe UI Symbol","Noto Color Emoji"=
;font-size:16px">Are there any official rules for when a testnet reset will=
occur? If I understand correctly, it's being considered because of the=
"price" and the low mining reward? When testnet4 launches and st=
arts trading in a month, will testnet5 be launched shortly after...?</p><p =
style=3D"border:0px solid rgb(227,227,227);box-sizing:border-box;margin:1.2=
5em 0px 0px;color:rgb(13,13,13);font-family:S=C3=B6hne,ui-sans-serif,system=
-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,"Noto S=
ans",sans-serif,"Helvetica Neue",Arial,"Apple Color Emo=
ji","Segoe UI Emoji","Segoe UI Symbol","Noto =
Color Emoji";font-size:16px">I would focus more on how to keep it inva=
luable and easily accessible to developers. I would definitely leave the tr=
ansitional phase for at least a year, and the BTC client should have parame=
ters for both -testnet3 and -testnet4. Personally, <b>I think the adoption =
of testnet4 will be very slow</b>.</p><br><div class=3D"gmail_quote"><div d=
ir=3D"auto" class=3D"gmail_attr">D=C3=A1tum: utorok 2. apr=C3=ADla 2024, =
=C4=8Das: 14:00:40 UTC+2, odosielate=C4=BE: Jameson Lopp<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I think Andrew=
9;s difficulty rule suggestions are the least invasive and make sense for f=
ixing the block storm issue while keeping the code changes to the logic tha=
t is already conditional to testnet. Though even with those rules I think i=
t would still be possible, though far less likely, for the difficulty to ge=
t permanently reset very low unless we also implement the difficulty adjust=
ment patch Fabian mentioned.<div><br></div><div>I suspect that creating a &=
quot;fair" faucet is an unsolvable problem: the only robust way to gat=
e free giveaways (much like airdrops) is to impose an economic cost on clai=
ming them, which is against the spirit=C2=A0of testnet.</div><div><br></div=
><div>As emsit and I both noted, 13 years without a reset means that it wou=
ld be courteous to give testnet operators a reasonably long heads up to pre=
pare. Perhaps 6 months or 1 year lead time?</div></div><br><div class=3D"gm=
ail_quote"></div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Mon, Apr 1, 2024 at 6:06=E2=80=AFPM 'Fabian' via Bitcoin =
Development Mailing List <<a rel=3D"nofollow">bitco...@googlegroups.com<=
/a>> wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">Hi,<br>
<br>
removing the special rule and moving to a reduced block interval sounds lik=
e a good and simple solution.<br>
<br>
Another idea: Keep the current exception logic and adapt the difficulty adj=
ustment code (`CalculateNextWorkRequired`) to look for the last block that =
didn't have difficulty 1 and use that block's difficulty as the bas=
is for the new difficulty calculation. It seemed like the most intuitive fi=
x to me when I looked at the code after reading Jameson's first email (=
see <a href=3D"https://github.com/bitcoin/bitcoin/pull/29775/commits/991354=
9637706749f0af5d326f949bd652cbd5f8" rel=3D"noreferrer nofollow" target=3D"_=
blank">https://github.com/bitcoin/bitcoin/pull/29775/commits/99135496377067=
49f0af5d326f949bd652cbd5f8</a>).<br>
<br>
Best,<br>
Fabian<br>
<br>
<br>
<br>
On Monday, April 1st, 2024 at 4:20 PM, Andrew Poelstra <<a rel=3D"nofoll=
ow">apoe...@wpsoftware.net</a>> wrote:<br>
<br>
> On Mon, Apr 01, 2024 at 01:37:59PM +0000, Pieter Wuille wrote:<br>
> <br>
> > As for using other measures to prevent too large difficulty varia=
tions... I'm not sure that's desirable, because it always cuts both=
ways (nicely demonstrated by the "allow difficulty 1 rule" on te=
stnet3 backfiring and enabling block storms!). For applications that actual=
ly need very predictable block rate, there is signet. For others, just the =
normal mainnet rules are probably not too terrible. I would be ok with havi=
ng a somewhat reduced block interval (say a few days instead of 2 weeks) if=
that's not deemed to complex to implement across the ecosystem, but I =
don't think it's that important.<br>
> <br>
> <br>
> I really like this. For my part (rust-bitcoin) this would be as simple=
<br>
> as adding an extra parameter to my blockparams structure. Possibly one=
<br>
> already exists, I'd have to check.<br>
> <br>
> This would be much easier than the existing situation where we have<br=
>
> special-case logic for testnet the difficulty-1 target.<br>
> <br>
> It would also limit the amount of bikeshedding possible, since there<b=
r>
> aren't too many conflicting goals regarding the retargeting window=
...<br>
> unlike tweaking the existing logic where there's a tradeoff betwee=
n<br>
> "we should make this never happen" and "it should happe=
n often enough<br>
> that it doesn't break people's code" and "it should =
happen if blocks<br>
> slow down to like, 1/50th their normal rate even if they are still<br>
> technically being produced" and "it shouldn't be possibl=
e to trigger<br>
> it within the 2-hour timestamp-faking window" etc. And questions<=
br>
> about whether we should fix/redesign the interaction between the reset=
<br>
> rule and the normal difficulty retarget.<br>
> <br>
> <br>
> OTOH, since we already have the special logic, I'd also be happy w=
ith<br>
> tweaking the existing rule. My specific proposal (after reading Jameso=
n's<br>
> post, which has some nice graphs of difficulty) would be<br>
> <br>
> * increase the reset threshold from 20 minutes to 6 hours, which is<br=
>
> (a) well outside the 2-hour window in which miners can easily fake<br>
> timestamps, and (b) will basically never be hit by accident<br>
> * increase the reset difficulty from 1 to 1MM, which is an rough lower=
<br>
> bound on the "normal" testnet difficulty seen historically<b=
r>
> <br>
> Which puts us in the "this rule would never be triggered unless<b=
r>
> literally everyone stopped mining" corner of the design space.<br=
>
> <br>
> <br>
> --<br>
> Andrew Poelstra<br>
> Director of Research, Blockstream<br>
> Email: apoelstra at <a href=3D"http://wpsoftware.net" rel=3D"noreferre=
r nofollow" target=3D"_blank">wpsoftware.net</a><br>
> Web: <a href=3D"https://www.wpsoftware.net/andrew" rel=3D"noreferrer n=
ofollow" target=3D"_blank">https://www.wpsoftware.net/andrew</a><br>
> <br>
> The sun is always shining in space<br>
> -Justin Lewis-Webster<br>
> <br>
> --<br>
> You received this message because you are subscribed to the Google Gro=
ups "Bitcoin Development Mailing List" group.<br>
> To unsubscribe from this group and stop receiving emails from it, send=
an email to <a rel=3D"nofollow">bitcoindev+...@googlegroups.com</a>.<br>
> To view this discussion on the web visit <a href=3D"https://groups.goo=
gle.com/d/msgid/bitcoindev/ZgrCxWxMkiAt2Tg2%40camus" rel=3D"noreferrer nofo=
llow" target=3D"_blank">https://groups.google.com/d/msgid/bitcoindev/ZgrCxW=
xMkiAt2Tg2%40camus</a>.<br>
<br>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a rel=3D"nofollow">bitcoindev+...@googlegroups.com</a>.<br></block=
quote></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex">
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/06oL-GctrcLb99M_RuOgygXKMjtB_vPLHOCuc-axYrGVy_QBRGPu5=
wA9C2QXDb7cKIJbJu_t_JKmRrr9FsBORdUPavXPFvOi98p04UQuvuE%3D%40protonmail.com"=
rel=3D"noreferrer nofollow" target=3D"_blank">https://groups.google.com/d/=
msgid/bitcoindev/06oL-GctrcLb99M_RuOgygXKMjtB_vPLHOCuc-axYrGVy_QBRGPu5wA9C2=
QXDb7cKIJbJu_t_JKmRrr9FsBORdUPavXPFvOi98p04UQuvuE%3D%40protonmail.com</a>.<=
br>
</blockquote></div>
</blockquote></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com" target=
=3D"_blank">bitcoindev+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/c1e32072-55ff-4cca-a56c-09c747e7e4a6n%40googlegroups.=
com?utm_medium=3Demail&utm_source=3Dfooter" target=3D"_blank">https://g=
roups.google.com/d/msgid/bitcoindev/c1e32072-55ff-4cca-a56c-09c747e7e4a6n%4=
0googlegroups.com</a>.<br>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/bitcoindev/CADL_X_c3YhyeqgsrFBVixpPOQWEacsa5cZUSK5uzLLNha9w%3D%2=
BQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.=
google.com/d/msgid/bitcoindev/CADL_X_c3YhyeqgsrFBVixpPOQWEacsa5cZUSK5uzLLNh=
a9w%3D%2BQ%40mail.gmail.com</a>.<br />
--0000000000001f0fa90615225dd4--
|