nwaku/waku/v2/node
Sanaz Taheri Boshrooyeh 7e9dac67c8
Integrates pubsub topic filter in the store json rpc api (#514)
* replaces topics with seq of ContentFilters

* update topics to contentFilter

* updates the contentFilter  structure

 one content  topic per content filter instead of a sequence of topics

* updates store json rpc api

* renames ContentFilter to HistoryContentFilter

* unit test for a query with several content filters

* makes shortcut for store api

* updates chat2

* clean up

* renames topic to contentTopic

* adds pubsub topic to the history query

updates message store interface to return the pubsub topic
updates waku message store implementation
updates database schema to hold pubsub topi per waku message

* clarifies the use of content topic in store api

* clarifies the use of contentTopic in the init method of HistoryContentFilter

* simplifies the test and add comments

* lowers the field number of pubsub topic in historyQuery  protobuf

* captures an empty contentFilter case

* test pubsub topic filter for the entire history and no message match

* demoves duplicates

* adds TODO

* fix a broken comment line

* updates waku store codec

* swaps the order of pubsub topic and content topic in protobuf

* Update waku/v2/protocol/waku_store/waku_store_types.nim

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>

* updates the pubsub topic to the default value

* bumps protocol id

* moves the comment close to IndexedWakuMessage

* adds checks to the store put method

* makes table title a constant variable and retitles the table to Message

* updates the changelog

* minor update

* minor

* adds pubsubtopic to the store json rpc api

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2021-04-28 19:14:03 +08:00
..
jsonrpc Integrates pubsub topic filter in the store json rpc api (#514) 2021-04-28 19:14:03 +08:00
libwaku Libwaku spike start (#510) 2021-04-28 19:13:34 +08:00
peer_manager Add persistent backoff for peers (#497) 2021-04-21 11:36:56 +02:00
scripts Integrates pubsub topic filter in the store json rpc api (#514) 2021-04-28 19:14:03 +08:00
storage Enabling pubsub topic filter in history queries (#492) 2021-04-27 16:52:24 -07:00
README.md Folder restructure (#274) 2020-11-17 17:34:53 +08:00
config.nim Lightpush protocol cont (#506) 2021-04-24 12:56:37 +08:00
nim.cfg Folder restructure (#274) 2020-11-17 17:34:53 +08:00
quicksim2.nim Change contentTopic to string (#463) 2021-04-08 17:55:19 +08:00
start_network2.nim enhancement/unused-import-cleanup (#322) 2020-12-21 10:14:51 +01:00
waku_payload.nim Refactor: Put waku_type content where it belongs (#333) 2021-01-06 17:35:05 +08:00
wakunode2.nim Lightpush protocol cont (#506) 2021-04-24 12:56:37 +08:00

README.md

Waku Node v2

This folder contains code related to running a wakunode2 process. The main entrypoint is the wakunode2 file.

See ../../docs/api/v2/node.md for more details on the the Nim Node API.