fix/filter-sync-with-code (#188)

* Update waku-filter.md

* Update wordlist.txt

* Update waku-filter.md

* Update waku-filter.md
This commit is contained in:
Dean Eigenmann 2020-09-24 04:12:55 +02:00 committed by GitHub
parent cc8926a666
commit 3c3bcc833a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Filter spec.
### Content filtering
**Protocol identifier***: `/vac/waku/filter/2.0.0-alpha5`
**Protocol identifier***: `/vac/waku/filter/2.0.0-alpha6`
Content filtering is a way to do [message-based
filtering](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern#Message_filtering).
@ -66,8 +66,22 @@ message FilterRequest {
message MessagePush {
repeated WakuMessage messages = 1;
}
message FilterRPC {
string request_id = 1;
FilterRequest request = 2;
MessagePush push = 3;
}
```
##### FilterRPC
A node MUST send all Filter messages (`FilterRequest`, `MessagePush`) wrapped inside a
`FilterRPC` this allows the node handler to determine how to handle a message as the Waku
Filter protocol is not a request response based protocol but instead a push based system.
The `request_id` MUST be a uniquely generated string.
##### FilterRequest
TODO Specify mechanism for telling it won't honor (normal-no service-spam case)

View File

@ -54,6 +54,7 @@ FilterRequest
filterRequest
FilterResponse
filterResponse
FilterRPC
FloodSub
GCM
github