-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testnet difficulty calculation changes, to take effect Mar 15 2014 #53
Conversation
How to test this prior to 3/15? If I build this and fire up -testnet, will it just find new nodes with the right version and carry on? |
I've pulled this changeset into my local branch and rebuilt namecoin-qt to version 0.3.73. I deleted \users\userid\appdata\namecoin* to force a fresh start. Running namecoin-qt -testnet on two machines seems to connect to IRC and find peers ok, but the network sync gets stuck at block 2039 on both test machines. Is this expected? |
No, this isn't expected, how many connections do you have ? Try adding : -addnode=94.23.252.190 |
I deleted the testnet blockchain and restarted with your -addnode. Saw 6 peers very quickly, whereas I was only seeing 2 before. Blocks received raced up to 2015 within a few minutes, then goes quiet. Shut down namecoin, restart, no change - 2015 blocks, 7 connections. |
This looks suspicious, from the debug.log file:
Those ERROR lines about incorrect proof of work... and then a bunch of orphan blocks reported afterwards... is this a fork in the blockchain? |
Any ideas on this? None of my namecoin instances is successfully sync'ing the blockchain on testnet. Syncing on regular blockchain works fine. |
Thank you for the report dthorpe. Can you try a "git revert 98d070614bc492ae767112e1c61d368f0abc2440" and restart namecoind ? |
Allow mining of min-difficulty blocks if 20 minutes have gone by without mining a regular-difficulty block. Normal rules apply every 2016 blocks, though, so there may be a very-slow-to-confirm block at the difficulty-adjustment blocks.
I've tested with "git revert 98d0706" and the blockchain has been downloaded until last block. |
Testnet difficulty calculation changes, to take effect Mar 15 2014
Yes, reverting 98d0706 fixed the testnet sync issue for me. Thanks! |
No description provided.