BitShares Forum

Main => Technical Support => Topic started by: zhe.se on March 29, 2015, 05:51:28 pm

Title: Block sync stuck at 2074788 on Mac wallet
Post by: zhe.se on March 29, 2015, 05:51:28 pm
Hi!

My block sync seems to be stuck. I tried remove the index and resync, but it always stops at 2074788: "Catching up....2074788 out of 21275xx blocks" (the total blocks number still changes).

I also saw some messages like this in my log:
Code: [Select]
2015-03-29T17:38:43 bitshares:invoke handle_message           push_block ] block 939f556ee31b9ee71ca49323c59c25b3eb4de5a3 (number 2073881) is on a fork older than our undo history would allow us to switch to (current head block is number 2074788, undo history is 360) chain_database.cpp:1762

What can be the problem? Thanks!
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: abit on March 30, 2015, 03:14:02 pm
//Update: sorry for the wrong information I've ever posted. Corrected below.

Yes you are on a fork. Reindex doesn't work in this case.
You need to remove the chain folder and resync.
Try replace your checkpoints.json with the one in this post https://bitsharestalk.org/index.php?topic=15218.msg196858#msg196858 , then resync.
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: marcelus on April 02, 2015, 01:21:36 pm
Yes you are on a fork. Reindex doesn't work in this case.
You need to remove the chain folder and resync.

Try replace your checkpoints.json with the one in this post https://bitsharestalk.org/index.php?topic=15218.msg196858#msg196858 , then resync or reindex.

I did this, removed a chain server and reindexed and now I'm stuck at block 2073989. I seem to have regressed!
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: marcelus on April 02, 2015, 03:18:49 pm
Yes you are on a fork. Reindex doesn't work in this case.
You need to remove the chain folder and resync.

Try replace your checkpoints.json with the one in this post https://bitsharestalk.org/index.php?topic=15218.msg196858#msg196858 , then resync or reindex.

I did this, removed a chain server and reindexed and now I'm stuck at block 2073989. I seem to have regressed!

Fixed it. Resynced from wackou's chain server. Worked quite quickly.
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: abit on April 05, 2015, 02:31:11 pm
Yes you are on a fork. Reindex doesn't work in this case.
You need to remove the chain folder and resync.

Try replace your checkpoints.json with the one in this post https://bitsharestalk.org/index.php?topic=15218.msg196858#msg196858 , then resync or reindex.

I did this, removed a chain server and reindexed and now I'm stuck at block 2073989. I seem to have regressed!

Fixed it. Resynced from wackou's chain server. Worked quite quickly.
Glad to hear your problem get solved.
I was wrong. Re-index doesn't work indeed.
I'm sorry for that. I modified my post again.

//Edit:
Just notice that 2073989 (in your post) and 2074788 (in OP) are both before the 0.8.0 hard fork (at 2113000), so it could be other forks.
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: jms on April 07, 2015, 03:49:08 pm
Hey there, I'm having the same problem where I'm stuck at 2074788.

I'm fairly non technical and don't get how to replace the checkpoints.json file as mentioned above.  Are there instructions on how to do this somewhere? Or another solution?

Thanks for any help!
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: onceuponatime on April 07, 2015, 04:18:32 pm
Yes you are on a fork. Reindex doesn't work in this case.
You need to remove the chain folder and resync.

Try replace your checkpoints.json with the one in this post https://bitsharestalk.org/index.php?topic=15218.msg196858#msg196858 , then resync or reindex.

I did this, removed a chain server and reindexed and now I'm stuck at block 2073989. I seem to have regressed!

Fixed it. Resynced from wackou's chain server. Worked quite quickly.

Don't forget to vote for his 30% delegate:  btstools.digitalgaia
Title: Re: Block sync stuck at 2074788 on Mac wallet
Post by: abit on April 09, 2015, 03:35:11 am
Hey there, I'm having the same problem where I'm stuck at 2074788.

I'm fairly non technical and don't get how to replace the checkpoints.json file as mentioned above.  Are there instructions on how to do this somewhere? Or another solution?

Thanks for any help!
That checkpoints.json doesn't work for block 2074788 issue. It only works after block 2113000.

Try this: http://wiki.bitshares.org/index.php/BitShares/Chain-Server