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

Headers-only support in graphsync fetcher #3580

Closed
ZenGround0 opened this issue Oct 22, 2019 · 0 comments
Closed

Headers-only support in graphsync fetcher #3580

ZenGround0 opened this issue Oct 22, 2019 · 0 comments

Comments

@ZenGround0
Copy link
Contributor

Description

A recent spec proposal reiterates the need to separate header fetching from full block fetching. A first step to achieve this is to add headers-only fetching support to the graphsync fetcher.

Acceptance criteria

The graphsync fetcher is extended to include functions for fetching headers only.

Risks + pitfalls

  • Selector foo is hard
  • tests are already big and unwieldy, let's try to make tests cleaner with this PR

Where to begin

Probably the vast majority of fetcher logic can be abstracted into a common method figure out a nice shared abstraction.

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

No branches or pull requests

1 participant