From 570afe842602aec1cf435a84b510b6138a3ab5bb Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Wed, 8 Jul 2020 13:31:39 +0800 Subject: [PATCH] Add SubOpts section --- specs/waku/waku-v2.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/specs/waku/waku-v2.md b/specs/waku/waku-v2.md index 30b9cc28..d44c70eb 100644 --- a/specs/waku/waku-v2.md +++ b/specs/waku/waku-v2.md @@ -158,7 +158,13 @@ TODO: Don't quite understand this scenario, to clarify. Wouldn't it always be in ### SubOpts -TODO +To do topic subscription management, we MAY send updates to our peers. If we do so, then: + +The `subscribe` field MUST contain a boolean, where 1 means subscribe and 0 means unsubscribe to a topic. + +The `topicid` field MUST contain the topic. + +NOTE: This doesn't appear to be documented in PubSub spec, upstream? ### Historical message support