mirror of https://github.com/vacp2p/rfc.git
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:
parent
cc8926a666
commit
3c3bcc833a
|
@ -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)
|
||||
|
|
|
@ -54,6 +54,7 @@ FilterRequest
|
|||
filterRequest
|
||||
FilterResponse
|
||||
filterResponse
|
||||
FilterRPC
|
||||
FloodSub
|
||||
GCM
|
||||
github
|
||||
|
|
Loading…
Reference in New Issue