πŸ“¬Updates

After update you can check prevotes/precommits status

FOLDER=.ojo

# find out RPC port
echo -e "\033[0;32m$(grep -A 3 "\[rpc\]" ~/$FOLDER/config/config.toml | egrep -o ":[0-9]+")\033[0m"

PORT=<enter_your_port>

curl -s localhost:$PORT/consensus_state | jq '.result.round_state.height_vote_set[0].prevotes_bit_array' && \
curl -s localhost:$PORT/consensus_state | jq '.result.round_state.height_vote_set[0].precommits_bit_array'

UPD πŸ•Š on (Update Height: )

cd $HOME/ojo
git pull
git checkout
make build
$HOME/ojo/build/ojod version --long | grep -e version -e commit
# 
# commit: 

# AFTER THE NETWORK IS STOPPED ON THE REQUIRED BLOCK!!!
systemctl stop ojod
mv $HOME/ojo/build/ojod $(which ojod)
ojod version --long | grep -e version -e commit
# 

systemctl restart ojod && journalctl -u ojod -f -o cat

Last updated