Skip to content
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

App hangs at loading #4

Open
iretrala opened this issue Jun 24, 2017 · 3 comments
Open

App hangs at loading #4

iretrala opened this issue Jun 24, 2017 · 3 comments

Comments

@iretrala
Copy link

iretrala commented Jun 24, 2017

The app just seems to hang there and load forever. I have repeatedly waited for over an hour each time and still it just hangs. I recall this was an issue a while back but I can not recall on how to fix it.

Scratch that. It finally loaded. It only took about 27 minutes to do so on this try. What would be the cause for this?

@SharkyRawr
Copy link
Member

Strange, it shouldn't take that long to open. It takes maybe 30-60 seconds tops on my workstation (SSD).

Maybe your HDD was occupied with something else? Does it happen all the time? Could you check the %APPDATA%\Nyancoin\debug.log file next time it happens?

@iretrala
Copy link
Author

Agreed. This has not happened to me in years.

Yes, I will check it the next time this occurs.

@SharkyRawr
Copy link
Member

SharkyRawr commented Jun 24, 2017

I actually do experience this too, I didn't think of it before. The nyancoind node I run for the nyanchain actually takes 17-20 minute to boot up and all it's doing is: Loading block index...

Found something relevant via StackExchange:

Most of the time is spent validating the database to ensure the client has a sensible view of the hash chain.

It is "fast verified" up to the most recent checkpoint and then "slow verified" to the current block. Fast verification entails checking only that the header is valid. Slow verification is a much more complete verification that can only be done at about 20 blocks per second on hardware like yours. (Upgrading the client will help, since newer version of the client will have more recent checkpoints.)

So the solution might be for me to add more checkpoints, I'll look in to it.

Edit: the latest checkpoint I added is at block 1.000.000 and we are well in the 1.700.000's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants