Created
September 3, 2022 17:42
-
-
Save haferman/a9d9e67304f7b8fe0955dd6e36e9fb6b to your computer and use it in GitHub Desktop.
near challenge 13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/.near | |
curl ifconfig.me; echo | |
ls | |
grep public node_key.json validator_key.json | |
sudo grep validators /var/log/syslog | tail -2 | ccze -A | |
on main: sudo systemctl stop neard | |
on backup: cp node_key.json.main node_key.json; cp validator_key.json.main validator_key.json | |
sudo systemctl restart neard | |
sudo grep validators /var/log/syslog | tail -2 | ccze -A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment