A terminal-based tool for monitoring connected peers on a local Bitcoin Core node.
It queries bitcoin-cli getpeerinfo every 15 seconds and displays a formatted table
with peer data including connection time, services, version, traffic stats, and ping.
- Live display of connected Bitcoin node peers
- Highlights peers missing
NODE_NETWORKcapability - Uses
richfor colorful terminal tables - Refreshes automatically every 15 seconds
- Python 3.7+
rich(install via pip)bitcoin-climust be in your system'sPATHand configured to connect to your local Bitcoin Core node
- git clone https://github.com/mikeoc61/bitcoin_peer_monitor.git
- cd bitcoin_peer_monitor
- pip install rich
Make sure your Bitcoin Core node is running and bitcoin-cli is accessible. Then run:
- python peers_monitor.py
Use Ctrl+C to exit.
This project is licensed under the MIT License. See LICENSE for details.
[Michael OConnor]
Feel free to contribute or open issues!