create account

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

View this thread on: hive.blogpeakd.comecency.com
· @emrebeyler · (edited)
$32.20
hived-rpc-scanner: A tool to check the status of Hive RPC nodes by testing certain endpoints.
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.

<center><img src="https://i.imgur.com/0NWDpWz.png"></center>

# 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](https://github.com/emre/hived-rpc-scanner/blob/main/hived_rpc_scanner/validators.py).

- 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](https://hivesigner.com.com/sign/account-witness-vote?witness=emrebeyler&approve=1) or on [PeakD](https://peakd.com/witnesses).
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 283 others
properties (23)
authoremrebeyler
permlinkintroducing-hived-rpc-scanner-a-cli-tool-to-check-the-status-of-hive-rpc-nodes-by-testing-certain-endpoints
categoryhive-139531
json_metadata{"app":"peakd/2021.01.3","format":"markdown","tags":["hived","hived-rpc-scanner"],"links":["https://github.com/emre/hived-rpc-scanner","https://github.com/emre/hived-rpc-scanner/blob/main/hived_rpc_scanner/validators.py","https://hivesigner.com.com/sign/account-witness-vote?witness=emrebeyler&amp;approve=1","/witnesses"],"image":["https://i.imgur.com/0NWDpWz.png"],"users":[]}
created2021-01-27 21:20:09
last_update2021-01-27 23:55:21
depth0
children2
last_payout2021-02-03 21:20:09
cashout_time1969-12-31 23:59:59
total_payout_value17.624 HBD
curator_payout_value14.572 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,393
author_reputation448,535,049,068,622
root_title"hived-rpc-scanner: A tool to check the status of Hive RPC nodes by testing certain endpoints."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,586,764
net_rshares138,757,608,770,402
author_curate_reward""
vote details (347)
@emrebeyler · (edited)
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](https://beta.peakd.com/me/tools/benchmark) gives a better idea about which RPC node is faster for you.
👍  
properties (23)
authoremrebeyler
permlinkqnm4kg
categoryhive-139531
json_metadata{"app":"hiveblog/0.1","links":["https://beta.peakd.com/me/tools/benchmark"]}
created2021-01-27 21:48:18
last_update2021-01-27 21:51:33
depth1
children0
last_payout2021-02-03 21:48:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length422
author_reputation448,535,049,068,622
root_title"hived-rpc-scanner: A tool to check the status of Hive RPC nodes by testing certain endpoints."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,587,079
net_rshares46,544,870,507
author_curate_reward""
vote details (1)
@themarkymark ·
$0.38
Also checkout someguy123 scanner. 
https://github.com/Someguy123/steem-rpc-scanner
👍  ,
properties (23)
authorthemarkymark
permlinkre-emrebeyler-qnm7yw
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.01.3"}
created2021-01-27 23:01:45
last_update2021-01-27 23:01:45
depth1
children0
last_payout2021-02-03 23:01:45
cashout_time1969-12-31 23:59:59
total_payout_value0.274 HBD
curator_payout_value0.109 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation1,774,203,102,043,512
root_title"hived-rpc-scanner: A tool to check the status of Hive RPC nodes by testing certain endpoints."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,587,968
net_rshares3,275,354,577,742
author_curate_reward""
vote details (2)