Author Topic: YOYOW测试程序包下载地址及使用说明  (Read 27607 times)

0 Members and 1 Guest are viewing this topic.

Offline ben2018

  • Newbie
  • *
  • Posts: 3
    • View Profile
申请注册 公钥: YYW6H1kHPAdQ7T4ig4ngWU9PoQoBo4q1caeyAzGLoFJMd3NB49vdW
用户名:  ben2018
谢谢。
好了

谢谢 +5%

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
申请注册 公钥: YYW6H1kHPAdQ7T4ig4ngWU9PoQoBo4q1caeyAzGLoFJMd3NB49vdW
用户名:  ben2018
谢谢。
好了

Offline ben2018

  • Newbie
  • *
  • Posts: 3
    • View Profile
申请注册 公钥: YYW6H1kHPAdQ7T4ig4ngWU9PoQoBo4q1caeyAzGLoFJMd3NB49vdW
用户名:  ben2018
谢谢。

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
yoyow_node --rpc-endpoint -w 209420725 --private-key "[\"YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV\",\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"]"

运行之后
908481ms th_a       witness.cpp:87                plugin_initialize    ] witness plugin:  plugin_initialize() begin
908481ms th_a       witness.cpp:98                plugin_initialize    ] Public Key: YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV
908481ms th_a       witness.cpp:98                plugin_initialize    ] Public Key: YYW6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
908481ms th_a       witness.cpp:116               plugin_initialize    ] witness plugin:  plugin_initialize() end
908481ms th_a       object_database.cpp:94        open                 ] Opening object database from C:/yoyow-x64-20170818/yoyow_node_data_dir/blockchain ...
908512ms th_a       object_database.cpp:100       open                 ] Done opening object database.
908512ms th_a       db_management.cpp:128         open                 ] last_block->id(): 0001f5ded5b5a445d2873a0244c541f0c4505b30 last_block->block_num(): 128478
908528ms th_a       db_management.cpp:129         open                 ] head_block_id(): 0001f5ded5b5a445d2873a0244c541f0c4505b30 head_block_num(): 128478
908712ms th_a       application.cpp:211           reset_p2p_node       ] Adding seed node 54.224.246.177:2017
908728ms th_a       application.cpp:226           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:38172
908728ms th_a       application.cpp:301           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
908728ms th_a       witness.cpp:121               plugin_startup       ] witness plugin:  plugin_startup() begin
908728ms th_a       witness.cpp:126               plugin_startup       ] Launching block production for 1 witnesses.
908746ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
908749ms th_a       main.cpp:179                  main                 ] Started yoyow node on a chain with 128478 blocks.
908750ms th_a       main.cpp:180                  main                 ] Chain ID is 7ec6a131f0f5a6cc586b9d48277171143069c198348186b517b9d89c08f55eb4
909012ms th_a       witness.cpp:186               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
910012ms th_a       witness.cpp:186               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
911012ms th_a       witness.cpp:186               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)

跟着弹出一个对话框
yoyow_node.exe已停止工作
出现了一个问题,导致程序停止正常工作。如果有可用的解决方案,Windows 将关闭程序并通知你。

按钮“调试”,按钮“关闭程序”
可以尝试带--replay参数启动
yoyow_node --rpc-endpoint -w 209420725 --private-key "[\"YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV\",\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"]" --replay

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Code: [Select]
2928481ms th_a       application.cpp:573           handle_block         ] Got block: #129615 0001fa4feda3bf61184ddf510bb0d64a9f80c1d0 time: 2017-08-22T14:48:48 latency: 481 ms from: 209413652/j
eff  irreversible: 129591 (-24)
2931557ms th_a       application.cpp:573           handle_block         ] Got block: #129616 0001fa50fb4583ab5d0cf8647c6987aeb3fef269 time: 2017-08-22T14:48:51 latency: 557 ms from: 209416038/d
umdumgal  irreversible: 129592 (-24)
2934867ms th_a       application.cpp:573           handle_block         ] Got block: #129617 0001fa513108ef8b2c064e1f84ce25337629b9c2 time: 2017-08-22T14:48:54 latency: 867 ms from: 25997/init1
  irreversible: 129593 (-24)
2940790ms th_a       application.cpp:573           handle_block         ] Got block: #129619 0001fa53be2136895b2e421d0dc19feb28105cc7 time: 2017-08-22T14:49:00 latency: 790 ms from: 209414065/a
bit  irreversible: 129594 (-25)
2940791ms th_a       fork_database.cpp:66          push_block           ] Pushing block to fork database that failed to link: 0001fa53be2136895b2e421d0dc19feb28105cc7, 129619
2940791ms th_a       fork_database.cpp:67          push_block           ] Head: 129617, 0001fa513108ef8b2c064e1f84ce25337629b9c2
2940822ms th_a       application.cpp:602           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:87 _push_block

    {"new_block":{"previous":"0001fa52390a055afa6e89e0b93b51b3ab6f798e","timestamp":"2017-08-22T14:49:00","witness":209414065,"transaction_merkle_root":"0000000000000000000000000000000000000000
","witness_signature":"204e6e4147cff8a1274daf0c8cdf47341414b43fd34caa676ca764d307a2bc0778171f5491ada4fa11763c555161763fbe6101758ba454645177d7173c8af837cf","transactions":[]}}
    th_a  db_block.cpp:208 _push_block
2941125ms th_a       application.cpp:573           handle_block         ] Got block: #129618 0001fa52390a055afa6e89e0b93b51b3ab6f798e time: 2017-08-22T14:48:57 latency: 4125 ms from: 209411264/blockman  irreversible: 129594 (-24)
2943562ms th_a       application.cpp:573           handle_block         ] Got block: #129620 0001fa54694a498ab7c794dee652bdb53c15cc79 time: 2017-08-22T14:49:03 latency: 562 ms from: 209411732/kimziv  irreversible: 129594 (-26)
2946861ms th_a       application.cpp:573           handle_block         ] Got block: #129621 0001fa554363f2cd4b0cb2a0acf46a990eabc2b3 time: 2017-08-22T14:49:06 latency: 861 ms from: 25997/init1  irreversible: 129594 (-27)
2949548ms th_a       application.cpp:573           handle_block         ] Got block: #129622 0001fa563164714e90ec4d02915bf5ce32c0f3bb time: 2017-08-22T14:49:09 latency: 548 ms from: 209416038/dumdumgal  irreversible: 129594 (-28)
Killed

之前是正常接收和出块的消息。然后后面不知为何出错……启动命令里已经加上
Code: [Select]
--replay了。
另外进程被kill之后似乎见证人没有自动下线……?因此错过了十几个block generation了……
偶尔出现 unlinkable block 属于正常情况,特别是你的节点或者他人节点网络不稳定的时候,以及重新从头开始同步的时候。
出于网络整体安全方面考虑,被动触发离线需要等比较长一段时间,现在测试网里这个参数是3小时。具体参数可以用get_global_properties命令看。

另外,kill是你主动发起的?如果不是,可能原因是内存不足。
« Last Edit: August 22, 2017, 09:07:18 pm by yoyowd »

Offline anychto

  • Newbie
  • *
  • Posts: 8
    • View Profile
Code: [Select]
2928481ms th_a       application.cpp:573           handle_block         ] Got block: #129615 0001fa4feda3bf61184ddf510bb0d64a9f80c1d0 time: 2017-08-22T14:48:48 latency: 481 ms from: 209413652/j
eff  irreversible: 129591 (-24)
2931557ms th_a       application.cpp:573           handle_block         ] Got block: #129616 0001fa50fb4583ab5d0cf8647c6987aeb3fef269 time: 2017-08-22T14:48:51 latency: 557 ms from: 209416038/d
umdumgal  irreversible: 129592 (-24)
2934867ms th_a       application.cpp:573           handle_block         ] Got block: #129617 0001fa513108ef8b2c064e1f84ce25337629b9c2 time: 2017-08-22T14:48:54 latency: 867 ms from: 25997/init1
  irreversible: 129593 (-24)
2940790ms th_a       application.cpp:573           handle_block         ] Got block: #129619 0001fa53be2136895b2e421d0dc19feb28105cc7 time: 2017-08-22T14:49:00 latency: 790 ms from: 209414065/a
bit  irreversible: 129594 (-25)
2940791ms th_a       fork_database.cpp:66          push_block           ] Pushing block to fork database that failed to link: 0001fa53be2136895b2e421d0dc19feb28105cc7, 129619
2940791ms th_a       fork_database.cpp:67          push_block           ] Head: 129617, 0001fa513108ef8b2c064e1f84ce25337629b9c2
2940822ms th_a       application.cpp:602           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:87 _push_block

    {"new_block":{"previous":"0001fa52390a055afa6e89e0b93b51b3ab6f798e","timestamp":"2017-08-22T14:49:00","witness":209414065,"transaction_merkle_root":"0000000000000000000000000000000000000000
","witness_signature":"204e6e4147cff8a1274daf0c8cdf47341414b43fd34caa676ca764d307a2bc0778171f5491ada4fa11763c555161763fbe6101758ba454645177d7173c8af837cf","transactions":[]}}
    th_a  db_block.cpp:208 _push_block
2941125ms th_a       application.cpp:573           handle_block         ] Got block: #129618 0001fa52390a055afa6e89e0b93b51b3ab6f798e time: 2017-08-22T14:48:57 latency: 4125 ms from: 209411264/blockman  irreversible: 129594 (-24)
2943562ms th_a       application.cpp:573           handle_block         ] Got block: #129620 0001fa54694a498ab7c794dee652bdb53c15cc79 time: 2017-08-22T14:49:03 latency: 562 ms from: 209411732/kimziv  irreversible: 129594 (-26)
2946861ms th_a       application.cpp:573           handle_block         ] Got block: #129621 0001fa554363f2cd4b0cb2a0acf46a990eabc2b3 time: 2017-08-22T14:49:06 latency: 861 ms from: 25997/init1  irreversible: 129594 (-27)
2949548ms th_a       application.cpp:573           handle_block         ] Got block: #129622 0001fa563164714e90ec4d02915bf5ce32c0f3bb time: 2017-08-22T14:49:09 latency: 548 ms from: 209416038/dumdumgal  irreversible: 129594 (-28)
Killed

之前是正常接收和出块的消息。然后后面不知为何出错……启动命令里已经加上
Code: [Select]
--replay了。
另外进程被kill之后似乎见证人没有自动下线……?因此错过了十几个block generation了……

Offline 华探长

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
yoyow_node --rpc-endpoint -w 209420725 --private-key "[\"YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV\",\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"]"

运行之后
908481ms th_a       witness.cpp:87                plugin_initialize    ] witness plugin:  plugin_initialize() begin
908481ms th_a       witness.cpp:98                plugin_initialize    ] Public Key: YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV
908481ms th_a       witness.cpp:98                plugin_initialize    ] Public Key: YYW6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
908481ms th_a       witness.cpp:116               plugin_initialize    ] witness plugin:  plugin_initialize() end
908481ms th_a       object_database.cpp:94        open                 ] Opening object database from C:/yoyow-x64-20170818/yoyow_node_data_dir/blockchain ...
908512ms th_a       object_database.cpp:100       open                 ] Done opening object database.
908512ms th_a       db_management.cpp:128         open                 ] last_block->id(): 0001f5ded5b5a445d2873a0244c541f0c4505b30 last_block->block_num(): 128478
908528ms th_a       db_management.cpp:129         open                 ] head_block_id(): 0001f5ded5b5a445d2873a0244c541f0c4505b30 head_block_num(): 128478
908712ms th_a       application.cpp:211           reset_p2p_node       ] Adding seed node 54.224.246.177:2017
908728ms th_a       application.cpp:226           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:38172
908728ms th_a       application.cpp:301           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
908728ms th_a       witness.cpp:121               plugin_startup       ] witness plugin:  plugin_startup() begin
908728ms th_a       witness.cpp:126               plugin_startup       ] Launching block production for 1 witnesses.
908746ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
908749ms th_a       main.cpp:179                  main                 ] Started yoyow node on a chain with 128478 blocks.
908750ms th_a       main.cpp:180                  main                 ] Chain ID is 7ec6a131f0f5a6cc586b9d48277171143069c198348186b517b9d89c08f55eb4
909012ms th_a       witness.cpp:186               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
910012ms th_a       witness.cpp:186               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
911012ms th_a       witness.cpp:186               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)

跟着弹出一个对话框
yoyow_node.exe已停止工作
出现了一个问题,导致程序停止正常工作。如果有可用的解决方案,Windows 将关闭程序并通知你。

按钮“调试”,按钮“关闭程序”

Offline anychto

  • Newbie
  • *
  • Posts: 8
    • View Profile
Code: [Select]
1149000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
1150000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
1151000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
试了几次都出现丢块,回头看记录的时候发现错误提示是这个。
不过在运行的时候已经把privkey也追加到运行参数里面了,可能是什么原因导致出块失败了呢。
有几次启动程序都会出现 Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production),似乎需要反复启动几次程序才能接收其他人的出块。

运行的指令是这个(私钥用privkey代替了):
Code: [Select]
./yoyow_node --rpc-endpoint -w 209420985 -private-key '["YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY","privkey"]'
你上面的错误提示有两种,一个是 because I don't have the private key ,那么是参数设错了,命令里私钥参数是 --private-key 最前面是两个横杠,不是一个

另一种错 production is disabled until we receive a recent block 有可能是系统时间不同步;如果时间已经同步了,那就要等一会,可以到 client 里面用 info 或者 get_dynamic_global_properties 命令看同步状态, head_block_num , head_block_age 和 time 这几个值,是否是最新。

如果 node 里出现 unlinkable 的问题,目前的临时解决方案是启动命令里加一个 --replay 参数
./yoyow_node --rpc-endpoint -w 209420985 --private-key '["YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY","privkey"]' --replay

谢谢~出块成功了,unlinkable也没出现了。

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Code: [Select]
1149000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
1150000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
1151000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
试了几次都出现丢块,回头看记录的时候发现错误提示是这个。
不过在运行的时候已经把privkey也追加到运行参数里面了,可能是什么原因导致出块失败了呢。
有几次启动程序都会出现 Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production),似乎需要反复启动几次程序才能接收其他人的出块。

运行的指令是这个(私钥用privkey代替了):
Code: [Select]
./yoyow_node --rpc-endpoint -w 209420985 -private-key '["YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY","privkey"]'
你上面的错误提示有两种,一个是 because I don't have the private key ,那么是参数设错了,命令里私钥参数是 --private-key 最前面是两个横杠,不是一个

另一种错 production is disabled until we receive a recent block 有可能是系统时间不同步;如果时间已经同步了,那就要等一会,可以到 client 里面用 info 或者 get_dynamic_global_properties 命令看同步状态, head_block_num , head_block_age 和 time 这几个值,是否是最新。

如果 node 里出现 unlinkable 的问题,目前的临时解决方案是启动命令里加一个 --replay 参数
./yoyow_node --rpc-endpoint -w 209420985 --private-key '["YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY","privkey"]' --replay
« Last Edit: August 21, 2017, 09:48:14 pm by yoyowd »

Offline anychto

  • Newbie
  • *
  • Posts: 8
    • View Profile
Code: [Select]
1149000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
1150000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
1151000ms th_a       witness.cpp:195               block_production_loo ] Not producing block for 209420985 because I don't have the private key for YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY
试了几次都出现丢块,回头看记录的时候发现错误提示是这个。
不过在运行的时候已经把privkey也追加到运行参数里面了,可能是什么原因导致出块失败了呢。
有几次启动程序都会出现 Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production),似乎需要反复启动几次程序才能接收其他人的出块。

运行的指令是这个(私钥用privkey代替了):
Code: [Select]
./yoyow_node --rpc-endpoint -w 209420985 -private-key '["YYW82qoU3N6dwoRHRM4y3QhGF3XQrrrcSUCnmDJJZondR7GSfaPfY","privkey"]'
« Last Edit: August 21, 2017, 07:31:57 pm by anychto »

Offline lyclub

  • Newbie
  • *
  • Posts: 3
    • View Profile
申请注册账号
公钥:YYW77ix1EZSGpzD4pUbnyQ6CRjTV6bfm8kRrDB9txkwhy4JEjnSNs
名字用 lyclub

Offline 1&0

  • Full Member
  • ***
  • Posts: 161
  • 努力总归是好的!
    • View Profile
  • BitShares: novia
yoyow_node --rpc-endpoint -w 209418181 --private-key "[\"YYW6hmVL3fVTwygS6V7fwEoj3jLpzYXKKByqQTyoDNvXhRDcYb5ZQ\",\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"]"

运行上面命令后

3080376ms th_a       application.cpp:573           handle_block         ] Got block: #87221 000154b5ecb40a080da5d2c8db77954337bbbcf2 time: 2017-08-21T02:51:18 latency: 2376 ms from: 26264/init2  irreversible: 87189 (-32)
3082918ms th_a       application.cpp:573           handle_block         ] Got block: #87222 000154b6c5e7a999e43f56aed476303983ec9459 time: 2017-08-21T02:51:21 latency: 1918 ms from: 209410948/freedom  irreversible: 87191 (-31)
3085941ms th_a       application.cpp:573           handle_block         ] Got block: #87223 000154b762ad89868b2493ac0befb25465f0ec4b time: 2017-08-21T02:51:24 latency: 1941 ms from: 209408958/still  irreversible: 87191 (-32)

而不是类似

3249002ms th_a       witness.cpp:183               block_production_loo ] Generated block #1921 00000781196d14610bc781ce1880193d153c0200 with timestamp 2017-08-18T01:54:09 at time 2017-08-18T01:54:09 by 28182/init10

是正常的吗?是不是得运行一段时间才会出现上面的信息?
Got 那些表示网络已经联通,可以正常收到其他见证人生成的区块。from: 209410948/freedom 表示出块人。

Generated 那句表示你自己的见证人已经开始正常出块,确实需要等一会,但测试环境里时间应该不会太长,一般几分钟。

如果一直没有看到自己出块,按说明的第五步检查下,很可能是因为是离线状态了。

另外 latency: 1941 ms这个表示延迟,一般应该在1000ms以下,如果是负数或者太大,都有问题。如果每块的延迟都有问题,并且大小差不多,请检查下电脑时间,做好时间同步。如果偶尔有一块延迟偏大或者偏小,则可能是突发网络问题,或者出那一块的见证人有时间同步问题。

多谢,已经有块出来了,时间也同步了,非常感谢!

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
yoyow_node --rpc-endpoint -w 209418181 --private-key "[\"YYW6hmVL3fVTwygS6V7fwEoj3jLpzYXKKByqQTyoDNvXhRDcYb5ZQ\",\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"]"

运行上面命令后

3080376ms th_a       application.cpp:573           handle_block         ] Got block: #87221 000154b5ecb40a080da5d2c8db77954337bbbcf2 time: 2017-08-21T02:51:18 latency: 2376 ms from: 26264/init2  irreversible: 87189 (-32)
3082918ms th_a       application.cpp:573           handle_block         ] Got block: #87222 000154b6c5e7a999e43f56aed476303983ec9459 time: 2017-08-21T02:51:21 latency: 1918 ms from: 209410948/freedom  irreversible: 87191 (-31)
3085941ms th_a       application.cpp:573           handle_block         ] Got block: #87223 000154b762ad89868b2493ac0befb25465f0ec4b time: 2017-08-21T02:51:24 latency: 1941 ms from: 209408958/still  irreversible: 87191 (-32)

而不是类似

3249002ms th_a       witness.cpp:183               block_production_loo ] Generated block #1921 00000781196d14610bc781ce1880193d153c0200 with timestamp 2017-08-18T01:54:09 at time 2017-08-18T01:54:09 by 28182/init10

是正常的吗?是不是得运行一段时间才会出现上面的信息?
Got 那些表示网络已经联通,可以正常收到其他见证人生成的区块。from: 209410948/freedom 表示出块人。

Generated 那句表示你自己的见证人已经开始正常出块,确实需要等一会,但测试环境里时间应该不会太长,一般几分钟。

如果一直没有看到自己出块,按说明的第五步检查下,很可能是因为是离线状态了。

另外 latency: 1941 ms这个表示延迟,一般应该在1000ms以下,如果是负数或者太大,都有问题。如果每块的延迟都有问题,并且大小差不多,请检查下电脑时间,做好时间同步。如果偶尔有一块延迟偏大或者偏小,则可能是突发网络问题,或者出那一块的见证人有时间同步问题。
« Last Edit: August 21, 2017, 09:07:58 am by yoyowd »

Offline 1&0

  • Full Member
  • ***
  • Posts: 161
  • 努力总归是好的!
    • View Profile
  • BitShares: novia
yoyow_node --rpc-endpoint -w 209418181 --private-key "[\"YYW6hmVL3fVTwygS6V7fwEoj3jLpzYXKKByqQTyoDNvXhRDcYb5ZQ\",\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"]"

运行上面命令后

3080376ms th_a       application.cpp:573           handle_block         ] Got block: #87221 000154b5ecb40a080da5d2c8db77954337bbbcf2 time: 2017-08-21T02:51:18 latency: 2376 ms from: 26264/init2  irreversible: 87189 (-32)
3082918ms th_a       application.cpp:573           handle_block         ] Got block: #87222 000154b6c5e7a999e43f56aed476303983ec9459 time: 2017-08-21T02:51:21 latency: 1918 ms from: 209410948/freedom  irreversible: 87191 (-31)
3085941ms th_a       application.cpp:573           handle_block         ] Got block: #87223 000154b762ad89868b2493ac0befb25465f0ec4b time: 2017-08-21T02:51:24 latency: 1941 ms from: 209408958/still  irreversible: 87191 (-32)

而不是类似

3249002ms th_a       witness.cpp:183               block_production_loo ] Generated block #1921 00000781196d14610bc781ce1880193d153c0200 with timestamp 2017-08-18T01:54:09 at time 2017-08-18T01:54:09 by 28182/init10

是正常的吗?是不是得运行一段时间才会出现上面的信息?

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4594
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
unlocked »> import_key init 5K57F2c2seTz1CHs8HrqGRJMbMVrdJSDmKpU4Nf2fviUDHpAtL2
import_key init 5K57F2c2seTz1CHs8HrqGRJMbMVrdJSDmKpU4Nf2fviUDHpAtL2
false

unlocked »> transfer init test 100 YOYO "" true
transfer init test 100 YOYO "" true
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id:
    {}
    th_a  wallet.cpp:617 graphene::wallet::detail::wallet_api_impl::get_account

    {"from":"init","to":"test","amount":"100","asset_symbol":"YOYO","memo":"","broadcast":true}
    th_a  wallet.cpp:2351 graphene::wallet::detail::wallet_api_impl::transfer
"init" is the developer's account name. You need your own account name. To get a name, please reply in the other post, with a name you want and a public key which you can generate with "suggest_brain_key" command, and wait for a while, they will create an account for you.
BitShares committee member: abit
BitShares witness: in.abit