BTC SyncMonitor is a Bash script that allows you to monitor the synchronization status of the Bitcoin blockchain by comparing the current block height with the block height of your local Bitcoin node.
- Displays the current block height of the Bitcoin blockchain
- Retrieves the block height of the last synced block from your local Bitcoin node
- Calculates the days difference between the current blockchain height and the local synced block height
- Displays the synced block date based on an average of 10 minutes per block
- Provides an interface with colored text for easy readability
- curl
- bitcoin-cli (Bitcoin Core command-line interface)
- Clone the repository or download the
monitor.sh
script to your local machine. - Make sure the script has executable permissions. If not, you can set the permissions using
chmod +x monitor.sh
. - Run the script by executing
./monitor.sh
in your terminal. - The script will display the current block height, the synced block date, and the days difference between the synced block and the current date.
This script is released under the MIT License.
BTC SyncMonitor is provided for informational and educational purposes only. It does not provide financial or investment advice, and you should use it at your own risk. Always do your own research and seek professional advice before making any investment decisions related to cryptocurrencies.
Contributions to BTC SyncMonitor are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.