mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-09 15:28:03 -05:00
Make messageIDs bytes instead of strings
Rationale: - go-libp2p currently produces non-utf8 strings - making this bytes allows more flexibility in creating message ids, e.g. - random bytes - hashes
This commit is contained in:
@@ -520,11 +520,11 @@ message ControlMessage {
|
||||
|
||||
message ControlIHave {
|
||||
optional string topicID = 1;
|
||||
repeated string messageIDs = 2;
|
||||
repeated bytes messageIDs = 2;
|
||||
}
|
||||
|
||||
message ControlIWant {
|
||||
repeated string messageIDs = 1;
|
||||
repeated bytes messageIDs = 1;
|
||||
}
|
||||
|
||||
message ControlGraft {
|
||||
|
||||
Reference in New Issue
Block a user