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.

How to update

1. Download rskj

Download the latest release from the Github repo.

2. Update jar file

cd /usr/share/rsk
sudo service rsk stop
sudo mv rsk.jar rsk-PREVIOUS.jar
sudo mv rskj-core-NEW-all.jar rsk.jar

3. Clean up log dir (OPTIONAL)

sudo mkdir /var/log/rsk/PREVOUS/
sudo mv /var/log/rsk/rsk* /var/log/rsk/PREVOUS/
sudo service rsk start

4. Validate service is running normally

Check logs:

tail -f /varlog/rsk/rsk.log

Blockchain is moving forward adding blocks:

curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber", "params": {},  "id":123}' | 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 means it’s syncing correctly too.