summaryrefslogtreecommitdiff
path: root/dd/67a224ebf52d6ff304041d227efae9114e62d4
blob: 74d5d4c019df4f54d5c572142a938c78c7c6bc21 (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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
Delivery-date: Mon, 01 Apr 2024 06:33:52 -0700
Received: from mail-qt1-f186.google.com ([209.85.160.186])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBAABBOHPVKYAMGQEVAB2FHQ@googlegroups.com>)
	id 1rrHnL-0007US-LD
	for bitcoindev@gnusha.org; Mon, 01 Apr 2024 06:33:52 -0700
Received: by mail-qt1-f186.google.com with SMTP id d75a77b69052e-430accddb45sf47001211cf.2
        for <bitcoindev@gnusha.org>; Mon, 01 Apr 2024 06:33:51 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1711978425; cv=pass;
        d=google.com; s=arc-20160816;
        b=NQyJT4NWy+QSrcSpao1uGEBqha3Yk8aTNNrw7P2rzPPZ2kpcYUKG9Z854vO+Fgs6tK
         zBzQK3LZs2MEo6O8T2HmzoIL7tHifQ9rnJEnrmaUxJ7FPWUQkE2LgI42wubrmtQR3kyn
         oUG9R/6TWC409GWvWajp861RR3QKSpjlIh3zvG3WFJzvR86bB0i+w1vKCHfLwPzypeO2
         TSWckTd52Bcdt91XAzJsTX6IyRdVsR+0ii3n31e5MhF1HT3p6QXSlrTd1N8n7VSrGLmJ
         4d/vjiHzHkJSC+0QMz47R3UnftzoYZPFGgDxMZZXvl+jxcf23qDMwNie2kRnrYSD+hqf
         peEw==
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:reply-to:content-transfer-encoding
         :mime-version:feedback-id:references:in-reply-to:message-id:subject
         :cc:from:to:date:dkim-signature;
        bh=0SS+QwFNLbMxH6niGq88X8qhMKFGi4wVPefG6+BFNY0=;
        fh=JK9/SFys/gADmzSsP/sI9vtBA3PMPaBSBtPuWkF1OQc=;
        b=ORSt2UJWO/hgRHjhw5R6tquvEQ9uVFIkFBXv9E9x5TD/IjrmRXOP5P7rKOiohMylCg
         BgDnE4/9LQEAZL6YEAQiu4TuTJ0QB47EG6uD5jkl2uVI7oNzkay9izFinJssmGXX7+JA
         URgGkZcHMHKlzkd4ebNWkxzG/MRgIx4tDg3kc1BTgHV2WYLJTHClNOUFU8MxaiNaWida
         QUmrOCl0xgw/5OB1/OKvk/97T8SzZ7+lSKfY/o+sS8FKKYYYPe1NqC1NRhQoEXmEMCv+
         pua0UaOfIeD2id8oVSZ7BCm1521c5ft+D45YG2I3ddhm31W/dp6iIN+s6FII+dO3N4Jj
         1P/w==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=griJvvDf;
       spf=pass (google.com: domain of fjahr@protonmail.com designates 185.70.40.133 as permitted sender) smtp.mailfrom=fjahr@protonmail.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1711978425; x=1712583225; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to
         :x-original-authentication-results:x-original-sender
         :content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:from:to:cc:subject
         :date:message-id:reply-to;
        bh=0SS+QwFNLbMxH6niGq88X8qhMKFGi4wVPefG6+BFNY0=;
        b=U0xAaTnXYrS1UvEvGvauJcG1BBNio2GakPW+t4B78kUWZOWURCCwCmYMkLONbCAb0u
         uRlWekHLNfqQR9emM8BG4Un6dq5t8wgZwn408kpyX94fQO1sdeC9PEOU8t/LaGta3n+o
         TispDTXnZ62baYaWpQF9otTHCsIDIMR6zkv5KCHFuxrLwzSyMaamFA1yVMwDmtyXsQSL
         q9GTB4t0zf8WkYSLmyLyG5sZ7eaTg2pIUERJynxc0E8TRSdNLDpSkJqvisq2NIZIVv7T
         9FXIx1qemYHUgyxfN/F0NYMmxUjnZD23ApxrS55oZXbR+7Q/pzesdRcVh05MseeBdXnz
         ypLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1711978425; x=1712583225;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to
         :x-original-authentication-results:x-original-sender
         :content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:x-beenthere
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=0SS+QwFNLbMxH6niGq88X8qhMKFGi4wVPefG6+BFNY0=;
        b=ATbr5y9sXkRbAgAGC90pn8Z6Bcu696so5J/TsSRhMSY+UxrRWOPJFAguJh0yMgSBdo
         80EIeWjGTHggeyT7PrVy/clLAkNv2b9EWABVzEn2oE3ABAne5kUALVPT/TU7dGEPlMSU
         +oqjtb3KpOh0WdR3LcIrhlHE03blIjpM0Gchqm1+NAR0XzvrC1wts3GoY8cP97oBEkVs
         +RzNO5Krbd09M4ESj41bzaaJzYBEBOVS54x912yUG2kwsmRX5go85lcblkXdFsHA/BPg
         eNQPVEcVGe0FRR3vdiPhhsKyr1WwNRjpvIn4C2c38+TAfr5obBotuTyq2HF0d26B0Q0n
         E2Hw==
X-Forwarded-Encrypted: i=2; AJvYcCXiaHZXUbjC2PQc6ZSu8G7oFEjtXky0mJEcFR4J3y/HjTQD1H8pFSmhbMtwrHzDS3nIA1poP/aW90lZNN/NNSYo4ZgSsr0=
X-Gm-Message-State: AOJu0YxLHdDq6e8FDXegFP0i1RthQs23fCvqYy1jbo7zDnJppKLfO+cG
	6iL1QLywamNzzpGBc8XuIhfs0CZllU4/VZcPA+tbi0G7jHTKE1xn
X-Google-Smtp-Source: AGHT+IGzabukBZX6/zIQmTjPEgtmjSY+XL2vqQyiusN3yb8/ap6F3yIuMOyhrNh8xeQ7Ch/+N1LFwQ==
X-Received: by 2002:ac8:7f56:0:b0:432:eb2f:83ab with SMTP id g22-20020ac87f56000000b00432eb2f83abmr5069819qtk.19.1711978425393;
        Mon, 01 Apr 2024 06:33:45 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com
Received: by 2002:a05:622a:552:b0:432:d61d:2fc6 with SMTP id
 m18-20020a05622a055200b00432d61d2fc6ls292655qtx.1.-pod-prod-04-us; Mon, 01
 Apr 2024 06:33:44 -0700 (PDT)
X-Forwarded-Encrypted: i=2; AJvYcCXi9UEyZBKUnOAP7hGQ7zL1Zvu4Aw4tNZQj1gV7K85nY2zpADQYTG5YAJnJor3IzsJ4SF6DF3LFltgSIfDSrWZ7EViBvNFsPaJ3wUI=
X-Received: by 2002:a05:620a:454f:b0:78a:1385:1b20 with SMTP id u15-20020a05620a454f00b0078a13851b20mr256451qkp.8.1711978424607;
        Mon, 01 Apr 2024 06:33:44 -0700 (PDT)
Received: by 2002:a05:620a:444b:b0:78b:c6cb:86d4 with SMTP id af79cd13be357-78bc6cbd439ms85a;
        Mon, 1 Apr 2024 06:32:32 -0700 (PDT)
X-Forwarded-Encrypted: i=2; AJvYcCV3HyP2imBMBhIsHjOhzVShHX8U5xyQfTV5v4jYP5fazUjF5Y+wSZFjZTO6GuUbC3hYGvGI4wslRFFiDcHna1Fdtjf2Y8j/wK0tY8U=
X-Received: by 2002:a05:651c:1a10:b0:2d8:19fe:4879 with SMTP id by16-20020a05651c1a1000b002d819fe4879mr1790348ljb.38.1711978350160;
        Mon, 01 Apr 2024 06:32:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1711978350; cv=none;
        d=google.com; s=arc-20160816;
        b=jx5hJZyENn/UbcVQXc8d3VFkxULEetpqixQ8hPDnxC9buw1NbHEqaVz0dF1CwYvcnx
         oLpU/4E4linVU15JiwIuR/z+9YCFITn340mmT9AUPijcfmi/lfoS8UkfJdQ6tgAoiPfF
         pK129xlhhW9qu1ZJvfz9em29bDPXGd3CoZI59o3tiKcpX48E6zRFFZPtRvOMqQODxFe+
         pmBOqpjq6OSS1k1uVSCWYcjwohNBIDnXo/r/f0vL+12uu39sFIt72LO6XkpcmEHoHAtO
         1/HQqnG3UcCK5c0/cPLoSmZ//8Qucb95Sj9b2FD/AYOWXNcA5mIU6zLop3Pr1XK0epN3
         qbRg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:mime-version:feedback-id:references
         :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature;
        bh=K/JOvxEXOsBXgUJI+rAdHVxUhT9PoZDTLqrfJffiM9A=;
        fh=oOjoc23ngraLvx+nl6+KenUUNbZGW8yxudCE8uhOx1A=;
        b=I7LRrIuLLM2d/oknUMiV7o+FBu6CjL8zqZxMnAZjvx60stiDee5jhAdJxKbAb1D2yW
         bgAVvZSTIn3TaG+DKUMbJOZPvWrqqLwKs/Py/LomLSJJhkrTaptlzsZOHCD6y8HPenjB
         mt8pwnjc+ZzCOEB9TtOsrbvOaYvHttIj5Rngp29rlng1hCO0XjEoaTDuwA3CAjrNDVMH
         +Jr5ObjMs8RJT7nacVhoffPgAe37CUsYCwNa0d08RnBSrsAQ4Dv9D3SyQAtJxzM3tsve
         IH7O+hvcIj5cnRBJ1O/ytxo7QXb2QjHOAvQHyDENhawTYvBui10mpl2XKFW2Rx4NKYkv
         Mg2A==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=griJvvDf;
       spf=pass (google.com: domain of fjahr@protonmail.com designates 185.70.40.133 as permitted sender) smtp.mailfrom=fjahr@protonmail.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
Received: from mail-40133.protonmail.ch (mail-40133.protonmail.ch. [185.70.40.133])
        by gmr-mx.google.com with ESMTPS id b11-20020a2e894b000000b002d70b4f92e6si289117ljk.4.2024.04.01.06.32.30
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 01 Apr 2024 06:32:30 -0700 (PDT)
Received-SPF: pass (google.com: domain of fjahr@protonmail.com designates 185.70.40.133 as permitted sender) client-ip=185.70.40.133;
Date: Mon, 01 Apr 2024 13:32:23 +0000
To: Andrew Poelstra <apoelstra@wpsoftware.net>
From: "'Fabian' via Bitcoin Development Mailing List" <bitcoindev@googlegroups.com>
Cc: Jameson Lopp <jameson.lopp@gmail.com>, bitcoindev@googlegroups.com
Subject: Re: [bitcoindev] The Future of Bitcoin Testnet
Message-ID: <XMuCEcSeUAgzOVSt2jRtdPPDVpX-ZRvJZ5SW3mc4tsbHNGKcaxOG5ZVYKD9xwCQjd7rIvW8Rq4lcVaL5eKe6AVyxa9unQWAhdU8RozWlj2E=@protonmail.com>
In-Reply-To: <Zgq12xgPpyD9ie0L@camus>
References: <CADL_X_eXjbRFROuJU0b336vPVy5Q2RJvhcx64NSNPH-3fDCUfw@mail.gmail.com> <Zgq12xgPpyD9ie0L@camus>
Feedback-ID: 5067558:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Original-Sender: fjahr@protonmail.com
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@protonmail.com header.s=protonmail3 header.b=griJvvDf;
       spf=pass (google.com: domain of fjahr@protonmail.com designates
 185.70.40.133 as permitted sender) smtp.mailfrom=fjahr@protonmail.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com
X-Original-From: Fabian <fjahr@protonmail.com>
Reply-To: Fabian <fjahr@protonmail.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: -1.0 (-)

Hi all,

I second that Signet is not a replacement for Testnet.

Softforking in the fix is definitely possible and worth considering if too =
many projects complain about the hassle of changing to a testnet4. However,=
 this alone doesn't help with any of the other issues OP mentioned.

Getting rid of the halving for testnet3 doesn't seem like a good idea to me=
 since this would mean all projects that have some kind of unintended infla=
tion detection would need to add exceptions. This seems like a much larger =
engineering effort than simply switching to a testnet4. Beyond that, I agre=
e with previous posters that there is value in keeping testnet as close to =
mainnet as possible. Also, we would be locking in an already very low subsi=
dy in testnet3.

So far, I think the reset together with a fix for the difficulty adjustment=
 is the best solution and hopefully discourages scammers from building on B=
itcoin testnets. Maybe we should even get into the habit and just reset wit=
h every halving. FWIW, I have created a draft PR with a difficulty adjustme=
nt fix and some initial work for a testnet4: https://github.com/bitcoin/bit=
coin/pull/29775

Side note: I think one of the main causes for the insufficient distribution=
 of testnet/signet coins is that building and running a faucet that works a=
s intended robustly, withstands attacks etc. is a very hard problem. If we =
had such a system that just works (TM) and will be maintained long-term, I =
think there would be more people willing to donate their testnet coins to s=
uch a system. Maybe this is a project worthy of some OS funding.

Best,
Fabian


On Monday, April 1st, 2024 at 3:25 PM, Andrew Poelstra <apoelstra@wpsoftwar=
e.net> wrote:

> On Sun, Mar 31, 2024 at 09:19:50AM -0400, Jameson Lopp wrote:
>=20
> > 2. The reason the block height is insanely high is due to a rather amus=
ing
> > edge case bug that causes the difficulty to regularly get reset to 1, w=
hich
> > causes a bit of havoc. If you want a deep dive into the quirk:
> > https://blog.lopp.net/the-block-storms-of-bitcoins-testnet/
>=20
>=20
> The purpose of this is to avoid situations where a single miner drives
> the difficulty way up and then drops off, leaving the other testnet
> miners unable to produce blocks. In the early CPU->GPU->FPGA->ASIC days
>=20
> it could happen that there was only one person with an ASIC who would
> have literally a 1000x advantage over other miners (since miner costs
> money and nobody gets paid).
>=20
> Nowadays we can probably assume that anyone who cares to mine testnet
> can scrounge up a couple used S9s or something, so for a griefer to
> obtain a 1000x advantage like this would require a serious cash
> investment. So maybe it's okay to drop the rule entirely.
>=20
> But I would propose weakening it -- requiring no blocks for a longer
> period of time and resetting the difficulty to something (much) higher
> than 1. Or just dropping the difficulty by a fixed factor of 128 or
> something (though we'd need extra logic to avoid this being done
> repeatedly to drive the difficulty to 1 anyway, maybe) so we don't
> need to guess at a reasonable floor.
>=20
> Obviously this is a major bikeshedding vector but hopefully people don't
> get too enthusiastic about particular values here. Just pick something
> and run with it.
>=20
> Anyway ACK resetting testnet if people are valuing its coins. I recall
> a long time ago this was (in some sense I don't remember) an official
> condition under which testnet was supposed to be reset.
>=20
>=20
> --
> Andrew Poelstra
> Director of Research, Blockstream
> Email: apoelstra at wpsoftware.net
> Web: https://www.wpsoftware.net/andrew
>=20
> The sun is always shining in space
> -Justin Lewis-Webster
>=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=
 email to bitcoindev+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgi=
d/bitcoindev/Zgq12xgPpyD9ie0L%40camus.

--=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/XMuCEcSeUAgzOVSt2jRtdPPDVpX-ZRvJZ5SW3mc4tsbHNGKcaxOG5ZVYKD9xwCQj=
d7rIvW8Rq4lcVaL5eKe6AVyxa9unQWAhdU8RozWlj2E%3D%40protonmail.com.