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

[TODO] Wallet startup taking too long (Review). #969

Closed
furszy opened this issue Jul 30, 2019 · 9 comments
Closed

[TODO] Wallet startup taking too long (Review). #969

furszy opened this issue Jul 30, 2019 · 9 comments

Comments

@furszy
Copy link

furszy commented Jul 30, 2019

This issue tracker is only for tracking purpose and surely will encompass several commits in different areas of our product.

Basically, the startup is taking too long. Needs a full code review, cleanup and possibly work parallelization.

@borris345
Copy link

This one is definitely needed. If you have alot of transactions and use a really old backup it takes forever

@akshaynexus
Copy link

can a debug log be provided to understand the cause of this slow startup?or maybe a way to reproduce this issue

@borris345
Copy link

It's the rescan. Haven't got a wallet you can use to reproduce it.

@CaveSpectre11
Copy link

For a basic wallet; it looks like about 75% of the startup is grinding through LoadBlockIndexGuts()

@borris345
Copy link

Anything been looked into?

@akshaynexus
Copy link

I'll be looking into it this week once I have some free time, looks like the problem is more noticeable when loading a new wallet with the HD addition I have, compared to the normal wallet creation.

@furszy
Copy link
Author

furszy commented Sep 14, 2019

#1012 will improve this. Still lot of work to do in many areas, not one final solution.

@furszy
Copy link
Author

furszy commented Sep 29, 2019

Have started a new project to organize the work (review, refactor, cleanup and improvements) of the whole initialization process. https://github.com/PIVX-Project/PIVX/projects/27 .
Started moving there with #1029.

I will be organizing all of the efforts in the area. If anyone want to be part of it, please create an issue of the problem that want to solve (independently if can solve it or not) and/or the back port that want to do and will add it to the kanban board. Be technical and specific on the description.

More hands are more than welcome, meanwhile will continue advancing alone on the area.

@furszy
Copy link
Author

furszy commented Mar 14, 2021

Closing, after all of the past year improvements + 2209 this is not a problem anymore.

@furszy furszy closed this as completed Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants