Author Topic: Can not sync on Bitshares 2.0 by Ubuntu 14.04  (Read 3379 times)

0 Members and 1 Guest are viewing this topic.

Offline namjar

  • Full Member
  • ***
  • Posts: 51
    • View Profile
Please ensure you are building the proper release  the current latest release is here:
https://github.com/bitshares/bitshares-2/releases/tag/v2.15.294

Thanks! Yes, I just got the wrong source to build, and right now it is ok!

My node is ws://bitassets.info:8090  , pl try it!
Nice domain

I have following domains:

Quote
bitassets.org
bitassets.info
bitguest.com
bityellowpage.com
bityp.com

EMC decentralized  domains:
Quote
bts:lib
bitshares.lib
blockchain.coin
block.coin
bitcoin.bazar
bit.lib
asset.coin
explore.coin
coin.lib
coin.bazar

Looking for co-operation !  :D

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Please ensure you are building the proper release  the current latest release is here:
https://github.com/bitshares/bitshares-2/releases/tag/v2.15.294

Thanks! Yes, I just got the wrong source to build, and right now it is ok!

My node is ws://bitassets.info:8090  , pl try it!
Nice domain

Offline namjar

  • Full Member
  • ***
  • Posts: 51
    • View Profile
Please ensure you are building the proper release  the current latest release is here:
https://github.com/bitshares/bitshares-2/releases/tag/v2.15.294

Thanks! Yes, I just got the wrong source to build, and right now it is ok!

My node is ws://bitassets.info:8090  , pl try it!

Offline namjar

  • Full Member
  • ***
  • Posts: 51
    • View Profile
or use pre-compiled binaries from:
Code: [Select]
sudo apt-add-repository ppa:showard314/bitshares
sudo apt-get update
sudo apt-get install bitshares2-cli

Code: [Select]
# sudo apt-get install bitshares2-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done

E: Unable to locate package bitshares2-cli

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
or use pre-compiled binaries from:
Code: [Select]
sudo apt-add-repository ppa:showard314/bitshares
sudo apt-get update
sudo apt-get install bitshares2-cli
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline Fox

Please ensure you are building the proper release  the current latest release is here:
https://github.com/bitshares/bitshares-2/releases/tag/v2.15.294
Witness: fox

Offline namjar

  • Full Member
  • ***
  • Posts: 51
    • View Profile
If I use the following command it can not sync on Bitshares 2.0 by Ubuntu 14.04 on my OpenVZ VPS, that I build it during http://docs.bitshares.eu/installation/Build.html#building-bitshares-graphene

Quote
./witness_node --rpc-endpoint=0.0.0.0:8090

Quote
1364960ms th_a       db_management.cpp:101         wipe                 ] Wiping database
1364968ms th_a       object_database.cpp:84        wipe                 ] Wiping object database...
1364968ms th_a       object_database.cpp:86        wipe                 ] Done wiping object databse.
1364968ms th_a       object_database.cpp:91        open                 ] Opening object database from /root/graphene/programs/witness_node/witness_node_data_dir/blockchain ...
1364968ms th_a       object_database.cpp:97        open                 ] Done opening object database.
1364976ms th_a       db_debug.cpp:82               debug_dump           ] total_balances[asset_id_type()].value: 0 core_asset_data.current_supply.value: 1000000000000000
1364976ms th_a       db_management.cpp:55          reindex              ] !no last block
1364976ms th_a       db_management.cpp:56          reindex              ] last_block:
1364977ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140537220675328
1364978ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140537197598464
1364981ms th_a       application.cpp:140           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:60790
1364982ms th_a       application.cpp:190           reset_websocket_serv ] Configured websocket rpc to listen on 0.0.0.0:8090
1364983ms th_a       witness.cpp:119               plugin_startup       ] witness plugin:  plugin_startup() begin
1364983ms th_a       witness.cpp:136               plugin_startup       ] No witnesses configured! Please add witness IDs and private keys to configuration.
1364983ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
1364983ms th_a       main.cpp:176                  main                 ] Started witness node on a chain with 0 blocks.
1364983ms th_a       main.cpp:177                  main                 ] Chain ID is 74aca65e205d9ba9feafe3e58e1a9b548be6abc4ef13f27fbb1a636f715599c7
1365143ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 9838 us
1371514ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65922896
1383531ms th_a       database_api.cpp:200          ~database_api_impl   ] freeing database api 65922896
1384908ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65922896
1385227ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65958608
1386652ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1396434ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1398176ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1402113ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1404124ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1408111ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1412783ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
1414109ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??


If I use the following command it can sync but it soon slowly, only less then 13000 blocks spent full 24 hours.

Quote
./witness_node --rpc-endpoint=0.0.0.0:8090 --enable-stale-production --witness-id \""1.6.0"\" \""1.6.1"\" \""1.6.2"\" \""1.6.3"\" \""1.6.4"\"  \""1.6.5"\" \""1.6.6"\" \""1.6.7"\" \""1.6.8"\" \""1.6.9"\"  \""1.6.10"\"

or

Quote
./witness_node --rpc-endpoint=0.0.0.0:8090 --enable-stale-production --witness-id \""1.6.0"\" \""1.6.1"\" \""1.6.2"\" \""1.6.3"\" \""1.6.4"\"  \""1.6.5"\" \""1.6.6"\" \""1.6.7"\" \""1.6.8"\" \""1.6.9"\"  \""1.6.10"\" --private-key "[\"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV\", \"5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3\"]"

Quote
2472943ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
2472943ms th_a       main.cpp:176                  main                 ] Started witness node on a chain with 0 blocks.
2472944ms th_a       main.cpp:177                  main                 ] Chain ID is 74aca65e205d9ba9feafe3e58e1a9b548be6abc4ef13f27fbb1a636f715599c7
2472997ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to -6023 us
2475015ms th_a       witness.cpp:179               block_production_loo ] Generated block #1 with timestamp 2015-10-25T02:41:15 at time 2015-10-25T02:41:15
2483367ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65879120
2483656ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65901936
2484236ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
2484852ms th_a       database_api.cpp:256          set_subscribe_callba ] clear_filter: true
2493979ms th_a       database_api.cpp:200          ~database_api_impl   ] freeing database api 65879120
2493979ms th_a       database_api.cpp:200          ~database_api_impl   ] freeing database api 65901936
2495001ms th_a       witness.cpp:179               block_production_loo ] Generated block #2 with timestamp 2015-10-25T02:41:35 at time 2015-10-25T02:41:35
2495128ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65877456
2495413ms th_a       database_api.cpp:184          database_api_impl    ] creating database api 65887424
2496698ms th_a       database_api.cpp:227          get_objects          ] getObjects without subscribe callback??
2496979ms th_a       database_api.cpp:256          set_subscribe_callba ] clear_filter: true
2500001ms th_a       witness.cpp:179               block_production_loo ] Generated block #3 with timestamp 2015-10-25T02:41:40 at time 2015-10-25T02:41:40
2505001ms th_a       witness.cpp:179               block_production_loo ] Generated block #4 with timestamp 2015-10-25T02:41:45 at time 2015-10-25T02:41:45
2510001ms th_a       witness.cpp:179               block_production_loo ] Generated block #5 with timestamp 2015-10-25T02:41:50 at time 2015-10-25T02:41:50
2515001ms th_a       witness.cpp:179               block_production_loo ] Generated block #6 with timestamp 2015-10-25T02:41:55 at time 2015-10-25T02:41:55

Please help me to fix this problem, thanks!