Skip to content

Commit 9177ea3

Browse files
committed
Update code Gossipsub partial extension codepoint
1 parent a4cb3c2 commit 9177ea3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pubsub/gossipsub/extensions/extensions.proto

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
syntax = "proto2";
22

33
message ControlExtensions {
4-
// Initially empty. Future canonical extensions will be added here along with
5-
// a reference to their specification.
4+
optional bool partialMessages = 10;
65

76
// Experimental extensions must use field numbers larger than 0x200000 to be
87
// encoded with at least 4 bytes
98

109
optional bool testExtension = 6492434;
1110

12-
optional bool partialMessages = 16418754;
1311
}
1412

1513
message ControlMessage {
@@ -37,14 +35,14 @@ message RPC {
3735
optional ControlMessage control = 3;
3836

3937
// Canonical Extensions should register their messages here.
38+
optional PartialMessagesExtension partial = 10;
4039

4140
// Experimental Extensions should register their messages here. They
4241
// must use field numbers larger than 0x200000 to be encoded with at least 4
4342
// bytes
4443

4544
optional TestExtension testExtension = 6492434;
4645

47-
optional PartialMessagesExtension partial = 16418754;
4846
}
4947

5048
message PartialMessagesExtension {

0 commit comments

Comments
 (0)