-
Notifications
You must be signed in to change notification settings - Fork 74
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
Implement equivocations #698
Comments
After chatting a bit, this should be done even if one of the blocks is not a descendant of the latest finalized block. |
Another thing to note is that we need to keep in memory the votes that were downloaded when we perform a warp syncing, in order to make sure to detect double-voting with the warp syncing as well. |
Substrate source code for Babe equivocations: https://github.com/paritytech/substrate/blob/dddfed3d9260cf03244f15ba3db4edf9af7467e9/client/consensus/babe/src/lib.rs#L1094 |
We should report when a block author authors two different blocks with the same slot.
Similarly, GrandPa should detect voting for two different blocks of the same height.
Very long term issue.
The text was updated successfully, but these errors were encountered: