-
Notifications
You must be signed in to change notification settings - Fork 62
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
Blockchain sync stucked on new 0.9.2 client #44
Comments
It looks like running |
It's probably known by now but for the benefit of this thread, the culprit checkpoint seems to be identified by running "getcheckpoint", which outputs: {
"synccheckpoint" : "0000000000024968ac0715949d997bf3781ca91e3b5d601c744f751c9df2053f",
"height" : 580073,
"timestamp" : 1409322929,
"subscribemode" : "advisory"
} Timestamp translates to block # 580073 on Fri, 29 Aug 2014 14:35:29 GMT |
Confirmed The wallet is stuck syncing at 585557 Debug log: |
I believe the issue is caused by the checkpointing node having been set to a depth of 0 and creating a checkpoint on a fork that was later reorganised by the main chain. Please see http://maxcoinnews.net/maxcoin-0-9-2-checkpointing-troubleshooting/ |
enforcecheckpoint false RPC command added |
@repsorp if you run |
subscribe attribute's value is advisory and wallet's syncing now Big thanks Le 01/09/2014 14:27, krakerjaak a écrit :
|
Closing the issue as this seems to have been confirmed as the root cause by @lukem512. I'm a little worried of the effects of many (if not most) people disabling checkpoint enforcing on their wallet... will they re-enable it after the fork at block 600,000? if they don't, what's the longer term consequences? |
There is currently no way to stop checkpoint at 580073 from being broadcasted, so enabling the enforcing is just not an option. |
As far as I understand it, as soon as another, more recent, checkpoint is accepted by the network and broadcasted on the right blockchain it should come back to "normal". The checkpointing code seems to only validate that the last checkpoint is valid and descendant of the genesis block. |
Nodes that have saved checkpoint 580073 will still retranslate it, so those syncing anew will still get stuck there. Looks like only key change will invalidate it. |
That's what I'm investigating reorder, thanks for your input |
I have updated the checkpoint key and added an RPC call to reset the checkpoint. I'll have to release another version. In the mean time, disabling checkpoints is the way to proceed. |
Hey Luke, some of us on maxchat.info seem to have a problem with the new client... our client stopped syncing the blockchain a few hours ago and it looks stuck...
In my debug.log, I see all blocks seen being recognized as orphaned (see below). And the wallet is stuck syncing at block 585,613, says "Catching up..." but never actually advances.
Any idea what's happening?
Note that apparently some who also have updated to 0.9.2 are properly synced up, but many aren't...
Update 1:
Ducky1 provided this log extract from 0.9.2 wallet:
Update 2:
When I run
getmininginfo
in the debug window, I get the following output:The text was updated successfully, but these errors were encountered: