-
Notifications
You must be signed in to change notification settings - Fork 286
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
Feature: Liveness endpoint for doppelganger protection interop #4453
Comments
Some reading / resources: I made an attempt at observing liveness based on state, but it's not really as reliable as i'd like. Once we're on Altair it does improve, and but a validator can attest as much as 32 blocks late, so it might be a little dangerous to rely completely on state. Lighthouse has a working implementation of this, and lots of corner cases etc have been identified, which would help with testing of an overall doppelganger protection solution. |
This cache is specifically needed to service rest api requests, so is not required if we are not using the rest api. The rest endpoint is yet to be approved, so leaving it marked experimental until the endpoint is finalized. Currently feature flagged with 'Xbeacon-liveness-tracking-enabled', which is a hidden CLI option. Enabling will keep a 2d array of as much as 3x (the max validator index+1000) to maintain where validators have been seen. partially addresses Consensys#4453 Signed-off-by: Paul Harris <[email protected]>
* Add a cache to track liveness of validators This cache is specifically needed to service rest api requests, so is not required if we are not using the rest api. The rest endpoint is yet to be approved, so leaving it marked experimental until the endpoint is finalized. Currently feature flagged with 'Xbeacon-liveness-tracking-enabled', which is a hidden CLI option. Enabling will keep a 2d array of as much as 3x (the max validator index+1000) to maintain where validators have been seen. partially addresses #4453 Signed-off-by: Paul Harris <[email protected]>
partially addresses Consensys#4453 Signed-off-by: Paul Harris <[email protected]>
* Acceptance test for liveness endpoint partially addresses #4453 Signed-off-by: Paul Harris <[email protected]>
Description
I'd love to see a liveness endpoint implemented, at
/eth/v1/validator/liveness
. This would make it possible to use the doppelganger protection in a Lighthouse validator client with Teku, and thus Infura.The text was updated successfully, but these errors were encountered: