Checkpoint sync
Last updated
Last updated
Consensus clients support syncing from a recent finalized checkpoint. This is substantially faster than syncing from genesis, while still providing all the same features. For more details on this feature see Lighthouse's documentation.
slingnode.ethereum role enables checkpoint sync by default using one of the community maintained endpoints.
Checkpoint sync can be disabled by setting the consensus_checkpoint_sync_enabled to false.
The checkpoint endpoint defaults to Goerli (the same as the network). If you want to use checkpoint sync the on network other than Goerli, you will need to set the consensus_checkpoint_sync_url variable to the desired endpoint (public or private).
The variables are common for all clients, and are defined in 'defaults/main/main.yml'.
Technically, all clients support checkpoint sync however when using slingnode.ethereum with Nimbus this is feature is not currently available. This is due to the way Nimbus implements the checkpoint sync (it requires starting and restarting the client with different flags which is cumbersome to implement cleanly in Docker and Ansible). The table below shows support matrix and links to the client specific documentation for reference.
Client | Available using the role | Official docs |
---|---|---|
It happens that the public endpoints are temporarily unavailable. If that is the case the client will fail to start. If the consensus client fails to start during the initial deployment, this may be the reason. To verify if that is the case, either check the logs in your log analytics solution or login to the server you are deploying to and check container logs.
The exact error message depends on the client.
Lighthouse
yes
Prysm
yes
Teku
yes
Nimbus
no
Lodestar
yes