nwaku/waku/v2/protocol
Sanaz Taheri Boshrooyeh 6c8ab0ab0f
Feat(rln-relay): enables two modes of onchain and offchain (#992)
* adds the contract handler file

* adds integration test for the group listening

* adds groupManagement proc

* deletes rln relay contract handler file

* brings back all the tests

* replaces toUINT256 with getIdCommitment proc

* replaces individual futures with an array of futures

* adds code documentation

* asyncSpawn instead of await

* adds untitest for toIDCommitment and toUInt256

* reorganizes the test and add rlnInstance

* mounts handleGroupUpdates on the rln peer

* asyncSpawn to await

* implements toIDCommitment

* updates the unittest

* improves the code documentation

* removes unused tests

* WIP

* uncomments the tests

* defines a new mountRlnRelayStatic proc

* splits mountRlnRelay into two procs for dynamic and static group management

* adds a config for off-chain and on-chain rln-relay

* runs dynamic or static mode of rln-relay based on the input config

* adds Eth private key and account configs

* reads Eth private key and account the configs

* comments put the second register proc

* add proper call to the rlnrelay dynamic mode

* adds todo

* adds new rln relay configs

* splits register into two procs

* makes eth account private key non-optional

* removes getIdCommitment and edits the register proc

* removes getIdCommitment calls

* uncomments the commented tests

* fixes a bug

* removes contract deployment for the offchain test

* fixes a bug, edits comments

* removes custom types  without proper parsing and serialization routines from the configs

* fixes a bug

* switches to stew byte utils

* removes log decoding

* WIP

* updates register proc

* edits test titles

* removes eth private key config

* changes the output of register proc to return the registered index

* integrates the registration process into mountRlnRelayDynamic

* integration test for the register proc

* brings back the onchain tests

* updates comments

* cleans up

* disambiguates the Address type namespace

* fixes type ambiguities

* adds default values for rln key and index

* updates config descriptions

* adds type conversion from hex to MembershipKeyPair

* adds more code documentation

* passed the group value instead of option  to the mount proc

* fix a bug

* a minor input type fix for rln chat2

* groups let declarations

* adds default values for addresses

* logs registered keys
2022-06-17 15:00:19 -07:00
..
waku_filter feat(store): ability to decouple store from relay (#937) 2022-05-23 20:42:48 +02:00
waku_lightpush Fix incorrect store read buffer limit (#800) 2022-01-06 13:42:37 +01:00
waku_noise feat(noise): add Noise Handshake processing and after-handshake encryption (#934) 2022-06-03 21:12:41 +02:00
waku_rln_relay Feat(rln-relay): enables two modes of onchain and offchain (#992) 2022-06-17 15:00:19 -07:00
waku_store feat(store): sqlite only store (#982) 2022-06-13 19:59:53 +02:00
waku_swap Fix incorrect store read buffer limit (#800) 2022-01-06 13:42:37 +01:00
README.md Folder restructure (#274) 2020-11-17 17:34:53 +08:00
waku_message.nim Updates the type of the `proof` field of wakumessage to `RateLimitProof` (#893) 2022-03-16 13:51:18 -07:00
waku_relay.nim Add bridge docs and minor improvements (#867) 2022-02-28 18:16:50 +01:00

README.md

Waku v2 protocol

This folder contains implementations of Waku v2 protocols.