Author Topic: Blocks stopped syncing after running 'sudo apt-get install ntp'  (Read 1192 times)

0 Members and 1 Guest are viewing this topic.

Offline cd

  • Newbie
  • *
  • Posts: 3
    • View Profile
Looks like I got hung up again- so maybe my last issue wasn't NTP related, just coincidence.

In console:

--- there are now 30 active connections to the p2p network
--- there are now 29 active connections to the p2p network
I am disconnecting peer 144.214.xxx.xxx:63783 for reason: You offered us a block that we reject as invalid
I am disconnecting peer 69.171.xxx.xxx:52455 for reason: You offered us a block that we reject as invalid
[...]
--- there are now 3 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 3 active connections to the p2p network

>>> get_info
{
  "blockchain_head_block_num": 275164,
  "blockchain_head_block_age": "39 days old",
  "blockchain_head_block_timestamp": "2014-08-20T22:42:20",
  "blockchain_average_delegate_participation": "0.03 %",
  "blockchain_delegate_pay_rate": "1.84307 BTSX",
  "blockchain_blocks_left_in_round": 61,
  "blockchain_confirmation_requirement": 1,
  "blockchain_accumulated_fees": "222,938.14689 BTSX",
  "blockchain_share_supply": "1,999,414,566.96634 BTSX",
  "blockchain_random_seed": "484bd2ee5c287385e9bafc965d96bc0ab5e732c7",
  "blockchain_database_version": 117,
  "blockchain_version": 109,
  "client_data_dir": "/home/bitshares/.BitSharesX",
  "network_num_connections": 13,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "ntp_time": "2014-09-29T04:07:07",
  "ntp_error": -0.045268999999999997,
  "wallet_open": false,
  "wallet_unlocked": null,
  "wallet_unlocked_until": null,
  "wallet_unlocked_until_timestamp": null,
  "wallet_scan_progress": null,
  "wallet_block_production_enabled": null,
  "wallet_next_block_production_time": null,
  "wallet_next_block_production_timestamp": null,
  "wallet_version": 100
}

Realised that the source I built from was old, due to the line "git checkout 0.3.1". Should have read closer.

Rebuilding from trunk and paying closer attention.

Offline cd

  • Newbie
  • *
  • Posts: 3
    • View Profile
Getting a node setup, following instructions at: http://wiki.bitshares.org/index.php/Bitshares-x-delegate-how-to

When I had bitsharesx running in another thread, I attempted to install ntp. This resulted in a failed block validation and banning all peer nodes.

When restarted, the network never accepted another block.

To resolve, I removed the index and raw_chain files in .BitsharesX directory in home.

After restarting, was able to resync from the start.

Don't figure this warrants an issue on github, but it might be a more common condition if block validation fails, there should be a way to get back onto the main chain.