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

in chinese4 years ago (edited)

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

Sort:  

Copying and pasting previous posts or significant parts there of could be seen as spam when:

Reposting the same content without additional original content or significant changes
Reposting content within the same payout window
Spam is discouraged by the community and may result in the account being Blacklisted.

Please refrain from copying and pasting previous posts going forward. If you believe this comment is in error, please contact us in

Source
Copying and pasting previous posts or significant parts there of could be seen as spam when:

  • Reposting the same content without additional original content or significant changes
  • Reposting content within the same payout window

Spam is discouraged by the community and may result in the account being Blacklisted.

Please refrain from copying and pasting previous posts going forward. If you believe this comment is in error, please contact us in #disputes on Discord

where is the URL ?: https://hive.blog/hive-105017/@dappcoder/steem-p

屏幕快照 2020-04-02 下午4.02.02.png

maybe is wrong in post ,and have delete it?
@hivewatchers @steemcleaners

we cant use discord

if you mean the URL is :https://hive.blog/hive-143316/@dappcoder/steem-python-beem-20200329-cn

Sorry! That's my mistake!
Because it's not convenient to visit steem / hive app or network after hive hardfork.

So I use the command line of beempy tool to publish this post as HIVE Edition , But I post with the markdown file of STEEM Edition by mistake.

@hivewatchers @steemcleaners

I have fixed with my HIVE Edistion markdown file.