hived-rpc-scanner: A tool to check the status of Hive RPC nodes by testing certain endpoints.

in HiveDevs3 years ago (edited)

Repository:
https://github.com/emre/hived-rpc-scanner

hived_rpc_scanner is a CLI tool to check the status of Hive RPC nodes by testing certain endpoints.

Installation

Requires Python3.6+.

$ (sudo) pip install hived_rpc_scanner

alternatively, with Virtualenv:

cd /tmp
python3.6 -m venv hived-rpc-scanner-env
source hived-rpc-scanner-env/bin/activate
pip install hived-rpc-scanner
hived_rpc_scanner

Usage

$ hived_rpc_scanner --nodes <node_url_1> <node_url_2> <...>

Notes

  • The listed endpoints are a subset of available endpoints. There is still a possibility that some of the endpoints in the tested API host may not work, while this tool shows everything in green.

  • There are certain sanity checks applied for each endpoint. E.g: Structure of the response, element counts, element types. You can see the whole validator set here.

  • If you're an app developer and some of your favorite endpoints are not listed here, let me know so I can add them to the test list.

Enjoy.

Vote for my witness


If you want to support my work, consider casting a vote on Hivesigner or on PeakD.

Sort:  

Also checkout someguy123 scanner.
https://github.com/Someguy123/steem-rpc-scanner

Note: hived.emre.sh performs better compared to api.hive.blog in the screenshot, in terms of the response times.

This is because there is a location bias there since the distance between my home and my API node is much less than compared to the distance between my home and api.hive.blog.

peakd benchmark tool gives a better idea about which RPC node is faster for you.