This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Waku v2: Topic interest behaviour #156
Comments
This issue needs to be amend with another one to make it clear how you express topic interest to another node. |
#160 here is that issue |
oskarth
added a commit
that referenced
this issue
Jul 28, 2020
* Waku v2: Add content filter for waku topics This addresses #156 and #160 * Fix spellcheck and indent * More protobuf fmt * spellcheck * Update specs/waku/waku-v2.md Co-authored-by: Dean Eigenmann <7621705+decanus@users.noreply.github.com> Co-authored-by: Dean Eigenmann <7621705+decanus@users.noreply.github.com>
oskarth
added a commit
that referenced
this issue
Jul 28, 2020
* Waku v2: Add content filter for waku topics This addresses #156 and #160 * Fix spellcheck and indent * More protobuf fmt * Waku v2: Shape up historical API Addresses #164 Also spellcheck and protobuf formating * Spellcheck * Update specs/waku/waku-v2.md Co-authored-by: Dean Eigenmann <7621705+decanus@users.noreply.github.com> Co-authored-by: Dean Eigenmann <7621705+decanus@users.noreply.github.com>
I believe this is solved. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
From vacp2p/research#40:
In PubSub terms, this would be a form of content based filtering, as opposed to topic based filtering.
Acceptance criteria
Ensure there is optional support for content based routing for edge nodes.
Possible Solution
Currently in Waku v2 raw spec https://specs.vac.dev/specs/waku/waku-v2.html, we have a message type with a data field in it. Since the data field is likely to be encrypted, and light nodes need to query a specific topic, this could be a field in the Message type.
To disambiguate from pubsub topics, which are used for routing, a suggestion is to call this field
contentTopic
. This also means consumers such as Status would be able to continue mapping Waku v1 topics to contentTopic.This could also be called something like
contentFilter
The text was updated successfully, but these errors were encountered: