@xeroc After compiling from your
testnet repository, when I try to run the witness node (without any parameters):
witness_node
I get this:
2499229ms th_a witness.cpp:86 plugin_initialize ] witness plugin: plugin_initialize() begin
2499231ms th_a witness.cpp:96 plugin_initialize ] key_id_to_wif_pair: ["TEST6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1Jiws
ST4cqQzDeyXtP79zkvFD3"]
2499234ms th_a witness.cpp:114 plugin_initialize ] witness plugin: plugin_initialize() end
2499236ms th_a object_database.cpp:91 open ] Opening object database from D:/Program Files/BitShares 2/bin64t/witness_node_data_dir/blockchain ...
2499273ms th_a object_database.cpp:97 open ] Done opening object database.
2499275ms th_a thread.cpp:95 thread ] name:ntp tid:388
2499276ms th_a thread.cpp:95 thread ] name:p2p tid:412
2499366ms ntp ntp.cpp:177 read_loop ] ntp_delta_time updated to 229455 us
2499375ms th_a application.cpp:144 reset_p2p_node ] Adding seed node 46.101.188.80:11010
2499377ms th_a application.cpp:155 reset_p2p_node ] Configured p2p node to listen on 0.0.0.0:54055
2499380ms th_a witness.cpp:119 plugin_startup ] witness plugin: plugin_startup() begin
2499381ms th_a witness.cpp:136 plugin_startup ] No witnesses configured! Please add witness IDs and private keys to configuration.
2499383ms th_a witness.cpp:137 plugin_startup ] witness plugin: plugin_startup() end
2499384ms th_a main.cpp:176 main ] Started witness node on a chain with 0 blocks.
2499385ms th_a main.cpp:177 main ] Chain ID is 1f3e7fde05994c55443606e2c4186f6e7943d2333c6db139c42031eff1d19a38
... and it gets stuck at this point.
The chain ID is clearly different than it should be:
I have:
1f3e7fde05994c55443606e2c4186f6e7943d2333c6db139c42031eff1d19a38
instead of this which I got :
39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447
which I believe is the testnet's blockchain id.
I did not modify the
genesis.json file or add any seed nodes. Should I?
----------------------------------------------
EDIT: After further investigation, I've come to the conclusion that this problem stems from the
genesis.json file:
When I download the repository from
graphene-testnet as a zip file and use the
genesis.json file extracted from the zip, everything works fine and I get the correct blockchain id (i.e. compatible with the testnet).
However when I clone the repository from
graphene-testnet and use the
genesis.json file from the cloned copy, I get some strange blockchain id (i.e. incompatible with the testnet).
I've checked it several times, so there is very little chance that I've made a mistake.
It's very strange, as there is no apparent difference between the content of those files.
But this might be some Windows-related issue.