EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.28k stars 3.6k forks source link

Not producing block because I don't have the private key for EOS7EarnUhcyYqmdnPon8rm7mBCTnBoot6o7fE2WzjvEX2TdggbL3 #4562

Closed justalready closed 6 years ago

justalready commented 6 years ago

how to solve this problem?

taokayan commented 6 years ago

Do you have your private key for EOS7EarnUhcyYqmdnPon8rm7mBCTnBoot6o7fE2WzjvEX2TdggbL3 in your config.ini ?

justalready commented 6 years ago

No!

{ "initial_timestamp": "2018-06-08T08:08:08.888", "initial_key": "EOS7EarnUhcyYqmdnPon8rm7mBCTnBoot6o7fE2WzjvEX2TdggbL3", "initial_configuration": { "max_block_net_usage": 1048576, "target_block_net_usage_pct": 1000, "max_transaction_net_usage": 524288, "base_per_transaction_net_usage": 12, "net_usage_leeway": 500, "context_free_discount_net_usage_num": 20, "context_free_discount_net_usage_den": 100, "max_block_cpu_usage": 200000, "target_block_cpu_usage_pct": 1000, "max_transaction_cpu_usage": 150000, "min_transaction_cpu_usage": 100, "max_transaction_lifetime": 3600, "deferred_trx_expiration_window": 600, "max_transaction_delay": 3888000, "max_inline_action_size": 4096, "max_inline_action_depth": 4, "max_authority_depth": 6 } } this public-key is in my genesis.json

justalready commented 6 years ago

my confing.ini as follow:

genesis-json=/Users/jun/Library/Application\ Support/eosio/nodeos/config/genesis.json

enable-stale-production = true

producer-name = eosio

plugin = eosio::net_plugin

plugin = eosio::net_api_plugin

plugin = eosio::producer_plugin

plugin = eosio::wallet_api_plugin

plugin = eosio::history_plugin

plugin = eosio::history_api_plugin

plugin = eosio::chain_plugin

plugin = eosio::chain_api_plugin

plugin = eosio::http_plugin

p2p-peer-address=node1.eoscannon.io:59876 p2p-peer-address = mainnet.bepal.io:8866 p2p-peer-address = mainnet.eos.ren:9376 p2p-peer-address = mainnet.eosarabia.org:3571 p2p-peer-address = mainnet.eoscalgary.io:5222 p2p-peer-address = mainnet.eoseco.com:10010 p2p-peer-address = mainnet.eosoasis.io:9876

taokayan commented 6 years ago

add your public - private key pair to config.ini should solve your problem, for example:

private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"]
justalready commented 6 years ago

it's doesn't work

tbfleming commented 6 years ago

That's the key for the genesis node of the main net. You can't produce blocks on the main net unless you get voted into the top 21 BPs.

jgiszczak commented 6 years ago

And you can't ever produce as eosio on main-net. To eliminate the error on a mainnet-connected node, remove producer-name = eosio and enable-stale-production = true from config.ini.

flylee2004 commented 6 years ago

@justalready do u solved?i have the problem too.

justalready commented 6 years ago

Yeah,I disable "producer-name = eosio " ,it's worked.

flylee2004 commented 6 years ago

thks bro,i am from ch,and u?

xmmao commented 5 years ago

我是也是ch