Sign up for our RSK Node update notifications. We will use your email only for the purpose of keeping your application connected to the most up to date version of the node.
Download the latest release from the Github repo.
Note that PREVIOUS
and NEW
refer to version numbers.
cd /usr/share/rsk
sudo service rsk stop
sudo mv rsk.jar rsk-PREVIOUS.jar
sudo mv rskj-core-NEW-all.jar rsk.jar
This step is optional.
sudo mkdir /var/log/rsk/PREVIOUS/
sudo mv /var/log/rsk/rsk* /var/log/rsk/PREVIOUS/
sudo service rsk start
Check logs:
tail -f /var/log/rsk/rsk.log
Check that Blockchain is moving forward, and adding blocks:
curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber", "params": {}, "id":123}' http://127.0.0.1:4444 | jq .result | tr -d '"' | awk '{print "printf \"%d\\n\" "$0}' | sh
If you run this command a few times and the block number is increasing, it means it is syncing correctly too.
Go to top