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 ) 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 ; 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 (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 From: "'Fabian' via Bitcoin Development Mailing List" Cc: Jameson Lopp , bitcoindev@googlegroups.com Subject: Re: [bitcoindev] The Future of Bitcoin Testnet Message-ID: In-Reply-To: References: 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 Reply-To: Fabian 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.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 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.