Skip to content

dash-spv: checksums to validate the integrity of persisted storage #1174

Closed

Description

@ZocoLini

Persisted storage (headers, filters, blocks, ...) is read back without any integrity check, so a corrupted or partially written segment is loaded and used as valid data.

Add checksums to the persisted storage so corruption is detected on load, and the affected data is discarded and synced again instead of being used.

Follow-up of #1169, which validates blocks received from peers but leaves stored blocks unchecked.

Activity

  1. self-assigned this
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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