lambdaclass / lambdaclass/lambda_ethereum_consensus

Make checkpoint sync recursive and smarter

Open
#1,194 0 comments 0 reactions 1 assignee View on GitHub

@avilagaston9 is already working on this.

Since Aug 14, 2024.

Dominant language
Elixir
Stars
109
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Currently we use checkpoint sync to start subscriptions when blocks are finished downloading. However, there's two things we can improve:

  1. If the new slot drifted from the last block downloaded, repeat checkpoint sync, this time with less slots.
  2. If at any point later in the life of a node we get a big chunk of missing blocks (e.g. due to downtime) we can do the sync again until we're up to date. This one needs to be better evaluated but may improve our response to outages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.