Skip to content

SPV: Post-sync header handler treats repeated block announcements as consecutive heights #207

Description

@pauldelucia

After initial sync, each new block announcement is processed with handle_new_headers. When multiple peers announce the same block hash (e.g., 00000000000000206445…), we treat each announcement as a distinct header and assign consecutive heights: logs show the same hash recorded at heights 2377503, 2377504, 2377505. This misalignment causes downstream validation failures (ChainLocks compare against the wrong header). We should deduplicate post-sync header processing so repeated announcements of the same block do not advance the in-memory height multiple times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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