Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-pubsub
Commits
7869425e
Commit
7869425e
authored
Aug 08, 2018
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix indent in protobuf
parent
25f1215c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
pb/rpc.proto
pb/rpc.proto
+10
-10
No files found.
pb/rpc.proto
View file @
7869425e
...
...
@@ -11,7 +11,7 @@ message RPC {
optional
string
topicid
=
2
;
}
optional
ControlMessage
control
=
3
;
optional
ControlMessage
control
=
3
;
}
message
Message
{
...
...
@@ -22,27 +22,27 @@ message Message {
}
message
ControlMessage
{
repeated
ControlIHave
ihave
=
1
;
repeated
ControlIWant
iwant
=
2
;
repeated
ControlGraft
graft
=
3
;
repeated
ControlPrune
prune
=
4
;
repeated
ControlIHave
ihave
=
1
;
repeated
ControlIWant
iwant
=
2
;
repeated
ControlGraft
graft
=
3
;
repeated
ControlPrune
prune
=
4
;
}
message
ControlIHave
{
optional
string
topicID
=
1
;
repeated
string
messageIDs
=
2
;
optional
string
topicID
=
1
;
repeated
string
messageIDs
=
2
;
}
message
ControlIWant
{
repeated
string
messageIDs
=
1
;
repeated
string
messageIDs
=
1
;
}
message
ControlGraft
{
optional
string
topicID
=
1
;
optional
string
topicID
=
1
;
}
message
ControlPrune
{
optional
string
topicID
=
1
;
optional
string
topicID
=
1
;
}
// topicID = hash(topicDescriptor); (not the topic.name)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment