更新steem 的python工具 beem 的 默认steem节点 为 hive 节点

Words
181
Reading
1 min
Listen
Play
6y

hive各项服务逐步恢复,steem进度有点落后,两个网络的节点有点混乱。

如果使用python工具 beem的话,很容易在两个网络之间串行。

为避免串网,可以手工设定默认节点 为 hive 节点。

指定当前命令执行的 hive 网络:beempy -n 'https://api.hive.blog'
设置默认 hive 节点:beempy -n 'https://api.hive.blog' set nodes '["https://rpc.esteem.app","https://anyx.io","https://hived.techcoderx.com","https://api.hive.blog","https://api.hivekings.com","https://api.openhive.network"]'

节点速度排序:beempy pingnode --sort
我这里的测试结果:

| Node                                    | Answer time [ms] |
| https://api.hive.blog                     | 316.88        |
| https://rpc.esteem.app                    | 325.59        |
| https://anyx.io                           | 524.84        |
| https://hived.techcoderx.com              | 628.28        |
| https://api.hivekings.com                 | 850.04        |
| https://api.openhive.network              | 971.54        |

查看当前节点:beempy config

| Key      | Value                                          |
| nodes    | [                                              |
|          |     "https://api.hive.blog",                   |
|          |     "https://rpc.esteem.app",                  |
|          |     "https://anyx.io",                         |
|          |     "https://hived.techcoderx.com",            |
|          |     "https://api.hivekings.com",               |
|          |     "https://api.openhive.network"             |
|          | ]                                              |
| data_dir | /home/dappcoder/beem                           |

切换为下一个节点:beempy nextnode
再次查看当前节点:beempy config

| Key      | Value                                          |
| nodes    | [                                              |
|          |     "https://rpc.esteem.app",                  |
|          |     "https://anyx.io",                         |
|          |     "https://hived.techcoderx.com",            |
|          |     "https://api.hivekings.com",               |
|          |     "https://api.openhive.network"             |
|          | ]                                              |
| data_dir | /home/dappcoder/beem                           |

本帖同步首发:

steem 更新steem 的python工具 beem 的 默认steem节点 为 hive 节点
hive: 更新steem 的python工具 beem 的 默认steem节点 为 hive 节点

更新steem 的python工具 beem 的 默认steem节点 为 hive 节点 | Ecency