I've constructed a 4 nodeos testnet.

Initially, the first nodeos is the producer.

Then, I created setbp.json like the following.


Then, I run the following cleos command.

cleos --wallet-url -u push action eosio setprods setbp.json -p eosio@active

Then, I've gotten the following error for the 3 nodeos.

error 2019-05-17T01:58:59.500 thread-0 producer_plugin.cpp:1076 start_block ] Not producing block because I don't have the private key for EOS5zHHAjGAfk17xHr9ghW55rpc4QP2afqYMrw1mHr6EmFZJ9epbX

This is the command that I used to run the 2nd nodeos.

nodeos -e --producer-name shlee --plugin eosio::chain_api_plugin --plugin eosio::net_api_plugin --plugin eosio::history_api_plugin --access-control-allow-origin=* --http-validate-host=false --http-server-address --p2p-listen-endpoint --p2p-peer-address --p2p-max-nodes-per-host 10 --config-dir node2 --data-dir node2 --private-key [\"5KWxNkC5YDHF8dLwLfausst8zWvageXkCXx6qxUFXS3axoKEExu\",\"5HtWscYGJ49JdTXQjpUMPMRhbq6kz7QYs8EbKKsWK9qCVPtknyi\"] 

Here I gave two private keys for the account shlee. Furthermore, I've had already created the account shlee with two public keys of shlee.

Please let me know what happened.

1 Answer 1


When I run the 2nd nodeos, I have used two PRIVATE keys in the "--private-key" option. Actually, I was wrong. The first key should be a public key and the second should be the corresponding private key.

It seems that nodeos does not check whether the key pair is correct or not. I haven't seen any error message. Or maybe the error messages were scrolled so quickly that I couldn't see.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.