dappcoder avatar

Update the default steem node of the python tool beem for steem network

dappcoder

Published: 29 Mar 2020 › Updated: 29 Mar 2020Update the default steem node of the python tool beem for steem network

Update the default steem node of the python tool beem for steem network

中文版

The services of hive are gradually restored, the progress of steem is a little behind, and the nodes of the two networks are a little confused.

If you use the python tool beem, it's easy to cross between two networks.

To avoid crossing between two networks, you can manually set the default node:

指定当前命令执行的steem网络
Specifies the steem network for the current command :beempy -n 'https://api.steemit.com'
Set default steem node:beempy -n 'https://api.steemit.com' set nodes '["https://api.justyy.com","https://api.steemit.com","https://steemd.minnowsupportproject.org","https://api.steemitdev.com","https://s2.61bts.com","https://steem.61bts.com","https://steemd.privex.io","https://steem.bts.tw"]'
steem node speed sorting:beempy pingnode --sort
My result:

| Node                                    | Answer time [ms] |
| https://api.steemit.com                 | 326.88           |
| https://steemd.minnowsupportproject.org | 385.59           |
| https://steemd.privex.io                | 504.84           |
| https://api.justyy.com                  | 626.28           |
| https://steem.bts.tw                    | 1080.04          |
| https://s2.61bts.com                    | 1091.54          |
| https://api.steemitdev.com              | 1101.13          |
| https://steem.61bts.com                 | inf              |

View current config:beempy config

| Key      | Value                                                       |
| nodes    | [                                                           |
|          |     "https://api.steemit.com",                              |
|          |     "https://steemd.minnowsupportproject.org",              |
|          |     "https://steemd.privex.io",                             |
|          |     "https://api.justyy.com",                               |
|          |     "https://steem.bts.tw",                                 |
|          |     "https://s2.61bts.com",                                 |
|          |     "https://api.steemitdev.com",                           |
|          |     "https://steem.61bts.com"                               |
|          | ]                                                           |
| data_dir | /home/dappcoder/beem |

Change to next node:beempy nextnode
View current config for current node:beempy config

| Key      | Value                                                       |
| nodes    | [                                                           |
|          |     "https://steemd.minnowsupportproject.org",              |
|          |     "https://steemd.privex.io",                             |
|          |     "https://api.justyy.com",                               |
|          |     "https://steem.bts.tw",                                 |
|          |     "https://s2.61bts.com",                                 |
|          |     "https://api.steemitdev.com",                           |
|          |     "https://steem.61bts.com",                              |
|          |     "https://api.steemit.com"                               |
|          | ]                                                           |
| data_dir | /home/dappcoder/beem |

Post on both Steem/Hive:

steem Update the default steem node of the python tool beem for steem network
hive: Update the default steem node of the python tool beem for steem network

Leave Update the default steem node of the python tool beem for steem network to:

Written by

Read more #hive-105017 posts


Best Posts From dappcoder

We have not curated any of dappcoder's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From dappcoder