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

0 Members and 1 Guest are viewing this topic.

Offline anychto

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #30 on: August 22, 2017, 07:43:41 am »
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 华探长

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #31 on: August 22, 2017, 02:20:50 pm »
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
Re: YOYOW测试程序包下载地址及使用说明
« Reply #32 on: August 22, 2017, 03:33:54 pm »
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 yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Re: YOYOW测试程序包下载地址及使用说明
« Reply #33 on: August 22, 2017, 09:05:04 pm »
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 yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Re: YOYOW测试程序包下载地址及使用说明
« Reply #34 on: August 22, 2017, 09:09:01 pm »
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 ben2018

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #35 on: August 23, 2017, 09:08:07 am »
申请注册 公钥: YYW6H1kHPAdQ7T4ig4ngWU9PoQoBo4q1caeyAzGLoFJMd3NB49vdW
用户名:  ben2018
谢谢。

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Re: YOYOW测试程序包下载地址及使用说明
« Reply #36 on: August 23, 2017, 10:00:35 am »
申请注册 公钥: YYW6H1kHPAdQ7T4ig4ngWU9PoQoBo4q1caeyAzGLoFJMd3NB49vdW
用户名:  ben2018
谢谢。
好了

Offline ben2018

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #37 on: August 23, 2017, 10:07:44 am »
申请注册 公钥: YYW6H1kHPAdQ7T4ig4ngWU9PoQoBo4q1caeyAzGLoFJMd3NB49vdW
用户名:  ben2018
谢谢。
好了

谢谢 +5%

Offline 华探长

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #38 on: August 23, 2017, 10:23:26 am »
加了--replay,反复启动了好几次,静止在这里
yoyow_node --rpc-endpoint -w 209420725 --private-key "[\"YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV\",\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"]" --replay
741357ms th_a       witness.cpp:87                plugin_initialize    ] witness plugin:  plugin_initialize() begin
741357ms th_a       witness.cpp:98                plugin_initialize    ] Public Key: YYW6DyRW3fh3ZJoyLi3BGiWrcb7uUjaxWXMRGfvenWc4Pey9Di1TV
741365ms th_a       witness.cpp:98                plugin_initialize    ] Public Key: YYW6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
741376ms th_a       witness.cpp:116               plugin_initialize    ] witness plugin:  plugin_initialize() end
741386ms th_a       application.cpp:414           startup              ] Replaying blockchain on user request.
741389ms th_a       application.cpp:352           operator ()          ] Initializing database...
741402ms th_a       db_management.cpp:51          reindex              ] reindexing blockchain
741402ms th_a       db_management.cpp:104         wipe                 ] Wiping database
741406ms th_a       db_management.cpp:170         close                ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"index.hpp","line":111,"method":"graphene::db::index::get","hostname":"","thread_name":"th_a","timestamp":"2017-08-23T10:12:21"},"format":"maybe_found != nullptr: Unable to find Object","data":{"id":"2.1.0"}}]}
741550ms th_a       object_database.cpp:87        wipe                 ] Wiping object database...
742188ms th_a       object_database.cpp:89        wipe                 ] Done wiping object databse.
742188ms th_a       object_database.cpp:94        open                 ] Opening object database from C:/yoyow-x64-20170818/yoyow_node_data_dir/blockchain ...
742196ms th_a       object_database.cpp:100       open                 ] Done opening object database.
742203ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 0, next scheduled adjust block is 14400
742208ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 0, next scheduled update block is 4800
742217ms th_a       db_management.cpp:128         open                 ] last_block->id(): 0002518d12ea86c234b562eaffcd182e3d26bcf5 last_block->block_num(): 151949
742223ms th_a       db_management.cpp:129         open                 ] head_block_id(): 0000000000000000000000000000000000000000 head_block_num(): 0
742232ms th_a       db_management.cpp:65          reindex              ] Replaying blocks...
742345ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 4800, next scheduled update block is 9600
   3.29058%   5000 of 151949
742467ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 9600, next scheduled update block is 14400
   6.58116%   10000 of 151949
742624ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 14400, next scheduled update block is 19200
742629ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 14400, next scheduled adjust block is 28800
   9.87173%   15000 of 151949
742824ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 19200, next scheduled update block is 24000
   13.1623%   20000 of 151949
743043ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 24000, next scheduled update block is 28800
   16.4529%   25000 of 151949
743258ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 28800, next scheduled update block is 33600
743263ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 28800, next scheduled adjust block is 43200
   19.7435%   30000 of 151949
743485ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 33600, next scheduled update block is 38400
   23.034%   35000 of 151949
743704ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 38400, next scheduled update block is 43200
   26.3246%   40000 of 151949
743924ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 43200, next scheduled update block is 48000
743929ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 43200, next scheduled adjust block is 57600
   29.6152%   45000 of 151949
744154ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 48000, next scheduled update block is 52800
   32.9058%   50000 of 151949
744376ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 52800, next scheduled update block is 57600
   36.1964%   55000 of 151949
744594ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 57600, next scheduled update block is 62400
744600ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 57600, next scheduled adjust block is 72000
   39.4869%   60000 of 151949
744825ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 62400, next scheduled update block is 67200
   42.7775%   65000 of 151949
745049ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 67200, next scheduled update block is 72000
   46.0681%   70000 of 151949
745272ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 72000, next scheduled update block is 76800
745277ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 72000, next scheduled adjust block is 86400
   49.3587%   75000 of 151949
745516ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 76800, next scheduled update block is 81600
   52.6492%   80000 of 151949
745746ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 81600, next scheduled update block is 86400
   55.9398%   85000 of 151949
745977ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 86400, next scheduled update block is 91200
745983ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 86400, next scheduled adjust block is 100800
   59.2304%   90000 of 151949
746221ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 91200, next scheduled update block is 96000
   62.521%   95000 of 151949
746469ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 96000, next scheduled update block is 100800
   65.8116%   100000 of 151949
746727ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 100800, next scheduled update block is 105600
746731ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 100800, next scheduled adjust block is 115200
   69.1021%   105000 of 151949
746997ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 105600, next scheduled update block is 110400
   72.3927%   110000 of 151949
747263ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 110400, next scheduled update block is 115200
   75.6833%   115000 of 151949
747534ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 115200, next scheduled update block is 120000
747534ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 115200, next scheduled adjust block is 129600
   78.9739%   120000 of 151949
747808ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 120000, next scheduled update block is 124800
748084ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 124800, next scheduled update block is 129600
   82.2644%   125000 of 151949
748372ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 129600, next scheduled update block is 134400
748377ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 129600, next scheduled adjust block is 144000
   85.555%   130000 of 151949
748689ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 134400, next scheduled update block is 139200
   88.8456%   135000 of 151949
749010ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 139200, next scheduled update block is 144000
   92.1362%   140000 of 151949
749338ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 144000, next scheduled update block is 148800
749342ms th_a       db_update.cpp:773             adjust_budgets       ] budgets adjusted on block 144000, next scheduled adjust block is 158400
   95.4268%   145000 of 151949
749709ms th_a       db_update.cpp:749             update_committee     ] committee updated on block 148800, next scheduled update block is 153600
   98.7173%   150000 of 151949
749908ms th_a       db_management.cpp:99          reindex              ] Done reindexing, elapsed time: 7.67632699999999968 sec
750154ms th_a       application.cpp:211           reset_p2p_node       ] Adding seed node 54.224.246.177:2017
750160ms th_a       application.cpp:226           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:19223
750161ms th_a       application.cpp:301           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
750162ms th_a       witness.cpp:121               plugin_startup       ] witness plugin:  plugin_startup() begin
750163ms th_a       witness.cpp:126               plugin_startup       ] Launching block production for 1 witnesses.
750164ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
750165ms th_a       main.cpp:179                  main                 ] Started yoyow node on a chain with 151949 blocks.
750165ms th_a       main.cpp:180                  main                 ] Chain ID is 7ec6a131f0f5a6cc586b9d48277171143069c198348186b517b9d89c08f55eb4
751000ms 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)
752000ms 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)
753052ms 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)

Offline anychto

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #39 on: August 23, 2017, 10:48:21 am »
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是你主动发起的?如果不是,可能原因是内存不足。

既然是正常情况看来不用担心了……kill我不确定是自己screen误操作还是系统自动终止了。0.75G的内存配置似乎有点小了。跑节点后期占用内存会越来越大么。

对了,有什么办法可以把node运行的输出打印到文件里方便之后查看并寻找问题么。

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Re: YOYOW测试程序包下载地址及使用说明
« Reply #40 on: August 23, 2017, 12:41:58 pm »
加了--replay,反复启动了好几次,静止在这里
yoyow_node --rpc-endpoint -w 209420725 --private-key "
检查系统时间,精确到秒。

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
Re: YOYOW测试程序包下载地址及使用说明
« Reply #41 on: August 23, 2017, 12:43:49 pm »
既然是正常情况看来不用担心了……kill我不确定是自己screen误操作还是系统自动终止了。0.75G的内存配置似乎有点小了。跑节点后期占用内存会越来越大么。

对了,有什么办法可以把node运行的输出打印到文件里方便之后查看并寻找问题么。
内存确实会越用越多。
node输出有日志文件,在 yoyow_node_data_dir/logs/default 里面,目前只保存最近24小时日志。

Offline dirnet

  • Jr. Member
  • **
  • Posts: 49
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #42 on: August 23, 2017, 05:18:17 pm »
加了--replay,反复启动了好几次,静止在这里

时钟同步的问题,我也遇到过,系统默认的NTP同步不了,现在用的阿里云的NTP
Unix 类: time1-7.aliyun.com
Windows: time.pool.aliyun.com
« Last Edit: August 23, 2017, 05:23:06 pm by dirnet »

Offline lianzhengyun

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: YOYOW测试程序包下载地址及使用说明
« Reply #43 on: August 24, 2017, 02:27:48 am »
申请注册 公钥: YYW85BkD4yoFcUxzUsfGm88nwwsBhNcD19eFoySgdJrEZiVgqAqGo
用户名:  sinrch

Offline wongshiying

Re: YOYOW测试程序包下载地址及使用说明
« Reply #44 on: September 05, 2017, 08:20:40 am »
Quote
get_account wongshiying
10 assert_exception: Assert Exception
rec && rec->name == account_name_or_id: Can not find account wongshiying.
    {"a":"wongshiying"}
    th_a  wallet.cpp:618 graphene::wallet::detail::wallet_api_impl::get_account

账号已创建。。我少了什么步骤吗?