-
Notifications
You must be signed in to change notification settings - Fork 20.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clique : Discarded bad propagated block#1 when syncing #14945
Comments
I am having a similar issue with my multi-node PoA setup. I only have a single miner, mining interval set to 1 second, and the "bitchin tricks" mining hack is in place (only mine when there is a tx in the pool). I send a transaction from a non-mining node, it propagates, and a block is subsequently mined with the transaction in it. Everything actually works great except for the two WARN messages I am seeing in the console:
Even though it says Synchronisation fails, it actually didnt. The block propagated successfully and the transaction was processed. |
i am having same issue, with 3 signer/mining nodes and one node without mining that gives transactions, one of the mining nodes when a transaction is mined gives a "bad block unknown ancestor" and stops mining, whole network stucks after that version 1.7.0 on commit (#14631) |
I just tried it with the latest commit 10181b5 - PoW does not have this problem, works like charm. Must be a PoA issue. |
From my understanding:
When the PM is being created, the
Note that the calling operation is:
That is, if the |
Any updates on this? Check:
Reason: Some peers appeared when running |
Also hitting this issue... running 2 nodes and 4 signing nodes, running locally with different ports and connected via admin.addPeers() - usually works with just 2 nodes and 2 signers |
@REPTILEHAUS have you tried what is in my comments? When you list the peers, are all of them well known to you? |
We also ran into many issues; we changed many things along the way, maybe something might solve your issue:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
System information
Geth Version: 1.6.7-stable
OS & Version: CentOS Linux release 7.3.1611
Architecture: amd64
Protocol Versions: [63 62]
Go Version: go1.8.3
Expected behaviour
Sync block#1 successfully
Actual behaviour
Discarded block#1
Steps to reproduce the behaviour
Not sure if this occurs with POW.
It may also happen with 2 or 3 nodes.
If add peers after starting mining on 1 node, other nodes will sync block#1 successfully.
The text was updated successfully, but these errors were encountered: