-
Notifications
You must be signed in to change notification settings - Fork 267
How to make your running node synchronize the blockchain from scratch
Adrián Eidelman edited this page May 4, 2018
·
4 revisions
You can follow two different approaches to make your node start a blockchain synchronization from scratch:
To reset your node by configuration you need to:
-
Stop your node
sudo service rskj stop
-
In your configuration file, change 'reset' parameter to true:
reset = true
-
Start your node again
sudo service rskj start
Note: If you don't want database to be reset again after a new restart, set parameter to false
again.
To reset your node's database manually you need to:
-
Stop your node
sudo service rskj stop
-
Go to your database path as specified in your configuration file (e.g.:
/var/lib/rsk/database
) and remove filessudo rm -rf /var/lib/rsk/database/
-
Start your node again
sudo service rskj start