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

Automatic powcache download #203

Open
3 tasks
CodeIsTheKey opened this issue Sep 14, 2022 · 1 comment
Open
3 tasks

Automatic powcache download #203

CodeIsTheKey opened this issue Sep 14, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@CodeIsTheKey
Copy link
Collaborator

Automatic Powcache Download

For both Smart Nodes and Clients, it would be nice if they would check for an updated powcache file and update the file if it is significantly ahead of any existing powcache data. This would simplify a quick startup for new users.

Notes

  • Store and regularly update powcache.dat files for all desired networks. Suggested naming powcache-{network}.dat. We can keep these in the same place we normally store bootstraps.
  • On program startup, check the local and remote file sizes. The powcache.dat file is roughly 128bytes/block.
  • We can easily estimate how much of a benefit the network file would be. If the benefit is sufficient, download, update, and load the new powcache file.
@CodeIsTheKey CodeIsTheKey added the enhancement New feature or request label Sep 14, 2022
@HumbleDeer
Copy link

Would a small powershell or Python script be a better temporary idea? It can check and be interactive.

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

No branches or pull requests

2 participants