mirror of https://github.com/vacp2p/rfc.git
Fix content topic inconsistencies (#304)
This commit is contained in:
parent
297d8fd95f
commit
ff25127c0a
|
@ -83,7 +83,7 @@ message FilterRequest {
|
||||||
repeated ContentFilter contentFilters = 3;
|
repeated ContentFilter contentFilters = 3;
|
||||||
|
|
||||||
message ContentFilter {
|
message ContentFilter {
|
||||||
repeated string contentTopics = 1;
|
repeated uint32 contentTopics = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ The `version` field MAY be filled out to allow for various types of payload encr
|
||||||
```protobuf
|
```protobuf
|
||||||
message WakuMessage {
|
message WakuMessage {
|
||||||
optional bytes payload = 1;
|
optional bytes payload = 1;
|
||||||
optional fixed32 contentTopic = 2;
|
optional uint32 contentTopic = 2;
|
||||||
optional uint32 version = 3;
|
optional uint32 version = 3;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -120,7 +120,7 @@ TODO: discuss about the economic spam guarantees
|
||||||
// TODO to reflect this change on WakuMessage spec once the PR gets mature
|
// TODO to reflect this change on WakuMessage spec once the PR gets mature
|
||||||
message WakuMessage {
|
message WakuMessage {
|
||||||
optional bytes payload = 1;
|
optional bytes payload = 1;
|
||||||
optional fixed32 contentTopic = 2;
|
optional uint32 contentTopic = 2;
|
||||||
optional uint32 version = 3;
|
optional uint32 version = 3;
|
||||||
optional ProofBundle proofBundle = 4;
|
optional ProofBundle proofBundle = 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue