cardano-docker/scripts/functions/status

16 lines
464 B
Plaintext
Raw Permalink Normal View History

2021-02-13 15:19:38 +00:00
function status {
source /scripts/functions/wait_for_socket
source /scripts/functions/check_kes_status
wait_for_socket
while true; do
KES_SLOTS_LEFT=$(check_kes_status)
echo "Your KES and VRF keys and node certificate has to be renewed in ${KES_SLOTS_LEFT} slots."
echo "To renew run \`generate_operational_certificate\`"
echo ""
echo "Node sync status:"
sync_status
sleep 60
done
}