create account

hived-rpc-scanner update: v0.0.9 by emrebeyler

View this thread on: hive.blogpeakd.comecency.com
· @emrebeyler · (edited)
$12.73
hived-rpc-scanner update: v0.0.9
`hived_rpc_scanner` is a CLI tool to check the status of Hive RPC nodes by testing certain endpoints.

![Screenshot 2021-02-04 at 12.27.43.png](https://images.hive.blog/DQmWbAfteb2n2zrVV4HJySVmGxXUrmjDnkNSvtcyQWvDhRS/Screenshot%202021-02-04%20at%2012.27.43.png)
***


![hived_rpc_scanner.gif](https://images.hive.blog/DQmTvVNmWoGUjdvd4kWbwa8mcTpafvjtaK5BbfMG51Svi7m/hived_rpc_scanner.gif)

# 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
```
***
if you already have an old version, try upgrading with `pip install hived_rpc_scanner --upgrade`.

# Usage

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

# Upgrade notes

- Extended tags_api coverage. Found an issue at [Hivemind](https://gitlab.syncad.com/hive/hivemind/-/merge_requests/469) while doing that.
- Added coverage for `account_history_api`, `bridge_api` methods.
- Added progress bar.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 188 others
properties (23)
authoremrebeyler
permlinkhived-rpc-scanner-update-v0-0-9
categorypython
json_metadata{"image":["https://images.hive.blog/DQmWbAfteb2n2zrVV4HJySVmGxXUrmjDnkNSvtcyQWvDhRS/Screenshot%202021-02-04%20at%2012.27.43.png","https://images.hive.blog/DQmTvVNmWoGUjdvd4kWbwa8mcTpafvjtaK5BbfMG51Svi7m/hived_rpc_scanner.gif"],"links":["https://gitlab.syncad.com/hive/hivemind/-/merge_requests/469"],"app":"hiveblog/0.1","format":"markdown"}
created2021-02-04 11:26:45
last_update2021-02-04 11:28:18
depth0
children2
last_payout2021-02-11 11:26:45
cashout_time1969-12-31 23:59:59
total_payout_value7.498 HBD
curator_payout_value5.230 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,082
author_reputation448,528,959,341,273
root_title"hived-rpc-scanner update: v0.0.9"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,708,833
net_rshares45,636,705,037,687
author_curate_reward""
vote details (252)
@cmplxty ·
Cool stuff! I like that it’s in Python, the one that I actually use lol. I’ll see if I can get this to run!
properties (22)
authorcmplxty
permlinkre-emrebeyler-qo070x
categorypython
json_metadata{"tags":["python"],"app":"peakd/2021.01.3"}
created2021-02-04 12:07:45
last_update2021-02-04 12:07:45
depth1
children0
last_payout2021-02-11 12:07:45
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_length107
author_reputation771,298,875,739,685
root_title"hived-rpc-scanner update: v0.0.9"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,709,273
net_rshares0
@emrebeyler ·
Enjoy!

This is mostly useful for node operators,  but also useful for end users to see which node is the fastest for them. Here is a command to see all nodes' performances.

```
hived_rpc_scanner --nodes https://api.hive.blog https://hived.emre.sh https://api.pharesim.me https://api.deathwing.me https://api.openhive.network https://hive.roelandp.nl https://anyx.io https://hive-api.arcange.eu https://rpc.ausbit.dev https://hived.privex.io https://api.hivekings.com
```
properties (22)
authoremrebeyler
permlinkqo0d6v
categorypython
json_metadata{"app":"hiveblog/0.1"}
created2021-02-04 14:20:54
last_update2021-02-04 14:20:54
depth1
children0
last_payout2021-02-11 14:20:54
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_length472
author_reputation448,528,959,341,273
root_title"hived-rpc-scanner update: v0.0.9"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,710,897
net_rshares0