Maintenance

GET VALIDATOR INFO

sided status 2>&1 | jq .ValidatorInfo

GET SYNC INFO

sided status 2>&1 | jq .SyncInfo

GET NODE PEER

echo $(sided tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.side/config/config.toml \
| sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

CHECK IF VALIDATOR KEY IS CORRECT

[[ $(sided q staking validator $(sided keys show wallet --bech val -a) -oj \
| jq -r .consensus_pubkey.key) = $(sided status | jq -r .ValidatorInfo.PubKey.value) ]] \
&& echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"

GET LIVE PEERS

curl -sS http://localhost:46657/net_info \
| jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' \
| awk -F ':' '{print $1":"$(NF)}'

SET MINIMUM GAS PRICE

Copy

sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0uside\"/" $HOME/.side/config/app.toml

ENABLE PROMETHEUS

RESET CHAIN DATA - !!!BE CAREFUL HERE!!!

REMOVE NODE

Please, before proceeding with the next step! All chain data will be lost! Make sure you have backed up your priv_validator_key.json!

Last updated