Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Ensuring completeness and catching corruption #4

Open
@wking

Description

@wking

As discussed in ipfs/kubo#1195, Git's packfiles have a trailling hash which seems to function as a single check for incomplete/corrupted packs (although I don't see how it could distinguish between the two cases. @chriscool wants some sort of fast, simple check for these issues, but I'd rather handle it in a lower or higher level protocol, and @jbenet wants to wrap the whole archive in a Merkle object (and somehow transport its hash?) and use link hashes to verify correctness and isolate corruption/truncation.

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