Skip to content

feat: lazy fetching #334

@Wondertan

Description

@Wondertan

Currently, Syncer maintains a continuous range of headers from Tail to Head to be stored locally. If Tail is not the genesis header, users can't request headers below Tail height. This limitation is problematic, forcing users to configure the correct SyncFromHash/Height with node restarts, and requiring them to store headers locally, while there are use cases where you only want to load them without storing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions