nwaku/tests/v2
Sanaz Taheri Boshrooyeh d6c48da071
Pagination: Pagination feature/compute index (#225)
* adds the index object

* adds the indexedWakuMessage

* adds the PagingInfo

* Adds PagingInfo to HistoryResponse and HistoryQuery

* adds the computeIndex procedure

* Update waku/node/v2/waku_types.nim

Fixes spacing issues

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

* Changes timestamp to receivedTime and checks for the  empty contentTopic

* adds a test file for pagination with test scenarios for computeIndex

* changes receivedTimestamp to the unix timestamp

* updates a test case

* replaces std/sha1 with  nimcrypto/sha2

* changes the tests titles

* minor comments

* Some clean up

* fixes some formatting issue

* edits a test-case

* adds comments

* changes the digest type to MDigest[256] and modifies the computeIndex

* fixes formatting issue

* edits indentations and fixes a bug

* minor edits

* changes suite to procSuite and adds a new text case

* fixes all the indentations

* cleanup of the imports

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-20 10:20:44 +08:00
..
test_rpc_waku.nim Begin of waku v2 rpc tests (#210) 2020-10-06 20:36:44 +02:00
test_waku.nim V2cleanup (#115) 2020-08-31 11:32:41 +08:00
test_waku_filter.nim feature/mount-filter-node-api (#181) 2020-10-02 14:48:56 +02:00
test_waku_pagination.nim Pagination: Pagination feature/compute index (#225) 2020-10-20 10:20:44 +08:00
test_waku_store.nim feature/use-crypto-rng (#190) 2020-09-28 23:44:14 +02:00
test_wakunode.nim feature/mount-filter-node-api (#181) 2020-10-02 14:48:56 +02:00
utils.nim Bump submodules (#157) 2020-09-16 12:23:10 +08:00