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


English Edition

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

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

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

指定当前命令执行的steem网络:beempy -n 'https://api.steemit.com'
设置默认 steem 节点: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"]'
节点速度排序:beempy pingnode --sort
我这里的测试结果:

| 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              |

查看当前节点: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 |

切换为下一个节点:beempy nextnode
再次查看当前节点: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 |

本帖同步首发:

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


Comments 0