-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Invalid block relays #193
Comments
What's solutions for this? Any where I can get that bootstrap? |
From my basic analysis, it appears that the block is being transmitted to the network prior to the leveldb commit finalizing. So when the consensus nodes start up again, they don't have the block. I have not been able to trace it to a file or line number. |
FYI if @coranos comment was correct, this is probably fixed by my pull request here: #237 |
Possibly a timing issue on a consensus node could also cause this issue. Should probably create a scenario that reproduces it on a private net. |
Consensus nodes probably need to listen for blocks from the network for some duration before rejoining consensus, otherwise they may miss a block they've broadcasted but failed to persist. |
Dicarlo2 is correct. They should listen for at least one consensus before rejoining consensus (or wait for 2x the consensus timeout, in case all consensus nodes are down) Here's how to reproduce the scenario:
Most networks have uncle block rollback, NEO does not. |
neotracker does not track all the Nep 5 tokens ! |
@Leondelcrypto this is not a relevant comment on this issue please raise a new issue with the neotracker GitHub repo pls Thanks |
It's possible this scenario would not cause nearly as many problems for nodes that include this change: |
This has been probably solved by avoiding the expose of CN signatures when crashing or after network delays that could cause view to change. Commit f88c427 probably solved that. Fell free to open it again for further investigation or discussion. |
It looks like the issue that happened with block 2000190 has happened again:
http://monitor.cityofzion.io/
Over half of the nodes are stuck on block 2022689.
I had originally created CityOfZion/neo-python#302 for this, but it seems like this issue would be better addressed at the system level to prevent invalid blocks from being transmitted in the first place.
It looks like this is the invalid block hash for block 2022689:
1164457854190e4c20c0b805e0bad3f3f9c0fe50bd59308751e8c3541c38ca70
The proper block hash is:
8d23af0e0e30fffdb48bd25ea1a0049add3a48f0d2134de86adf0ce06b650488
.The text was updated successfully, but these errors were encountered: