Skip to content

Don't propose/attest blocks during sync #236

Description

@pablodeymo

In the sync process, we don't have the full picture to propose or attest blocks. We should determine if we are still syncing in some way, and skip block proposal/attestation duties until we catched up.

We already have a flag that shows if we're syncing, but it's only used for metrics, and doesn't use a good enough heuristic to use for blocking proposals/attestations. However, the spec recently merged leanEthereum/leanSpec#708, which adds this functionality, with a better heuristic. We should implement and test this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions