Skip to content

Enabling deduplication when retrieving overlapping selectors #224

@tchardin

Description

@tchardin

I have observed when I execute multiple transfers with the same root and different selectors, overlapping blocks are re-transferred. This means clients may pay for the same blocks multiple times.
I am wondering if deduplication should be achieved at the transport level or if simply exposing the doNotSendCids list in user land could let me gather some CIDs with a quick traversal before opening the pull data request so the provider doesn't charge me for the same blocks again. Thanks for your help!
cc @dirkmc @hannahhoward

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