This is my first time on this i hope somebody can understand my grammar and question. I have created 2 nodes using puppeth and choosing Clique for my private Ethereum. Both nodes are sealer (verify on both nodes using clique.getSigners()) and both can see each other as peer (verify using admin.peers). When I started to mine for both nodes using the code below, both nodes stuck at Signed recently, must wait for others
geth personal.unlockAccount(eth.coinbase)
geth eth.defaultAccount = eth.coinbase
geth miner.start()
Below are the steps for creating node 1 (already create genesis using puppeth)
Below are the steps for creating node 2 (already create genesis using puppeth)
Check signers - clique.getSigners - both of the account appear
Check peers for both node - admin.peers - both are okay
Then both mine using below code
geth personal.unlockAccount(eth.coinbase)
geth eth.defaultAccount = eth.coinbase
geth miner.start()
I had the same issue before. My solution is terminate the node 2, then run it again.
It is probably a good idea to use bootnodes to help the peering. (Me too was a bit skeptical about the idea before starting using it, but it dramatically reduces the chance of something going wrong, because you can monitor all the nodes activity via it). It is really easy to use and easy to scale using it.
Anyway, regarding your issue: they're definitely on different networks (see they are both sealing the second block, thus they are on different network). Check whether the port and rpcport are different and the networkid the same.
Some general thoughts I always check first are the following:
Additionally, I don't mean to be picky but just so we can use the appropriate language and not get confused across different consensus protocols. Although the Geth command is the same (mine), on PoA consensus there is no such a concept of mining. The blocks are minted, so the signing nodes (authority nodes either determined by the Genesis block or voted for afterwards) only gather the pending transactions, verify them, and seal a new block, broadcasting it for the other nodes. Moreover, Clique does not use voting system and our colleague Marcos said above, like BFT protocols. Clique uses purely PoA where the signers seal blocks and add them to the chain.
Happy to discuss further as I am very keen on these applications!
Stay tuned!
Cheers,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With