Skip to content

HeadersSync tracking issue #33547

Description

@hodlinator

End Goal: Make the headers sync phase quicker and less prone to fail, while improving implementation and test code.

The Bitcoin Optech Podcast episode for Newsletter 322 (https://bitcoinops.org/en/podcast/2024/10/01/) among other things prompted the (re)discovery of the possible improvement of caching headers so they only needed to be downloaded once. To avoid adding unnecessary resource demands on nodes, the number of HeaderSyncState instances created over time should ideally be made more predictable first (see old comments at #25720 (comment) & #25720 (comment)).

Issues

Not required, but getting these in first helps make later changes clearer:

Critical path (not yet ready for general review):

Adjacent:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Tracking IssueTracks longer-running projects and releases. Gathers TODOs, issues, PRs, and status updates.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions