nwaku/tests/v2
Sanaz Taheri Boshrooyeh 50a54cb4ee
Enabling pubsub topic filter in history queries (#492)
* 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

* beta2 to beta3

* minor

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2021-04-27 16:52:24 -07:00
..
membershipContract.txt Rln relay/membership contract (#359) 2021-02-04 12:10:25 -08:00
poseidonHasher.txt Rln relay/membership contract (#359) 2021-02-04 12:10:25 -08:00
test_jsonrpc_waku.nim Updates store json rpc api (#499) 2021-04-23 14:14:40 -07:00
test_message_store.nim Enabling pubsub topic filter in history queries (#492) 2021-04-27 16:52:24 -07:00
test_peer_manager.nim Bump chronos and fix exception tracking issues (#436) 2021-03-26 10:52:04 +01:00
test_peer_storage.nim Add persistent backoff for peers (#497) 2021-04-21 11:36:56 +02:00
test_rln_wrappers.nim Nim wrappers for Rln lib (Key and Params generation) (#373) 2021-02-10 12:51:41 -08:00
test_utils.nim Rln relay/membership contract (#359) 2021-02-04 12:10:25 -08:00
test_waku.nim Bump submodules (#363) 2021-02-02 13:33:59 +02:00
test_waku_bridge.nim Change contentTopic to string (#463) 2021-04-08 17:55:19 +08:00
test_waku_filter.nim Fix filter notifications (#501) 2021-04-22 15:45:13 +02:00
test_waku_lightpush.nim Lightpush protocol cont (#506) 2021-04-24 12:56:37 +08:00
test_waku_pagination.nim Handling initial paging requests over message history of size one (#479) 2021-04-12 10:29:09 -07:00
test_waku_payload.nim Bump chronos and fix exception tracking issues (#436) 2021-03-26 10:52:04 +01:00
test_waku_rln_relay.nim Rln-relay zkp module Nim bindings (#427) 2021-03-31 17:39:27 -07:00
test_waku_store.nim Enabling pubsub topic filter in history queries (#492) 2021-04-27 16:52:24 -07:00
test_waku_swap.nim Update store protocol interface: add history content filter (#488) 2021-04-19 10:38:30 -07:00
test_waku_swap_contracts.nim Better error handling with Results from interactions with swap-contracts-module (#393) 2021-02-25 10:47:48 +08:00
test_wakunode.nim Lightpush protocol cont (#506) 2021-04-24 12:56:37 +08:00
test_web3.nim Improvement/bridge improvements (#429) 2021-03-23 10:04:51 +02:00
utils.nim Refactor: Put waku_type content where it belongs (#333) 2021-01-06 17:35:05 +08:00