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

block: Cache PoW hashs #168

Merged
merged 2 commits into from
Sep 20, 2022
Merged

block: Cache PoW hashs #168

merged 2 commits into from
Sep 20, 2022

Conversation

alamshafil
Copy link
Contributor

@alamshafil alamshafil commented Sep 12, 2022

This the replacement PR for #128.

This PR creates a powcache.dat file in the datadir.

@alamshafil alamshafil added enhancement New feature or request do not merge yet Do not merge PR test QA testing system labels Sep 12, 2022
@alamshafil alamshafil added this to the v4.1.0 milestone Sep 12, 2022
@alamshafil alamshafil linked an issue Sep 12, 2022 that may be closed by this pull request
@alamshafil alamshafil mentioned this pull request Sep 12, 2022
23 tasks
@alamshafil
Copy link
Contributor Author

Tested and working on mainnet.

Full resync and reindex needs to be tested before merging.

Without PR: 526.5 seconds / 8 minutes
With PR: 30.61 seconds

~ 94.1861% speed up in wallet loading time.

@alamshafil alamshafil force-pushed the 4.1-pow-dat-cache branch 5 times, most recently from f31353f to 752dd54 Compare September 14, 2022 01:56
@alamshafil alamshafil force-pushed the 4.1-pow-dat-cache branch 3 times, most recently from a69a10c to b46a4d0 Compare September 19, 2022 20:06
@alamshafil alamshafil mentioned this pull request Sep 19, 2022
@alamshafil
Copy link
Contributor Author

Ready to merge once testing on Windows is successful.

@alamshafil alamshafil merged commit 092b86c into 4.1 Sep 20, 2022
@alamshafil alamshafil deleted the 4.1-pow-dat-cache branch September 20, 2022 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test QA testing system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache PoW hashes for Yespower (MinotaurX)
1 participant