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

0 Members and 1 Guest are viewing this topic.

Offline shinerad

  • Newbie
  • *
  • Posts: 1
    • View Profile
申请注册账号
公钥:YYW5N6vJjDynaNNg3ekndA8GL9qZGS7RbMq777D6Wx8gU7uxq7H8U
名字用 shinerad

thx!

Offline qqq5817827

  • Newbie
  • *
  • Posts: 1
    • View Profile
运行钱包时出现该问题
root@yoyow:/home/yoyow20170906# ./yoyow_client
Logging RPC to file: logs/rpc/rpc.log
347366ms th_a       main.cpp:120                  main                 ] key_to_wif( committee_private_key ): 5KCBDTcyDqzsqehcb52tW5nU6pXife6V2rX9Yf7c3saYSzbDZ5W
347368ms th_a       main.cpp:124                  main                 ] nathan_pub_key: YYW6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
347368ms th_a       main.cpp:125                  main                 ] key_to_wif( nathan_private_key ): 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
Starting a new wallet with chain ID ae4f234c75199f67e526c9478cf499dd6e94c2b66830ee5c58d0868a3179baf6 (from egenesis)
347370ms th_a       main.cpp:172                  main                 ] wdata.ws_server: ws://localhost:8090
0 exception: unspecified
Timer Expired
    {"message":"Timer Expired"}
    asio  websocket.cpp:449 operator()

    {"uri":"ws://localhost:8090"}
    th_a  websocket.cpp:678 connect
root@yoyow:/home/yoyow20170906#

我在github上找到有类似的问题https://github.com/zaphoyd/websocketpp/tree/0bb33e4bca4ccc42a36aa2321e4fb97f2562e519
上面是说是因为内核大于4.4引起的问题
After a change in Linux Kernel 4.4 the value of 0 causes all
connections to be rejected rather than the default value being used.
The default is now the asio::socket_base::max_connections value instead
(which is the default asio uses when no value is provided).
Documentation has been updated accordingly.
请问如何改善

Offline superlone

  • Newbie
  • *
  • Posts: 6
    • View Profile
帐号申请
账号公钥:YYW6V2DXCP3WUhqhT4eMPtBYH2NBjd8jRik1UM2hPZXJw3YLfPcA4
用户名用:lone
谢谢


Offline szlglee

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • BitShares: dafxs
账号申请
公钥:YYW5xp2jaeZXs9jd7W4ywhXUrZzzmQk39DpSuLPSryGT8qv3icQuz
名字:lees

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
申请注册 公钥: YYW6f8xynDYzc1cTSaBZKYKaH7bDxEhnpy1ZmBDejGZmo6GhHcPaE
用户名:  wzyfx
账号建好了

Offline zhongyi

  • Newbie
  • *
  • Posts: 5
    • View Profile
申请注册 公钥: YYW6f8xynDYzc1cTSaBZKYKaH7bDxEhnpy1ZmBDejGZmo6GhHcPaE
用户名:  wzyfx

Offline wongshiying

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

账号已创建。。我少了什么步骤吗?
是我弄错了。麻烦重试一下

有了。。。谢谢你

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
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

账号已创建。。我少了什么步骤吗?
是我弄错了。麻烦重试一下

Offline wongshiying

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

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

Offline lianzhengyun

  • Newbie
  • *
  • Posts: 2
    • View Profile
申请注册 公钥: YYW85BkD4yoFcUxzUsfGm88nwwsBhNcD19eFoySgdJrEZiVgqAqGo
用户名:  sinrch

Offline dirnet

  • Full Member
  • ***
  • Posts: 104
    • View Profile
加了--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 yoyowd

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

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

Offline yoyowd

  • Full Member
  • ***
  • Posts: 69
    • View Profile
  • BitShares: y0y0wd
加了--replay,反复启动了好几次,静止在这里
yoyow_node --rpc-endpoint -w 209420725 --private-key "
检查系统时间,精确到秒。

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了……
偶尔出现 unlinkable block 属于正常情况,特别是你的节点或者他人节点网络不稳定的时候,以及重新从头开始同步的时候。
出于网络整体安全方面考虑,被动触发离线需要等比较长一段时间,现在测试网里这个参数是3小时。具体参数可以用get_global_properties命令看。

另外,kill是你主动发起的?如果不是,可能原因是内存不足。

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

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

Offline 华探长

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
加了--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)