From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 31 Mar 2024 09:24:56 -0700 Received: from mail-qv1-f62.google.com ([209.85.219.62]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rqxzL-0000GX-EB for bitcoindev@gnusha.org; Sun, 31 Mar 2024 09:24:56 -0700 Received: by mail-qv1-f62.google.com with SMTP id 6a1803df08f44-69680b07160sf43877396d6.0 for ; Sun, 31 Mar 2024 09:24:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711902289; cv=pass; d=google.com; s=arc-20160816; b=MeadkXjo9IipIY5M9b2KbY6QPyg0jPau+8a5wQWOaoYnz+2f8TZ8s90xpDOiqiAnfh V854Qs9sE/snhP0Ptu4lkFXBCvs10UL0ZESrLYYTdnMU9UXk+zmSf9Hdf7j/MAJ2nH0w njl7seE6e3UmJmGopHUueeU6DACjHVk0Zi4KRD3g3ykkrXM8VZxR7aIi35IO3G5DiUYr nHGqq0os/zQWfOCF41fliyaeLNtIClRMF2KMXOcvQMWAYLNaAn3tBEmzfx3QQ/5DR/2t V0s6+0TEkMVnAOqZGVa1TxULy8LM7GaXyedngNV1akIIkrT3/ZqupcdE9MBQQcKYngle 3NVw== 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=RoMFfPpHl9w5YgcQy0u4/QgigFJmK5m5uafQWCkHTEE=; fh=7rj5PTOXlZkKLUlr3f8lxc9xCzx8vk64yekOpKb8di0=; b=Mlze1iNRApxTcm9qBAkAANBFPQxOVtdH2ueHr7/BSZ1jDKGTT5fuRbcf3mV3Mp0Ny/ FgRzd+qAuaZ3gnUgFTT9ClsoEa2WVssRU6V22Ll4XqrobM2Xo2yjmSxuPNjqjVsVijra O5eReAAIY4EP2ID/ZXONWumctf1Ie6fucmUPPxj6CMZAdhfmpRN6DDQfkoyZBTZCUGWz NckJBNGkCM+6oPEK1JfB9GMlP/lpj25idrpaalBACSh90OG/0c7AHlhhzsnZt5PfwoMl 8LbolgPHmRbc6XzUN/vvxWgByoFTXfXdqEODQhXu4gkrLPC3doYDhzN0pT+28tlH0UDL +e0Q==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bbgPWT70; spf=pass (google.com: domain of jameson.lopp@gmail.com designates 2a00:1450:4864:20::12a 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=1711902289; x=1712507089; 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=RoMFfPpHl9w5YgcQy0u4/QgigFJmK5m5uafQWCkHTEE=; b=nbhH/GenrTM/TyHBNMm3KphwmJSuBKvdV9k9fHpTKRHfIUvCaOBoy6os+6IWx32Zon p4DFvv8qrgwYE/gqF2PRIdsXrgu51tg3Q+Y9vsxmiO4yJN9+t+vzUib3ZRQQcOxvNbGz bkcgBMPMGbziy8u+HdwUEl1eUI8BGJ80/vYA2AUWU2SoGIFcWhFz04NPJw5XKuSuf4pr svtTV4fzu/thel46gBBLGITOu92G9+g+IMdbTQC6zIioV4iUybh2E9/F6gGErzUOlIM+ GF2af8nfmHT5+wPtAT1sAsM/f9FFbnvCZ6mepsomQgMKMiNugm9EMDA4N/3jk+x+ongu l2qQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711902289; x=1712507089; 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=RoMFfPpHl9w5YgcQy0u4/QgigFJmK5m5uafQWCkHTEE=; b=LJvOLXGIjHx55N+CoHkPZLgq8kzDa3f+l8PD7utbDUKeT9A89CCyEVi630q6dnKsrE Amp5ave5uVR58PUH5EzsteVp32ZCwey1XpoX/enWPoTTlKUM/rIBKJJN7losMDhE0Fu+ V4fP8cPz4bLlAELam0QnPhvVm3Mtf9o6gUAGGTjJqePHFZQLFc27fJZvOCIKChTI0QRz cn/pnWzpXJC7dbFiyzOFDJtR5R2SLPfUrq1BdhM9EPWyeTmKsYWAY7Ay7HxPYeitsund d6KEsmXY63xtBxIiK7+1Iy/fjF6SvQOl05bUjRKjc0sqBE20BZuOswNJetWz/7Jcu7zX 6V2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711902289; x=1712507089; 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=RoMFfPpHl9w5YgcQy0u4/QgigFJmK5m5uafQWCkHTEE=; b=HyNFF8CCGHqsl0S4TM20I2NFdclTtg89UtGKh2KuGtlfZL73R60ps6GkeCtbf4VAdt k3ifg5zWjrvuQgkl6Ed/kSXsXELiKKhySzONCKlzeZhzjFu3bZ8r67lAfd6dxs5jVqTg Xp+Nm1ONAW/i9yNWytD9cYA9Ui2M7hw11d8udbjfWPHElM2vQcdxAbjDPI1qq1S8Moyd tA2hjiZgeEujRQWPkwQIQd1eam16X9JEYsCK+iKV81q12d//NBgiLWvhIq30jXQC3ZCZ O0dEgXko080rcTVfBXDmifNC+1OB7c4lf98Gkw98Jsi2rVS2WiE3t/AU92p8uL8/2i/b Kkvw== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWBHeBgsMtqcXpdoHWBhK46b3ZHuwt8r+WYMv+lyxcthkppOdodiPtagOyhqIehD+/cjj40xBvCwA2snPjJIojgjVQvFD0= X-Gm-Message-State: AOJu0YySNCrQyFLUj8yMv7weDLNBBm1uPxsQjH0mjBGBQS9b+wsQAbCB Le2AusAAQqUrKZaXqhNfREN1eOSxVxFvhNMqKqWP7rmWQ6ostrEw X-Google-Smtp-Source: AGHT+IGVtYJ03Ri2pELzbXDRcr5/fNE3faretPfaqG4HyHWvw8V7uNhZMLhmdikhTEaofs8VMThCUg== X-Received: by 2002:ad4:5106:0:b0:696:b009:a9cd with SMTP id g6-20020ad45106000000b00696b009a9cdmr7454042qvp.7.1711902289063; Sun, 31 Mar 2024 09:24:49 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com Received: by 2002:a05:622a:1909:b0:432:d0ba:6add with SMTP id w9-20020a05622a190900b00432d0ba6addls2010125qtc.0.-pod-prod-00-us; Sun, 31 Mar 2024 09:24:48 -0700 (PDT) X-Received: by 2002:a05:622a:4e96:b0:430:b35e:7e48 with SMTP id dj22-20020a05622a4e9600b00430b35e7e48mr1041869qtb.2.1711902288189; Sun, 31 Mar 2024 09:24:48 -0700 (PDT) Received: by 2002:a05:620a:2953:b0:78a:59df:2777 with SMTP id af79cd13be357-78b8a9a4eb4ms85a; Sun, 31 Mar 2024 07:57:54 -0700 (PDT) X-Received: by 2002:a17:907:1b1c:b0:a4e:2c2d:32df with SMTP id mp28-20020a1709071b1c00b00a4e2c2d32dfmr5939924ejc.56.1711897072327; Sun, 31 Mar 2024 07:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711897072; cv=none; d=google.com; s=arc-20160816; b=mkQ9ptogo5dOR/3z9Hqt1/wOLS20E3zga7nFuFDr4Md0Jx89jdXWXnuFaf3ekGByrf NRS85BpVczt6QPSJweEch7gU6lWLlZlA8nSJzd8ZFZ5OaYjendMIF0LUs4Fob51dHeGR idq5gfT2BDz3IJy7Q8fQYf4ykA49Qb3kDotvpQUV0aNF0oFr5ODe7EsQUrthp46oS8Ni oDg4FZsF3rLvcbFf87pxSpu5vpDvQATw3lCzY3gbg79TaL2/KPmWl5R5PYPduEYT6YK0 uy8FN0arkms028uh1afwJ+Y4zirYiSUkIyNdYxssVw3n1UJ+vBF3RbZ0BMyvDuVfQMEj bCmg== 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=Oi3B7kbQOCZ/b2bMWcdEgIxhNNxCMctR6ed80lYIoDE=; fh=jRYg04Pl0IOQLxD6rA0ou4c50cbDWVvY9M7F1jDuQR0=; b=jqMXOQD/wyJx5rTCov9qluo4hOPhaF8PqUyiPkfpyDYCLSgEssZozkr1ONJmGmytn+ 2oxAuZVi1/5eU8u1nTwzJCDhJZgQkJgdPNnuQQJOjJODR+fNrELDWFN03ghoLLRWyouH DlAS7sPBnrl214gPreOGaJnQP1neHkyv8WnuW5HrRmBE1iLpvFanfcfN3/V51nvu3EtL flbUTKbf4WdGUb1XusRa9kx244Joy9p+0rzK/vCTuxQpTDKbAkkqkrefXI7PctQQ2SZ/ 2eIAbRyfofH2ujoVsVqdjeaw1zvgKJl3VMmrDtmHJMQ16TztkzjwF1tDThLmiXV2vq3M Dzqw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bbgPWT70; spf=pass (google.com: domain of jameson.lopp@gmail.com designates 2a00:1450:4864:20::12a as permitted sender) smtp.mailfrom=jameson.lopp@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com. [2a00:1450:4864:20::12a]) by gmr-mx.google.com with ESMTPS id ht16-20020a170907609000b00a4e22cdcbc8si227056ejc.1.2024.03.31.07.57.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Mar 2024 07:57:52 -0700 (PDT) Received-SPF: pass (google.com: domain of jameson.lopp@gmail.com designates 2a00:1450:4864:20::12a as permitted sender) client-ip=2a00:1450:4864:20::12a; Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-515d55aaf5aso944078e87.3 for ; Sun, 31 Mar 2024 07:57:52 -0700 (PDT) X-Received: by 2002:ac2:488b:0:b0:513:cfd6:d151 with SMTP id x11-20020ac2488b000000b00513cfd6d151mr3120625lfc.18.1711897071493; Sun, 31 Mar 2024 07:57:51 -0700 (PDT) MIME-Version: 1.0 References: <8c6e98ff-bdec-4955-8132-bd93af2d40dd@dashjr.org> In-Reply-To: <8c6e98ff-bdec-4955-8132-bd93af2d40dd@dashjr.org> From: Jameson Lopp Date: Sun, 31 Mar 2024 10:57:39 -0400 Message-ID: Subject: Re: [bitcoindev] The Future of Bitcoin Testnet To: Luke Dashjr Cc: bitcoindev@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000d6ae480614f618b6" 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=bbgPWT70; spf=pass (google.com: domain of jameson.lopp@gmail.com designates 2a00:1450:4864:20::12a 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: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) --000000000000d6ae480614f618b6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 31, 2024 at 10:33=E2=80=AFAM Luke Dashjr wrot= e: > Is the difficulty reset bug actually a bug, or a feature? > > I haven't thought of or heard of any good reason why it's helpful to have a dozen blocks per second flood the network for several days every time the edge case gets hit. > If it's a bug, couldn't we just fix it and let the blockchain reorg on it= s > own? > I believe so. Upon closer inspection I think it's actually a soft forkable fix if all we do is restrict the special testnet minimum difficulty rule so that it can't be triggered 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 amusin= g > edge case bug that causes the difficulty to regularly get reset to 1, whi= ch > 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, a= nd > orthogonal to the network reset question. Would such a change, which woul= d > technically be a hard fork (but also arguably a self resolving fork due t= o > 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_eXjbRFROuJU0b336vPVy5= Q2RJvhcx64NSNPH-3fDCUfw%40mail.gmail.com > > . > > --=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_eZ3uDU7PPh11rn2NSGwvRMjjZ3Auu6eVVQoJU78%2BaRxQ%40mail.gma= il.com. --000000000000d6ae480614f618b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
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?

<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">

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 = restrict the special testnet minimum difficulty rule so that it can't b= e triggered on the block right before a difficulty retarget.=C2=A0

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.


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=C2=A0coins 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 &= 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.go= ogle.com/d/msgid/bitcoindev/CADL_X_eZ3uDU7PPh11rn2NSGwvRMjjZ3Auu6eVVQoJU78%= 2BaRxQ%40mail.gmail.com.
--000000000000d6ae480614f618b6--