Author

Topic: Testnet reset question (Read 926 times)

newbie
Activity: 11
Merit: 0
December 01, 2015, 04:41:00 AM
#4
It's a new experience. I have no knowledge about testnet coins. Thankful to you for sharing your feedback about testnet coins.
legendary
Activity: 1512
Merit: 1057
SpacePirate.io
November 24, 2015, 04:18:31 PM
#3
Thanks, I also see a notation at line 2776 "// Reject block.nVersion=3 blocks when 95% (75% on testnet) of the network has upgraded:"
That answers my consensus question as well. Yeah, I recently read about testnet in a box. I don't think I need that level of abstraction yet, but it's an interesting option.
sr. member
Activity: 412
Merit: 287
November 24, 2015, 12:20:10 PM
#2
The new chain is created by adding a new genesis block to the chains parameters. No blocks from the old one will appear here, it's a fresh start. It doesn't stop people from using the old chain if they have code that supports it, but if you upgrade, you'd get the new chain.

See main.cpp - line 1933.

There's a testnet in a box kit you can deploy, if you're interested!
legendary
Activity: 1512
Merit: 1057
SpacePirate.io
November 24, 2015, 10:44:29 AM
#1
In the past, I've read that the testnet blockchain has been reset with a new genesis block. I think there's been 2 resets, as testnet2 and testnet3 in the past several years.  Technically, how is testnet reset?  Is it done by changing the hashGenesisBlock in main.cpp or ? Also, who decides to reset testnet, is that Gavin or is there sort of like a quorum of consensus that testnet needs to be reset when a new development cycle takes place?

Where testnet3 was created (I think):
https://github.com/bitcoin/bitcoin/commit/feeb761ba07af74a7cd78b8c8f7c2a961fd9ea1c

Currently I use testnet coins to test the game i'm developing. I don't care if I lose them since they have no value, but it got me wondering about testnet blockchain mangement. Smiley

Jump to: