-
Notifications
You must be signed in to change notification settings - Fork 237
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 wait-free doppelganger detection #3083
Comments
prysmaticlabs/prysm#7985 (comment) describes one approach to this. |
For history: Discord Message from 2021-04-13
Now that we use sqlite as a DB (and not a kvstore), we can easily do range check for point 1. And point 2, was closed after we launched I-don't-remember-which testnet |
Good thing we have 3s restarts now then :) |
Upon start-up, Nimbus can check whether the local slashing protection database suggests that the node was just restarted (by looking for records from the epoch immediately preceding the current one). Under such conditions, it's safer to start attesting immediately. We can call this mode
--doppelganger-detection:auto
and it will be suitable as a new default.The text was updated successfully, but these errors were encountered: