> Op 9 apr 2024, om 18:48 heeft Peter Todd het volgende geschreven: > > On Sat, Apr 06, 2024 at 01:04:16PM -1000, David A. Harding wrote: >> >> >> On April 4, 2024 6:30:19 PM HST, Calvin Kim wrote: >>> I support reseting testnet3. >>> >>> However, I'm more inclined towards keeping the rules the same. >> >> What about fundamentally requiring BIP34 from the start of the next testnet? I haven't heard anyone say this, but I assume the current testnet4 having reverted[1] to BIP30 is bad for utreexo? The current proposed testnet4 has all the usual soft-forks active from block 1, see e.g. BIP34Height in src/kernel/chainparams.cpp https://github.com/bitcoin/bitcoin/pull/29775 > NACK > > One of the purposes of testnet is to exercise edge cases in code, in an > environment where mistakes don't cost money. It's a good thing that, eg, a > utreexo testnet implementation has to deal with all the the same warts as it > would have to eventually deal with in mainnet. > > In fact, ideally if we reset testnet we'd delibrately *add* non-unique txids to > testnet to ensure that code related to that flaw is exercised; IIRC testnet > currently does not have any. No strong feelings here. If people want this, we could pick a height and have a short free-for-all duplicate transaction mining period before then. However, it would be annoying if we later propose a permanent BIP30 fix, and it turns out it only works on mainnet and not on testnet. Though I suppose we could just reset it again. > At the very least, if we do a testnet reset we should > consider re-adding all those weird edge cases to the new testnet. For consensus valid transactions that can be done later by anyone. For things that past soft forks made invalid, someone would have to make plan for when to activate them, plus a script to produce some interesting test vectors before activation. The first Bitcoin Core release with testnet4 will probably be v28 in October, so there's some time to do this. Note that some soft forks are treated as always active and are not even set in chainparams.cpp - we might want to do that again for other soft forks that are sufficiently old. It would be annoying if testnet gets in the way of that, but see above. - Sjors -- 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/B72E693A-4050-4AE8-B8FE-8986760BD9C3%40sprovoost.nl.