A monitor bot for the Faircoin Cooperatively Validated Nodes.
Also known as Thomas, the bot.
In any of the supported Linux distros:
sudo snap install faircoin-cvn-bot --edge
FAIRCOIN_RPC_USER=${FAIRCOIN_RPC_USER} FAIRCOIN_RPC_PASSWORD=${FAIRCOIN_RPC_PASSWORD} FAIRCOIN_CVN_BOT_TELEGRAM_TOKEN=${FAIRCOIN_CVN_BOT_TELEGRAM_TOKEN} faircoin-cvn-bot &
Where ${FAIRCOIN_RPC_USER}
and ${FAIRCOIN_RPC_PASSWORD}
are the credentials
to connect through RPC to the FairCoin node, and
${FAIRCOIN_CVN_BOT_TELEGRAM_TOKEN}
is the token for the Telegram bot.
Every three minutes, the bot checks the latest block and takes note of the CVNs that didn't sign it. After 5 missing blocks in a row, it sends a notification to the CVN operators group in Telegram. If a node has been down for 12 hours, it sends a reminder. When a node is back up, it also notifies the group.
None, yet.
If you want to contribute, contact @elopio or open an issue.
GNU General Public License v3.0 or later (C) 2018 JáquerEspeis