-
Notifications
You must be signed in to change notification settings - Fork 239
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
Consider checkpoint sync to main beacon node startup #3285
Comments
TODO:
|
For those looking for behavior similar to checkpoint sync in other clients:
|
This would be nice! |
Yes, huge +1 on this. I'm new to the ETH staking community, and this particular UX discomfort was a big negative of Nimbus compared to others (Lighthouse, Teku, I think Prysm has it or something like it too?) |
Just ran into this after my disk filled up. Especially with Docker images and volumes to fuss around with, a flag is nicer than a separate command. |
https://nimbus.guide/start-syncing.html#checkpoint-sync You can use |
Only |
Thanks @etan-status, I will use that next time! Curious to try |
Are there any plans to support checkpoint sync without specifying a block root/state root ahead of time? I think it could still be slightly more ergonomic, as it wouldn't require editing |
Yes, with EIP-7658 it would be possible to bake in a deeply finalized block root into the network metadata and start syncing from there. With light client data being backfillable, its availability on the network would improve, and when full data from the deeply finalized block to a recent one is available, syncing can be performed automatically. Operation based on a trusted server requires the additional |
EIP-7658 is in this PR: ethereum/consensus-specs#3614 |
@michaelsproul re Lighthouse LC data server, would be great to get feedback on ethpandaops/checkpointz#143 whether it is acceptable to proxy the LC related routes for you as well. Nimbus/Lodestar are fine with it. |
--trusted-node-url
and--backfill
as command line arguments to the normalnimbus_beacon_node
command (i.e. "no action"), and include them if the user specified that they would like to checkpoint sync. I would then set--trusted-node-url
to whatever they specified, and--backfill
to false so Nimbus pulls the historical blocks from gossip once checkpoint syncing has completed.trustedNodeSync
action, I have to manually determine whether or not Nimbus has sync'd before starting it up, and whether or not to start with the special action first and then restart into the conventional mode after. I'd strongly suggest removing the explicit action and building support for this into the "no action" mode so the client itself can make this determination and behave accordingly.Originally posted by @jclapis in #3209 (comment)
The text was updated successfully, but these errors were encountered: