I guess I'm on a fork as I can see that I'm the only delegate generating blocks.
get_info
{
"blockchain_head_block_num": 962,
"blockchain_head_block_time": "20140609T214430",
"blockchain_confirmation_requirement": 291,
"blockchain_average_delegate_participation": 19.696969696969695,
"network_num_connections": 7,
"wallet_unlocked_seconds_remaining": 9999999343,
"wallet_next_block_production_time": "20140609T215515",
"wallet_seconds_until_next_block_production": 119,
"wallet_local_time": "20140609T215316",
"blockchain_random_seed": "3a3a9e5f0ac5b5ebbfa4aeb0294a0c152af8efad",
"blockchain_shares": 9999979523473,
"network_num_connections_max": 12,
"network_protocol_version": 101,
"wallet_open": true,
"wallet_unlocked_until": "20181223T045058.320125",
"wallet_version": 100
}
I have below logs, does that prevent me connecting to other normal nodes?
3208214ms th_a p2p_network_connect_ ] I don't need any more connections, waiting forever until something changes node.cpp:684
3208214ms th_a bind ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use tcp_socket.cpp:105
3208214ms th_a connect_to ] Failed to bind to desired local endpoint 0.0.0.0:45410, will connect using an OS-selected endpoint: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"error","file":"tcp_socket.cpp","line":106,"method":"bind","hostname":"","thread_name":"th_a","timestamp":"20140609T215328.214711"},"format":"error binding to ${endpoint}: ${what}","data":{"endpoint":"0.0.0.0:45410","what":"bind: Address already in use"}}]} node.cpp:483
Edit:
I started the client with --clear-peer-database and --resync-blockchain and got the similar but the block size is 422 and blockchain_get_config is like below:
blockchain_get_config
{
"blockchain_id": "964b38343dc7337f8d87a16323faaa7c63b95160c73739c6d0a276ef41f37312",
"block_interval": 15,
"max_block_size": 104857,
"target_block_size": 52428,
"block_reward": "0.104857 XTS",
"inactivity_fee_apr": 10,
"max_blockchain_size": 107374182400,
"symbol": "XTS",
"name": "BitShares XTS",
"version": 101,
"address_prefix": "XTS",
"min_block_fee": 1,
"delegate_num": 97,
"delegate_reg_fee": 10485700,
"delegate_reward_min": 104857,
"name_size_max": 63,
"symbol_size_max": 5,
"symbol_size_min": 3,
"data_size_max": 65536,
"asset_reg_fee": 10485700,
"asset_shares_max": 1000000000000000
}
I can see logs getting fork and switching but failed.
1861246ms th_a handle_message ] CLIENT: just received block 082e59b67949339ddaed7354ceadb965f9713f4b client.cpp:461
1861246ms th_a on_new_block ] Received block 1754 from the server, current head block is 427 client.cpp:421
1861246ms th_a store_and_index ] we already know about its previous: f38c12564894e1ac0deee676bd91b7ff957ddf97 chain_database.cpp:355
1861246ms th_a switch_to_fork ] switch from fork b7ea78344a5056476537428623d00899a3cead7d to 082e59b67949339ddaed7354ceadb965f9713f4b chain_database.cpp:425
1861246ms th_a get_fork_history ] chain_database.cpp:704
...
1861261ms th_a push_block ] attempt to switch to fork failed: 13
bad_weak_ptr:
{"what":"bad_weak_ptr"}
th_a chain_database.cpp:756 pop_block
{"block_id":"082e59b67949339ddaed7354ceadb965f9713f4b"}
th_a chain_database.cpp:438 switch_to_fork, reverting chain_database.cpp:1003