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

Setup GraphSync network interface #442

Merged
merged 6 commits into from
May 26, 2020
Merged

Conversation

austinabell
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • In the theme of doing incrementally, this PR just sets up the framework but will leave out logic around actual peer management and request handling to be done in seperate PRs

Just opening as draft for now for transparency and any comments or reviews are welcome :)

I'm planning on finishing the codec impls (should be easy since logic done already in previous) and ensuring all todos added shouldn't be resolved now, then I will open this PR and open any sub issues

Reference issue to close (if applicable)

Closes #382

Other information and links

Copy link
Contributor

@dutterbutter dutterbutter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

framework lgtm

Comment on lines 51 to 57
// self.events
// .push_back(NetworkBehaviourAction::NotifyHandler {
// peer_id,
// // TODO once request manager logic built out
// event: todo!(),
// handler: NotifyHandler::Any,
// });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove for now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah was just leaving for convenience, I'll remove for now tho

@austinabell austinabell merged commit 91f44e2 into master May 26, 2020
@austinabell austinabell deleted the austin/graphsync/network branch May 26, 2020 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graphsync network interface
4 participants