This is a simple script / bot that compares the web3 BlockNumber of two different nodes. The bot will send an alert (discord message) if the two nodes' block numbers don't match, or if one of the nodes is catching up.
git clone https://github.com/tellor-io/block-height-monitor
cd block-height-monitor
mv .env.example .env
python3 -m venv venv
source venv/bin/activate
pip install -e .
Add your rpc and webhook urls to .env
file. Update the INTERVAL
to your desired frequency.
To begin monitoring block height
monitor