Skip to content

Commit

Permalink
chore: remove intermediate v1.1 pb protocol message type
Browse files Browse the repository at this point in the history
v1.1.0 was introduced to start the transition to UUID RequestIDs. That
change has since been combined with the switch to DAG-CBOR messaging format
for a v2.0.0 protocol. Thus, this interim v1.1.0 format is no longer needed
and has not been used at all in a released version of go-graphsync.

Fixes: filecoin-project/lightning-planning#14
  • Loading branch information
rvagg committed Jan 31, 2022
1 parent 4e57d92 commit 6b86c3c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 538 deletions.
16 changes: 8 additions & 8 deletions message/pb/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions message/pb/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ option go_package = ".;graphsync_message_pb";
message Message {

message Request {
bytes id = 1; // unique id set on the requester side
int32 id = 1; // unique id set on the requester side
bytes root = 2; // a CID for the root node in the query
bytes selector = 3; // ipld selector to retrieve
map<string, bytes> extensions = 4; // aux information. useful for other protocols
Expand All @@ -17,7 +17,7 @@ message Message {
}

message Response {
bytes id = 1; // the request id
int32 id = 1; // the request id
int32 status = 2; // a status code.
map<string, bytes> extensions = 3; // additional data
}
Expand Down
Loading

0 comments on commit 6b86c3c

Please sign in to comment.