Delivery-date: Sun, 31 Mar 2024 11:31:36 -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 ) id 1rqzxw-0001lf-9f for bitcoindev@gnusha.org; Sun, 31 Mar 2024 11:31:36 -0700 Received: by mail-qt1-f192.google.com with SMTP id d75a77b69052e-432d1e35897sf13987001cf.0 for ; Sun, 31 Mar 2024 11:31:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711909890; cv=pass; d=google.com; s=arc-20160816; b=D89eKbzjaIvRRgqgUp4F+0gq+2Hvk3vuU7dZhGGiAgjKldz+yYijtTFcxGR6UmcWYK G/UdSm8rTcHIRCsU9TXw85tVTv9T9zhOMPvYCExpYJwQprz59bXCORB23GTadvPqD4+l UyXgzVO9Kd/ES9AubgMDYSWm6dYQFa6W1xIBRbN/AWHaLyTVoYXFbCY7xBRSWTg7d0k9 AY8cEy3gwGQs/wO3Vo11M89Z/XKfRceaqdzC6GSifoQ9ZSjM8s4IPsE/dqA7aLjOycIl ETaqZp9l4LWN9izjjpr3yhojnXM0djJTnKM8CZIjivSRlVWzKM+yhxA77weycTFOakMF 0n2w== 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:to:references:message-id:date:cc :in-reply-to:from:subject:mime-version:content-transfer-encoding :sender:dkim-signature; bh=WyzgslOiuHPIpeM0c2C467MzoKBW4BVpHqKDuaMl4HY=; fh=L/HzcPDzGUkol/gCiKWg6VVobl8/yrDuiCu8G6jb8g8=; b=XarGrl/rokMfbi1uu/a7iJ/3neILpuQtk5TVHVTOHGETN7JtA1zZ4S+9m3BZkUwzDt UPTjNvL0xqJLDZCR/fNk6VIlQtFNRE0fJbj0OAMLqYFuwPfaIYIJNA90dC2SpTx9g0gP D7Qs0yl3bQWpPn91SvuL/y6xFe6ubAPNppCsqveK5PuqLuhCufPDlngcIrHhTz9015yB 59C11L2uae5KGPoD5XVhPoFZHJsTgxX/3/xbykEohPTg9w2NJFY1i/HlLesJPD6mDlRc xFrPloJPHRBC0wL62RIymZ8NU+Sr278MIVD2a3JB0U5D2Y4M9Xr6aP/Z0rXWEBsWsleQ 8R5A==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@voskuil-org.20230601.gappssmtp.com header.s=20230601 header.b=gxvNjHFK; spf=neutral (google.com: 2607:f8b0:4864:20::c36 is neither permitted nor denied by best guess record for domain of eric@voskuil.org) smtp.mailfrom=eric@voskuil.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1711909890; x=1712514690; 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:date:cc:in-reply-to:from :subject:mime-version:content-transfer-encoding:sender:from:to:cc :subject:date:message-id:reply-to; bh=WyzgslOiuHPIpeM0c2C467MzoKBW4BVpHqKDuaMl4HY=; b=MvBFmIAFzC2IXA+IgxzIcb08qQbxpcc1OHj3yWTD9CH2ZPMABPYOqY0kZZ1zNe6Z4a eVaXKQtvpkiWnfSO9Guek+XSYb4K3JV4BZmqBa5RXrakBZEjcJyKxGgw8tnX1DzlZvLU EUdNYTsPMQqbuA7jldUqB7aub/2sYs9UHspLPP69EKiSKpJo1AI6xJ9SSIMoMr091knn ZqMGcq0HUiwkO90G5gT2KCjIM8cjB6aTbkP+j9i+p5FN6jjtW0Urp1c4G7W1Wu6Sgg6N /gUWlSANe3DSGJNLxiniyH/bNlMNbOgvN0GHosSvhJ7Vf7px7vKiu4DzkwYNJgq8a5hH RaIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711909890; x=1712514690; 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:date:cc:in-reply-to:from :subject:mime-version:content-transfer-encoding:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=WyzgslOiuHPIpeM0c2C467MzoKBW4BVpHqKDuaMl4HY=; b=Thx3pNCW3yKDEsQlZ26mxi5mekL4h5sY7HNDSZShB5kVF3yN1LYM7lodNQlgFxrBZ4 GD6u1U8zMEhZPZ6CW99M5nhd7RcX60G8ChSSm0kWzMyQFA48qgknKnGcoqJKMLuB0I1H 5B1u1tlRsVEWSqV0IMSP/W4DNOwXTpNWY66ryw1Bv+R3ttfPk29A6mHdsz9Hs5KLumRL eFhMoUf97TRErYhWwG8YWHmm7P1CC2s5W+mKYo5OwnoS8COxzNtSJgMwB4DrYX2b1deI QLbrd/PD+Yf0agiULNWmi+XZpcBv2RlY7U+38l+8jy1C//cQv19chq24PDyd52jqT/FE g3Xg== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWiCWYNbBKviBmaANp67GStr1gHDOdTrCxScOka4vY/lE/PRJ0Eqss4TD5jBwmugbliqzKuUNIuZRo9U+f/zBvNSdvRD60= X-Gm-Message-State: AOJu0Yz4PdOUtOAeK9b50cMp0TVxdNE2dhfF3bh+pTjP2vnkwNhQdt5u /u20tFxtaTeJHCTBL0oFL+pbxxCNe5nko43mDM6YRbTDnJ2MszlQ X-Google-Smtp-Source: AGHT+IG3TVHeE/XuQTWJwLEMO/05UhZ3gXJCjS+VtaYW5uwhPpk6Vh1nswP0HoCwK3bab50cycHI7w== X-Received: by 2002:a05:622a:491:b0:431:5f09:83cb with SMTP id p17-20020a05622a049100b004315f0983cbmr9176940qtx.32.1711909889521; Sun, 31 Mar 2024 11:31:29 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com Received: by 2002:ac8:5d0e:0:b0:432:e560:1d2d with SMTP id f14-20020ac85d0e000000b00432e5601d2dls1024325qtx.2.-pod-prod-02-us; Sun, 31 Mar 2024 11:31:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUKXwGABDpG+xUtp04MVjVK1Qe3BnAJJsrSqUBUgMYYGIeWySuQ/2y4FnSv7tgyu2ZK/EcTJPR24xb+N6wwH7Av6a679AzXWGzMBTY= X-Received: by 2002:a05:620a:2405:b0:78b:56f7:6fce with SMTP id d5-20020a05620a240500b0078b56f76fcemr294536qkn.6.1711909888097; Sun, 31 Mar 2024 11:31:28 -0700 (PDT) Received: by 2002:a05:620a:28d0:b0:78a:4813:d207 with SMTP id af79cd13be357-78bc5d1eca4ms85a; Sun, 31 Mar 2024 10:21:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVrlhzKl3MNxl+uO2nG9FOSXTsafJxQpaJPypmR3k46Tw7GA9w81jxwMz1yd5iwo4jwR9HvKASsebINjw2FEje+v/JR+PdFvo+gHi4= X-Received: by 2002:a05:6102:54a9:b0:478:7eb8:49ae with SMTP id bk41-20020a05610254a900b004787eb849aemr111984vsb.1.1711905680703; Sun, 31 Mar 2024 10:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711905680; cv=none; d=google.com; s=arc-20160816; b=wcvi+ZTz6Xs8mYjDfXWESIvwdggU9vsweMcJRGR44VLNOETkhmYshqDXVD93fFTJyF WB5VTDmCpA2qIBW6MprfVPJz1XNunv3IJAwN6yTzeVUf7w1MQpDWEyiSdPxNvkvo3h16 xRMCF8qp1QZ9TuBg+Jb9lIndw1aiMdREIrm8vwbliVIYun6w50gNMaao5YIWJTFojJLB MBwOazF8JLceaxulNdiuQdf8eJ2sBCwdh5E7ikntw3LI4f6KD7nF3i+OETnZF0U2xLsS GGJvaj9lE83ndhdHEgRGT3CfAU2/DGoT8CZzpPB87b9sNLNs1Y7sQ/xFtWGGoVooXFEr HLJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:date:cc:in-reply-to:from:subject :mime-version:content-transfer-encoding:dkim-signature; bh=vaUpytLcW/kDC+HYYhd1QRqiVe697g4gtzYAtk1s7zY=; fh=Kow1B+ec2x2L/wiccqiRlWWCHiQEEwoRCyh2KMu/D2k=; b=n13ObTrFoRYck7/xBUlt92F647uOkEQo4fhy2r1BFw+wHQbIDwjNlkm0PlMG3Fcny8 /Fguz62X3Hh/YV0CjN0Z08On5BjRksKZ7Rh/kB0hwamC0a+CHG1Zp699CKoZDdG4wrRC 32nohvUkIGITTsGDx6Qm+9CG66H3Eo6ujp93yDgvlAxLOfbSoZxCavrcV13hkgabFXnC GrYR9DFD1XxfAhj++4YEH2xaRyEuvBY0COOXqCVgqHkh5VdjwE/90DdlH96GxpDhaJ0i GHurljRYWIZ0VuNz4koMU4IuMoaeP+YX9qD9Mh2apVxczzLziLydTMN9QtV7faNZd7Lq Rnkw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@voskuil-org.20230601.gappssmtp.com header.s=20230601 header.b=gxvNjHFK; spf=neutral (google.com: 2607:f8b0:4864:20::c36 is neither permitted nor denied by best guess record for domain of eric@voskuil.org) smtp.mailfrom=eric@voskuil.org Received: from mail-oo1-xc36.google.com (mail-oo1-xc36.google.com. [2607:f8b0:4864:20::c36]) by gmr-mx.google.com with ESMTPS id e16-20020ab07e50000000b007e135c4753fsi469176uax.1.2024.03.31.10.21.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Mar 2024 10:21:20 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:4864:20::c36 is neither permitted nor denied by best guess record for domain of eric@voskuil.org) client-ip=2607:f8b0:4864:20::c36; Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-5a4930d9c48so561363eaf.1 for ; Sun, 31 Mar 2024 10:21:20 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVc6KJU4qsXhlRjWpvHnC3OxYv+q4HtfPeYPVneYUW38dRhVDaXDp3zJgVXbfTNxHKpmhDvU7HpreRd6JA639lOiro+LathUYcNJFs= X-Received: by 2002:a05:6358:759f:b0:17f:7206:fd4e with SMTP id x31-20020a056358759f00b0017f7206fd4emr7211695rwf.3.1711905679441; Sun, 31 Mar 2024 10:21:19 -0700 (PDT) Received: from smtpclient.apple (c-24-61-32-23.hsd1.nh.comcast.net. [24.61.32.23]) by smtp.gmail.com with ESMTPSA id w16-20020a05620a095000b00789f64ec397sm2822128qkw.97.2024.03.31.10.21.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Mar 2024 10:21:18 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-504777A1-E3CA-4F33-9DB9-F30739386807 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Re: [bitcoindev] The Future of Bitcoin Testnet From: Eric Voskuil In-Reply-To: Cc: Luke Dashjr , bitcoindev@googlegroups.com Date: Sun, 31 Mar 2024 13:21:07 -0400 Message-Id: <629F8480-76E6-4A74-A24B-77A570F0FBB1@voskuil.org> References: To: Jameson Lopp X-Mailer: iPhone Mail (21D61) X-Original-Sender: eric@voskuil.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@voskuil-org.20230601.gappssmtp.com header.s=20230601 header.b=gxvNjHFK; spf=neutral (google.com: 2607:f8b0:4864:20::c36 is neither permitted nor denied by best guess record for domain of eric@voskuil.org) smtp.mailfrom=eric@voskuil.org Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: 1.6 (+) --Apple-Mail-504777A1-E3CA-4F33-9DB9-F30739386807 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


= On Mar 31, 2024, at 12:24, Jameson Lopp <jameson.lopp@gmail.com> wrot= e:


On Sun, Mar 31, 2024 at 10:33=E2=80=AFAM Luke Dashjr <luke@dashjr.org> wrote:
=20 =20 =20

Is the difficulty reset bug actually a bug, or a feature?

I haven't thought of or heard of any goo= d reason why it's helpful to have a dozen blocks per second flood the netwo= rk for several days every time the edge case gets hit. 

Apart from the genesis block and fork activa= tion points (data), easy blocks is the only line of code (logic) that disti= nguishes testnet3 from bitcoin.

I have always assumed it= =E2=80=99s a feature intended to keep it very easy to produce blocks with t= he side effect of limiting monetary utility and preserving most of the adju= stment logic.

If it=E2=80=99s eliminated there presumably = must be some other change to produce those intended results. However it wou= ld be important to consider not only all of the dependencies that may be bu= ilt up upon it, but also that the more it deviates from bitcoin the less us= eful it becomes for testing bitcoin.

If it's a bug, couldn't we = just fix it and let the blockchain reorg on its own?

I believe so. Upon close= r inspection I think it's actually a soft forkable fix if all we do is rest= rict the special testnet minimum difficulty rule so that it can't be trigge= red on the block right before a difficulty retarget. 

Signet is definitely not a replacement for testnet.

Luke


On 3/31/24 09:19, Jameson Lopp wrote:
Hi all,

I'd like to open a discussion about testnet3 to put out some feelers on potential changes to it. First, a few facts:

1. Testnet3 has been running for 13 years. It's on block 2.5 million something and the block reward is down to ~0.014 TBTC, so mining is not doing a great job at distributing testnet coins any more.

2. The reason the block height is insanely high is due to a rather amusing edge case bug that causes the difficulty to regularly get reset to 1, which causes a bit of havoc. If you want a deep dive into the quirk: https://blog= .lopp.net/the-block-storms-of-bitcoins-testnet/

3. Testnet3 is being actively used for scammy airdrops; those of us who tend to be generous with our testnet coins are getting hounded by non-developers chasing cheap gains.

4. As a result, TBTC is being actively bought and sold; one could argue that the fundamental principle of testnet coins having no value has been broken.

This leads me to ponder the following questions, for which I'm soliciting feedback.

1. Should we plan for a reset of testnet? If so, given how long it has been since the last reset and how many production systems will need to be updated, would a reset need to be done with a great deal of notice?

2. Is there interest in fixing the difficulty reset bug? It should be a one liner fix, and I'd argue it could be done sooner rather than later, and orthogonal to the network reset question. Would such a change, which would technically be a hard fork (but also arguably a self resolving fork due to the difficulty dynamics) necessitate a BIP or could we just YOLO it?

3. Is all of the above a waste of time and we should instead deprecate testnet in favor of signet?

- Jameson
--
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/CADL_X_eXjbRFROuJU0b3= 36vPVy5Q2RJvhcx64NSNPH-3fDCUfw%40mail.gmail.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 e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://group= s.google.com/d/msgid/bitcoindev/CADL_X_eZ3uDU7PPh11rn2NSGwvRMjjZ3Auu6eVVQoJ= U78%2BaRxQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bit= coindev/629F8480-76E6-4A74-A24B-77A570F0FBB1%40voskuil.org.
--Apple-Mail-504777A1-E3CA-4F33-9DB9-F30739386807--