New -testnet genesis block, and difficulty adjustment rules.
Testnet difficulty #53
pull gavinandresen wants to merge 3 commits into bitcoin:master from gavinandresen:testnet_difficulty changing 2 files +21 −7-
gavinandresen commented at 2:26 PM on January 31, 2011: contributor
-
Testnet: new genesis block and difficulty adjustment rules c47eb4e48d
-
Detect genesis block change if run against old blk*.dat ad0523dd80
-
gavinandresen commented at 11:49 PM on January 31, 2011: contributor
Did I get the difficulty adjustment backwards? D'oh!
-
Thanks dooglus for pointing out I got the difficulty adjustment exactly backwards e948fa446e
-
gavinandresen commented at 11:55 PM on January 31, 2011: contributor
Why 21 hours: it is exactly 1/16th the 2 weeks/2016 blocks of the main chain, and is more than 120 blocks (seemed like a good idea to allow blocks to mature and get spent before difficulty adjusts).
-
dooglus commented at 4:40 AM on February 2, 2011: contributor
I think I prefer exactly 1/14th the 2 weeks. Make it 24h, then we're aiming to change difficulty at the same time each day, and can see whether the actual change times drift forward of backward on the clock.
Unless there's a good reason not to? 24 hours is 144 blocks.
-
gavinandresen commented at 3:48 PM on February 3, 2011: contributor
There's no consensus on changing the difficulty rules, so I'm closing this and will pull davouts just-change-the-genesis-block patch.
- FuzzyBearBTC referenced this in commit 387bdb68e5 on Mar 30, 2014
- kac- referenced this in commit 842a3cd653 on Apr 22, 2014
- kac- referenced this in commit 742e0fe016 on Jun 10, 2014
- kac- referenced this in commit 6219e88a11 on Sep 28, 2014
- rdponticelli referenced this in commit 87c782f632 on Nov 26, 2014
- destenson referenced this in commit b3383df006 on Jun 26, 2016
- ptschip referenced this in commit 7ffebc8a73 on Jul 24, 2016
- ckeyer referenced this in commit d3aef61969 on Dec 2, 2017
- ckeyer referenced this in commit 6d187edcd2 on Dec 2, 2017
- ckeyer referenced this in commit b885205701 on Dec 2, 2017
- ckeyer referenced this in commit 4068961cb9 on Dec 2, 2017
- ckeyer referenced this in commit a8f99b5080 on Dec 2, 2017
- classesjack referenced this in commit aae3eaef21 on Jan 2, 2018
- CryptAxe referenced this in commit fb40a9f871 on Mar 11, 2018
- CryptAxe referenced this in commit a2b7c6347d on Mar 11, 2018
- effectsToCause referenced this in commit 82cf05add7 on Jun 22, 2018
- velesnetwork referenced this in commit 226d96ae1d on Feb 4, 2020
- rajarshimaitra referenced this in commit 220fbd217a on Aug 5, 2021
- DrahtBot locked this on Sep 8, 2021