wrong help/error message suggesting usage of invalid argument --p2p-port
- start (run)
witness_node - waiting a little and then terminate it with control -c
- run
witness_nodeagain & the following message is shown:
Essentially requests to start node with witness_node --p2p-port option
root@74e8ff387a0a:~/peerplays-network# ./witness_node
2541618ms th_a accounts_list_plugin.cpp:128 list_accounts ] accounts list plugin: list_accounts()
2541618ms th_a bookie_plugin.cpp:468 plugin_initialize ] bookie plugin: plugin_startup() begin
2541618ms th_a db_management.cpp:294 force_slow_replays ] enabling slow replays
2541618ms th_a bookie_plugin.cpp:501 plugin_initialize ] bookie plugin: plugin_startup() end
2541618ms th_a witness.cpp:91 plugin_initialize ] witness plugin: plugin_initialize() begin
2541619ms th_a witness.cpp:105 plugin_initialize ] Public Key: PPY6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
2541619ms th_a witness.cpp:123 plugin_initialize ] witness plugin: plugin_initialize() end
2541619ms th_a object_database.cpp:106 open ] Opening object database from /home/peerplays/peerplays-network/witness_node_data_dir/blockchain ...
2541814ms th_a object_database.cpp:111 open ] Done opening object database.
2541817ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 51.222.110.110:9777
2541818ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 95.216.90.243:9777
2541818ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 96.46.48.98:19777
2541818ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 96.46.48.98:29777
2541819ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 96.46.48.98:39777
2541819ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 96.46.48.98:49777
2541819ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 96.46.48.98:59777
2541821ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 192.99.111.177:9777
2543738ms th_a application.cpp:172 reset_p2p_node ] Adding seed node 77.105.14.79:9777
Unable to listen for connections on port 9777, retrying in a few seconds
You can wait for it to become available, or restart this program using
the --p2p-port option to specify another port
root@74e8ff387a0a:~/peerplays-network# ./witness_node --p2p-port 1234
Error parsing command line: unrecognised option '--p2p-port'
Expected behaviour:
The message should be showing --p2p-endpoint
root@74e8ff387a0a:~/peerplays-network# ./witness_node --help | grep p2p
--p2p-endpoint arg (=0.0.0.0:9777) Endpoint for P2P node to listen on