From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 19 Mar 2025 17:04:42 -0700 Received: from mail-ot1-f62.google.com ([209.85.210.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 1tv3Or-0003FO-RN for bitcoindev@gnusha.org; Wed, 19 Mar 2025 17:04:42 -0700 Received: by mail-ot1-f62.google.com with SMTP id 46e09a7af769-72a18a6fa85sf90248a34.1 for ; Wed, 19 Mar 2025 17:04:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1742429076; cv=pass; d=google.com; s=arc-20240605; b=DGp2+ukPb+zuvssRsE5Oftput9Da0wIak0F4AFnLZj+8UR+nVmLMJZ71gO+wCb4Y1v o9tzQs3ScRZS3018u/SrTqo39pU7L1Ki6HbTTQL1bf1WpQEJfQ1r086A1sS7qMgLi6Po a1VArSdU3B3ZfFIPlRrtL9RgK/1af9PQ6lMLrncLdUGKNVo6OVUffS8luNYHBwQohHfE ncczCZACfuaIUiv2OtdBhIWKia2pDjnr5raEXUNcPAY0JnylIEmFAmyJN+1jygnoj+zp jmR6qJFLt9f3uJLPMCJW+6HINzzS+FD0QpwP/C4VWw6xF+fiQeh8rBqfAIoBNGk5zU6r dbIw== 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:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=1EiSRQZcX7BC18d7WL5ALINvblpPZkG/tuygCy6yNdg=; fh=d2KcQgVtjy0T7S4b08bQTMzkvoUvChk92GuMupqvWL4=; b=ADh1JvFiGsU2fOQTra8orsZOhZ3SS0sOK974PdgSPnuKKmIG0wJjhccPjNYeoQLgsF NiOlhxRLvtR3b0i1U/WSXfvqwSZ1SjoTkgEA83moafkSGCMURiHhH5qtvFY/oq/JxIPk FGSgD7nBDnZlbvF3yXvD9YGcQyG3FQsTy8tj0+H3cwaxvlzxQD7pihH8jxqDn/moT7/4 xOmFgAO5wcng8zER1XGWIdjDa7XY3t9+pcjp/hJ749XOftCHgb3AnjuEa1tENn9OMsBo cSTUuMeHZYapZ4tlGPG05+xtvEXZjhyOxTJ1yNule6Fc55mIt/O6ufwbVN86Y9nAbWYO ps8g==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KLrQUfPq; spf=pass (google.com: domain of melvincarvalho@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=melvincarvalho@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1742429076; x=1743033876; 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=1EiSRQZcX7BC18d7WL5ALINvblpPZkG/tuygCy6yNdg=; b=Bqph+Sml7lxYcFGyL7G6H1d9YfyK8Y14xx/qMAO4ZN2qJj31jto5s2DErBWfojX9Qo p+Y0lD1m9lzNrt9EcqjzffZhKUnJuuhVZyG2uBqk2XbLNZYNmm925RCavfK1SBpZVdVy IoF8X6NPwkJIxqQfT0/bzizOlfdOnCVEdnp9FJr0ILWROXzNWJi2OCtc4oiRI23lFD2R Vg22NMUtTI7FVS/KeSogKyU9inIJj3+KV7V1vlUKf8n+0s7J4Jal596YQm30jpxQ3kuS zVIGIJNQvNtxuvxUZDUJK/p0UWJVIeVIQrs5LjLshzEZtBqX+yO6ANJ5MpOYMQXe+G45 DD6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742429076; x=1743033876; 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=1EiSRQZcX7BC18d7WL5ALINvblpPZkG/tuygCy6yNdg=; b=eZ/VWxfQ2Q66e9BeztCXMmQyk78795WllZDvJTwUDH4vj0LiAXK4gYiL/17uS2t+fB PGtrAMXi9HhhQ2iGEAJNgsG4NKWg26ADUOmNlmrB4twb4+nX3cFQPbEQExQKouirNlg5 WK4+7fDWVYasvY8RBFKqJ5lf7D7w3DedoE1rJBqNcKyeMH5f62u+TH+qFNsf0ZcNr4Vk suZMAS2IxC9oJhklxBNyO+qHwVlBM1PP9IEwO1uj7cKVKtFy8aTjEODbUM32qUtLAAZP JUPQRyTmmQ490jd5AF1JKtCFyPTGKtH8TL6H6YdIQXKIvSVvf+kosW9q7DaoguylM2/R 28gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742429076; x=1743033876; 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=1EiSRQZcX7BC18d7WL5ALINvblpPZkG/tuygCy6yNdg=; b=tUdnuPq5EKAzXCEIhkc/ir0NOja3XE6BwNIFKavEKHVJ6vbPcJKwFq1sMnQpWWjuUH Hc2goM5PtRyX3VjhU5p8SAKXOcR/c5Q92wHqy/MwpPjJT3YdCkTl6juLHEb80qC5mOA8 QzzBaLRontuD6YXSqVsgVieeMDCmWDFxQP6acg5H9RKoxivywE0yFvproDz0b9U5RAWN JyRdbPruSfQdQXD6IyAOknjjIcS6NvZPllGRtl+AUJmLcfQpjxwEa2sL5mCpOi7nBNoF eQlLczX7imAlUx/m0khPq8o8g/pcI1GwscqWco7SiCwfARiHKqUCc1NRXaZEE/pr7pl+ JONA== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXi2MkeI6KymrXjMX236gTxAIomXKwNqbflztDrpLYJdYqfmY23iKERRziHfmy1T/xB2xr59O/e4Auh@gnusha.org X-Gm-Message-State: AOJu0YyRUbThllh4QDrgig8SxSIxD/3ghjh6g7Yn/LPso02dE/KltLpL CdGC3JUMNMiNKlizPU2SDGsxMI4xhQtDDiblDWnMm45IeklC+/BV X-Google-Smtp-Source: AGHT+IFirnpFZK32HwgbIks0l/DT5zUvX+kgQU1kl7O5ZDLC2M4KFusf2FWvOz80c3/+DmbYMKu3Ng== X-Received: by 2002:a05:6820:1e06:b0:602:a52:cff9 with SMTP id 006d021491bc7-6021e422e64mr2888817eaf.8.1742429075682; Wed, 19 Mar 2025 17:04:35 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h=ARLLPAKfvnww7kSvcZ3dz+XHADLdNlzZZp5sc8UPDrPeDtOBnw== Received: by 2002:a4a:e605:0:b0:600:3d56:c122 with SMTP id 006d021491bc7-6022945aea5ls87251eaf.0.-pod-prod-04-us; Wed, 19 Mar 2025 17:04:32 -0700 (PDT) X-Received: by 2002:a05:6808:2f18:b0:3f8:889e:c13c with SMTP id 5614622812f47-3fead575bcbmr3925507b6e.1.1742429072513; Wed, 19 Mar 2025 17:04:32 -0700 (PDT) Received: by 2002:a54:4397:0:b0:3f6:a384:eb6f with SMTP id 5614622812f47-3feac832addmsb6e; Tue, 18 Mar 2025 14:34:38 -0700 (PDT) X-Received: by 2002:a05:6a20:3943:b0:1f5:72eb:8b3f with SMTP id adf61e73a8af0-1fbebc8648cmr350178637.24.1742333677271; Tue, 18 Mar 2025 14:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1742333677; cv=none; d=google.com; s=arc-20240605; b=hMinY1v5WK68/OJJ6Cbh/chETnHPkRpch4MW5rsVF1jNyS6MEk9ADh4NXqWBTuzsYg G/4vts/O+pG12oXQrI59EsTQIZxwrMmS3IeRZ8U1hTRcKvC9QJCCdD8VsclZeSSb0FY5 6HILL49vXfdg162rZ3BQpIhPCKcCFZYt3nDsn1XvM96SrsgFyKS7Azg5JFsMyUT6gWzF qEEA8RW2YQm4u/HNhsHgNbPc1BHVZBoZNtexHGxNpOPhVDKLU/1CPoOVJWp1WzZNKAuQ +sEEuyzjX46B3eyAa7/vNtTJyvQg414WJk2NAqROy60OYQNKtws0OyCdN5q098stcSh/ z6sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=0S57ias/pdwDQ7QTpwcwHRZ5imx+CHYb4z3+XgWGKwY=; fh=m2IwlnuMmP6ceRgqI8U7RCh8Dkd3VeWlWEfxse0Wcvc=; b=jpXzHIyWDkuh1e4xz7rmdSPiKsvmOFrzp7Djnik/W+PohgeFjOy/8CpjdpTesckvU5 Z+0JGVSNUTmZyN1U6OFK1jT5eqGtNJVmGLan9AHmFd9knb2a/2Y/fQH+Nmr+b6z1rXc3 WwyGdyWKXraHEWUa1+fUHBl0d00Ur5DZoAezqXKeZWRnGuYeif07gwreBddhpDlqziDN DMjxg0r2kwkpfTxSz6j5qyhc7YHkxBXaBpNyfmZYt+NzEN6bYQuzIw3FliUclZYv+6YV eAqMe6IYFC0iGlFiRyKhb6Ep9qnzF+wGLcg2JsTi0+PCTm0ECsj0fLgWkCBpEmqryCBG ppqQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KLrQUfPq; spf=pass (google.com: domain of melvincarvalho@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=melvincarvalho@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com. [2607:f8b0:4864:20::102b]) by gmr-mx.google.com with ESMTPS id 41be03b00d2f7-af56e9d4908si557756a12.2.2025.03.18.14.34.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Mar 2025 14:34:37 -0700 (PDT) Received-SPF: pass (google.com: domain of melvincarvalho@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) client-ip=2607:f8b0:4864:20::102b; Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-3011737dda0so5071319a91.1 for ; Tue, 18 Mar 2025 14:34:37 -0700 (PDT) X-Gm-Gg: ASbGncsjCSItO3ZCgQAc3ipNz4VM0F3z7zfDhUiQ8KvayYvmCe8FtDPFy8/sXZSE1io Tqb20ioc+3+WIwX1NKo6Q0bckAIzpRS3+LPyWn8eaQm+wp7cU7udjbyRMvW3ODLs7ulZcWzARUo 5CDZlqnSB+oNwHrgT0rD0KklfK X-Received: by 2002:a17:90b:4fc5:b0:2f8:4a3f:dd2d with SMTP id 98e67ed59e1d1-301bdf9364bmr371592a91.15.1742333676786; Tue, 18 Mar 2025 14:34:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Melvin Carvalho Date: Tue, 18 Mar 2025 22:34:25 +0100 X-Gm-Features: AQ5f1Jr79HnehpfFkUTQmpM1u06vBYnpCEnzrT0F4gmjEQefReH0eqCWmF5DS5M Message-ID: Subject: Re: [bitcoindev] Unbreaking testnet4 To: Antoine Poinsot Cc: Bitcoin Development Mailing List Content-Type: multipart/alternative; boundary="000000000000e29c600630a4abb8" X-Original-Sender: melvincarvalho@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KLrQUfPq; spf=pass (google.com: domain of melvincarvalho@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=melvincarvalho@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.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 (/) --000000000000e29c600630a4abb8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =C3=BAt 18. 3. 2025 v 22:24 odes=C3=ADlatel 'Antoine Poinsot' via Bitcoin D= evelopment Mailing List napsal: > Hi, > > Testnet4 was rolled out a year ago to address the shortcomings of > testnet3. One of those shortcomings was the difficulty reset creating > havoc. [0] In spite of this a similar rule was adopted for testnet4. [1] = As > a result, testnet4 is similarly creating havoc. [2] > > The goal of testnet is to mimic the Bitcoin mainnet. This is why it is > useful to have in addition to a more control testing environment such as > Signet. > > The given rationale for a difficulty reset was to let developers > occasionally mine blocks on their laptop. But you cannot have your cake a= nd > eat it too: either the network is permissionless (PoW) or you assign > identities and privileges to some (Signet). By trying to do both at the > same time testnet4 created a loophole for abuse. As a result it failed on > both count: it neither mimics mainnet nor allows developers to mine activ= e > blocks on their laptop. > > I propose to fix this by removing the difficulty reset rule from testnet4 > through a flag day hard fork on 2026-01-01. I picked a date well in the > future to minimize disruption. This leaves enough time for a patch to be > reviewed, merged, included in the next major Bitcoin Core release, > backported to previous releases and adopted by the infrastructure running > on testnet4. That should be enough for a test network. > > Let me know what you think, > +1 I think this is a great idea. I can dedicate some resources to it, such as review, running a node, contributing some hash, if necessary, and a decentralized faucet (that anyone can run) that I've been working on > Antoine > > [0] > https://gnusha.org/pi/bitcoindev/CADL_X_eXjbRFROuJU0b336vPVy5Q2RJvhcx64NS= NPH-3fDCUfw@mail.gmail.com > [1] > https://github.com/bitcoin/bips/blob/master/bip-0094.mediawiki#rule-speci= fication > [2] https://fork.observer - pick the network on the top right corner > > -- > 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 visit > https://groups.google.com/d/msgid/bitcoindev/hU75DurC5XToqizyA-vOKmVtmzd3= uZGDKOyXuE_ogE6eQ8tPCrvX__S08fG_nrW5CjH6IUx7EPrq8KwM5KFy9ltbFBJZQCHR2ThoimR= bMqU%3D%40protonmail.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 visit https://groups.google.com/d/msgid/bitcoindev/= CAKaEYhKwsLHfv0gYQYZ9MnDVPyQTN6jAfzShaKkS%3Dk2fDfMq0A%40mail.gmail.com. --000000000000e29c600630a4abb8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=C3=BAt 18. 3. = 2025 v=C2=A022:24 odes=C3=ADlatel 'Antoine Poinsot' via Bitcoin Dev= elopment Mailing List <bi= tcoindev@googlegroups.com> napsal:
H= i,

Testnet4 was rolled out a year ago to address the shortcomings of testnet3. One of those shortcomings was the difficulty reset creating havoc. [0] In=20 spite of this a similar rule was adopted for testnet4. [1] As a result,=20 testnet4 is similarly creating havoc. [2]

The goal of testnet is=20 to mimic the Bitcoin mainnet. This is why it is useful to have in=20 addition to a more control testing environment such as Signet.

The given rationale for a difficulty reset was to let developers=20 occasionally mine blocks on their laptop. But you cannot have your cake=20 and eat it too: either the network is permissionless (PoW) or you assign identities and privileges to some (Signet). By trying to do both at the same time testnet4 created a loophole for abuse. As a result it failed=20 on both count: it neither mimics mainnet nor allows developers to mine=20 active blocks on their laptop.

I propose to fix this by removing=20 the difficulty reset rule from testnet4 through a flag day hard fork on=20 2026-01-01. I picked a date well in the future to minimize disruption.=20 This leaves enough time for a patch to be reviewed, merged, included in=20 the next major Bitcoin Core release, backported to previous releases and adopted by the infrastructure running on testnet4. That should be=20 enough for a test network.

Let me know what you think,

+1 I think this is a gr= eat idea.=C2=A0 I can dedicate some resources to it, such as review, runnin= g a node, contributing some hash, if necessary, and a decentralized faucet = (that anyone can run) that I've been working on
=C2=A0
<= 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">

--
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 bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.c= om/d/msgid/bitcoindev/hU75DurC5XToqizyA-vOKmVtmzd3uZGDKOyXuE_ogE6eQ8tPCrvX_= _S08fG_nrW5CjH6IUx7EPrq8KwM5KFy9ltbFBJZQCHR2ThoimRbMqU%3D%40protonmail.com<= /a>.

--
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 visit https://groups.google.com/d/= msgid/bitcoindev/CAKaEYhKwsLHfv0gYQYZ9MnDVPyQTN6jAfzShaKkS%3Dk2fDfMq0A%40ma= il.gmail.com.
--000000000000e29c600630a4abb8--