Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement do-no-send-cids extension #69

Merged
merged 1 commit into from
May 27, 2020

Conversation

hannahhoward
Copy link
Collaborator

@hannahhoward hannahhoward commented May 22, 2020

Goals

Provide responder side implementation of https://github.com/ipld/specs/blob/master/block-layer/graphsync/known_extensions.md#do-not-send-cids

Implementation

  • add functionality to peerResponseSender to preload links into the link tracker so blocks aren't sent
  • add decode/encode functionality to/from specified cbor-encoded IPLD structure for cid.Set
  • add code to process extension and pass links on to peerResponseSender in ResponseManager

Provides full implementation of do-no-send-cids on responder side
@hannahhoward hannahhoward changed the base branch from feat/receive-block-hook to master May 27, 2020 23:54
@hannahhoward hannahhoward merged commit ea95356 into master May 27, 2020
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
@mvdan mvdan deleted the feat/exclude-cids-extension branch December 15, 2021 14:16
marten-seemann pushed a commit that referenced this pull request Mar 2, 2023
* clean up and close data transfer correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant