-
Notifications
You must be signed in to change notification settings - Fork 59
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
Upgrade Query Protocol to Spec V0 #25
Conversation
@@ -188,7 +163,7 @@ type clientStream struct { | |||
verifier BlockVerifier | |||
bs blockstore.Blockstore | |||
} | |||
|
|||
*/ | |||
/* This is the old retrieval code that is NOT spec compliant */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same re: commented out code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not delete in this case -- it's the whole old implementation -- need it for reference
8bfda46
to
7c26e57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a reminder to resolve the master test fail before merging this (and rebase)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, as soon as my flaky test PR is merged I can rebase and push up small changes (also depending on whether that other code should be deleted)
defer stream.Close() | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no please don't for now. I'm keeping it around as a reference.
7c26e57
to
bb5e2ac
Compare
Create a network to wrap cbor read/writes and introduce some typechecking, and provide a mockable abstraction
Implements spec v0 of retrieval query protocol. Also defines mocks for network
33c15a1
to
8a238c4
Compare
Goals
Implementation