-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to tell a dashd
daemon to reindex
without updating the config file?
#5485
Comments
To reindex the dashd, ie the command As a sysadmin, I am not interested in having the wallet to automatically fall into a reindex routine willy nilly, I am quite happy to issue it as required, firstly, the process is extremely lengthy, often times when I have a corrupted dashcore folder, I will simply replace it with a known good version and restart, this gets me up and running in no time at all. Let's keep the user in the driver's seat and not add to the frustration of sysadmins whose job it is to keep this network running. 🙏 |
-reindex
is not a config option - putting it in the config will cause a reindex to occur every time the service is restarted, which is not desirable.Ideally
dashd
should know to reindex automatically when versions change.I'm assuming I can also just delete some files and that should cause it to reindex? What files are those?
It would also be nice if we had an RPC command that would cause a reindex.
How can I reindex without manually stopping the daemon and system launcher, running it manually, waiting for it to finish, and then manually reenabling the system launcher for the daemon?
The text was updated successfully, but these errors were encountered: