Skip to content

Ensure light node receives all headers after initial sync #12

@mappum

Description

@mappum

The light node opportunistically skips as many blocks as it safely can when syncing to minimize the amount of data used when verifying the chain. But consumers sometimes need to check specific heights for state verification, which could possibly be skipped.

To fix this, we could stop skipping blocks once we are synced to the present block, so consumers are guaranteed to receive all headers after that point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions