3

I have followed following answer about How to add new Sealer in Geth 1.6 Proof of Authority?.

Currently I have one signer account 0x4e4a0750350796164d8defc442a712b7557bf282. With one signer the mining was working without any problem. My signer account proposed a new signer account using propose() function.

clique.propose("0x5b29ede59ecff473fb5760a53dbacc21cbc5b3dd", true) 

On my signer node and other nodes, I can see the new address on my signers list (clique.getSigners()),

clique.getSigners()
["0x4e4a0750350796164d8defc442a712b7557bf282", "0x5b29ede59ecff473fb5760a53dbacc21cbc5b3dd"]

Than on my other node which has 0x5b29ede59ecff473fb5760a53dbacc21cbc5b3dd I have unlocked that account and run miner.start() command, but no help on mining new blocks on the network. So network stop mining new blocks :(

Also new signer account does not show up on my other connected node, which has the account for new added signer.

Now, I cannot also remove the newly added signer using:

clique.propose("0x5b29ede59ecff473fb5760a53dbacc21cbc5b3dd", false)

Please note that both signers are unlocked and miner.start() is active.

[Q] How could I solve this problem?

13
  • I mean instead of "0x", there is original ethereum address. And another node that address is unlocked and I run miner.start() command but still mining new blocks is stopped. @ivicaa
    – alper
    Commented Feb 28, 2018 at 16:03
  • 1
    Is "0x5b29ede59ecff473fb5760a53dbacc21cbc5b3dd" also eth.coinbase? I am not 100% sure, but I remeber having problems when the sealer account is not eth.coinbase.
    – ivicaa
    Commented Feb 28, 2018 at 16:11
  • 1
    Ah I feel like a stupid, eth.coinbase was pointing some other address, when I updated with "0x5b29ede59ecff473fb5760a53dbacc21cbc5b3dd" it get solved. @ivicaa
    – alper
    Commented Feb 28, 2018 at 16:17
  • 1
    It worked! But it does not right away show up on the clique.getSigners() @ivicaa
    – alper
    Commented Feb 28, 2018 at 16:48
  • 1
    I assume it has to be eth.coinbase. I am again not 100% sure, but It might take some blocks until the request is processed. Where I am 100% sure is that both have to vote false for the address which is to be removed.
    – ivicaa
    Commented Feb 28, 2018 at 16:48

1 Answer 1

4

eth.coinbase has to point to the sealing account.

If you want to remove again the second account, both accounts will have to propose the removal. You always need 50% + 1 vote, which is 2 for 2 accounts.

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.