-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Malformed private key pair #6461
Comments
probably you want single quotes around the key so the shell doesn't mess that up. as in: --private-key '["EOS6RxxLBrMG6bCBtC8VSXYiepD6zwFsa***************", "5KVTMsHfMgggLxyuLsxAFyjecHc8JrxSh3b**************"]' |
@matthewdarwin thanks, i found the problem. A space between the key pair was making trouble. However, I still have following problem. $ nodeos --producer-name inita --plugin eosio::chain_api_plugin --plugin eosio::net_api_plugin --http-server-address 127.0.0.1:8899 --p2p-listen-endpoint 127.0.0.1:9877 --p2p-peer-address 127.0.0.1:9876 --config-dir node2 --data-dir node2 --private-key ["EOS6RxxLBrMG6bCBtC8VSXYiepD6zwFsaUNMBf3DjbC8xorBoqyHj","5KVTMsHfMgggLxyuLsxAFyjecHc8JrxSh3bNaWtgjonbiD94iTv"] It says the address already in use. |
Oh i found what a problem is. |
When I am trying to configure "Local Multi-Node Testnet" there is some problem.
$ nodeos --producer-name inita --plugin eosio::chain_api_plugin --plugin eosio::net_api_plugin --http-server-address 127.0.0.1:8899 --p2p-listen-endpoint 127.0.0.1:9877 --p2p-peer-address 127.0.0.1:9876 --config-dir node2 --data-dir node2 --private-key ["EOS6RxxLBrMG6bCBtC8VSXYiepD6zwFsa***************", "5KVTMsHfMgggLxyuLsxAFyjecHc8JrxSh3b**************"]
info 2018-12-11T02:21:09.230 thread-0 chain_plugin.cpp:333 plugin_initialize ] initializing chain plugin
warn 2018-12-11T02:21:09.230 thread-0 chain_plugin.cpp:605 plugin_initialize ] Starting up fresh blockchain with default genesis state.
info 2018-12-11T02:21:09.232 thread-0 http_plugin.cpp:422 plugin_initialize ] configured http to listen on 127.0.0.1:8899
info 2018-12-11T02:21:09.232 thread-0 net_plugin.cpp:2901 plugin_initialize ] Initialize net plugin
info 2018-12-11T02:21:09.232 thread-0 net_plugin.cpp:2927 plugin_initialize ] host: 127.0.0.1 port: 9877
info 2018-12-11T02:21:09.232 thread-0 net_plugin.cpp:2998 plugin_initialize ] my node_id is 7e0807136aa5d5ff598da41cc5edd81dcb6eab107e1e9244d57bcfc73384c6c7
error 2018-12-11T02:21:09.234 thread-0 producer_plugin.cpp:612 plugin_initialize ] Malformed private key pair
error 2018-12-11T02:21:09.234 thread-0 producer_plugin.cpp:612 plugin_initialize ] Malformed private key pair
info 2018-12-11T02:21:09.235 thread-0 main.cpp:110 main ] nodeos version v1.4.4
info 2018-12-11T02:21:09.235 thread-0 main.cpp:111 main ] eosio root is /Users/nate/Library/Application Support
info 2018-12-11T02:21:09.235 thread-0 main.cpp:112 main ] nodeos using configuration file /Users/nate/Dev/eos_/eos/build/node2/config.ini
info 2018-12-11T02:21:09.235 thread-0 main.cpp:113 main ] nodeos data directory is /Users/nate/Dev/eos_/eos/build/node2
error 2018-12-11T02:21:09.235 thread-0 controller.cpp:1596 startup ] No head block in fork db, perhaps we need to replay
warn 2018-12-11T02:21:09.235 thread-0 controller.cpp:574 initialize_fork_db ] Initializing new blockchain with genesis state
info 2018-12-11T02:21:09.262 thread-0 chain_plugin.cpp:707 plugin_startup ] starting chain in read/write mode
info 2018-12-11T02:21:09.262 thread-0 chain_plugin.cpp:711 plugin_startup ] Blockchain started; head block is #1, genesis timestamp is 2018-06-01T12:00:00.000
info 2018-12-11T02:21:09.262 thread-0 http_plugin.cpp:486 plugin_startup ] start listening for http requests
error 2018-12-11T02:21:09.263 thread-0 http_plugin.cpp:493 plugin_startup ] http service failed to start: Address already in use
error 2018-12-11T02:21:09.269 thread-0 main.cpp:152 main ] Address already in use
it says there is malformed private key pair.
However I followed the step what is written.
Please let me know what is the problem.
Thanks.
The text was updated successfully, but these errors were encountered: