Check logs
sudo journalctl -u bitcanna -f -o cat
Start service
sudo systemctl start bitcanna
Stop service
sudo systemctl stop bitcanna
Restart service
sudo systemctl restart bitcanna
Check service status
sudo systemctl status bitcanna
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable bitcanna
Disable Service
sudo systemctl disable bitcanna
Sync info
bcnad status 2>&1 | jq .SyncInfo
Node info
bcnad status 2>&1 | jq .NodeInfo
Latest Block Info
curl -s localhost:13057/status | jq .result.sync_info.latest_block_height
Your node peer
echo $(bcnad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.bcna/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Last updated 6 months ago