SPS Validator Node: How to update to new version

in #splinterlands2 months ago (edited)

There are three kinds of updates as stated in the README file.

"block-hash-stable" updates. These are updates that you don't need to apply. They normally add additional endpoints to the validator API, or improve or fix bugs with the installation scripts.

"block-hash-breaking" updates. These are updates that you must apply before their scheduled "go-live" block. If your node is not updated before the go-live block, your node's block hash will be different, and you will not earn rewards.

"schema-breaking" updates. These are updates you must apply before their scheduled "go-live" block, but you must apply them on the block before the go-live block.

Version 1.0.1 is a block-hash-stable update.

To update node,

Inactivate your node first
https://thespsdao.github.io/SPS-Validator/validator-nodes/manage

2025-03-19-13-04-28.png



run

git fetch --tags -f && git checkout v1.0.1

You can see this message. This message is normal

2025-03-19-13-03-41.png

./run.sh stop

2025-03-20-07-36-36.png

./run.sh rebuild_service validator

To rebuild the validator with the latest updates. This will also start the validator.

2025-03-19-13-05-47.png


./run.sh rebuild_service ui

if you want to rebuild the UI.

Wait to become block to head:0

2025-03-19-13-07-34.png

Activate your node again

2025-03-19-13-08-09.png

You can see your node is running with update version!
https://thespsdao.github.io/SPS-Validator/validator-nodes/manage

2025-03-19-13-08-56.png

Sort:  

Congratulations @hanv! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 10 HP as payout for your posts, comments and curation.
Your next payout target is 50 HP.
The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP