Add pubsubTopic field to index (#492)

This commit is contained in:
Hanno Cornelius 2022-03-02 14:15:40 +01:00 committed by GitHub
parent 3d8f42d457
commit a241d3c4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,7 @@ message Index {
bytes digest = 1;
sint64 receiverTime = 2;
sint64 senderTime = 3;
string pubsubTopic = 4;
}
message PagingInfo {
@ -103,6 +104,7 @@ To perform pagination, each `WakuMessage` stored at a node running the `13/WAKU2
The hash is computed over the concatenation of `contentTopic` and `payload` fields of a `WakuMessage` (see [14/WAKU2-MESSAGE](/spec/14)).
- `receiverTime`: the UNIX time in nanoseconds at which the waku message is received by the receiving node.
- `senderTime`: the UNIX time in nanoseconds at which the waku message is generated by its sender.
- `pubsubTopic`: the pubsub topic on which the waku message is received
### PagingInfo