nwaku/waku/v2/protocol
Sanaz Taheri Boshrooyeh fda5128cc1
WIP: Waku-rln-relay: Message validation and double signaling detection (#769)
* adds ProofMetadata

* adds EPOCH_INTERVAL

* adds messageLog field

* adds updateLog, toEpoch, fromEpoch, getEpoch, compareTo

* adds unit test for toEpoch and fromEpoch

* adds unit test for Epoch comparison

* adds result codes for updateLog

* adds unit test for update log

* renames epoch related consts

* modifies updateLog with new return type and new logic of spam detection

* adds unit text for the modified updateLog

* changes max epoch gap type size

* splits updateLog into two procs isSpam and updateLog

* updates unittests

* fixes a bug, returns false when the message is not spam

* renames messageLog to nullifierLog

* renames isSpam to hasDuplicate

* updates the rln validator, adds comments

* adds appendRLNProof proc plus some code beatification

* unit test for validate message

* adds unhappy test to validateMessage unit test

* renames EPOCH_UNIT_SECONDS

* renames MAX_CLOCK_GAP_SECONDS

* WIP: integration test

* fixes compile errors

* sets a real epoch value

* updates on old unittests

* adds comments to the rln relay tests

* adds more comments

* makes rln import conditional

* adds trace log for the valid messages

* brings the log trace one line up
2021-11-23 14:48:40 -08:00
..
waku_filter Update submodules: differentiate between local and remote `PeerInfo` (#730) 2021-10-06 14:29:08 +02:00
waku_lightpush Update submodules: differentiate between local and remote `PeerInfo` (#730) 2021-10-06 14:29:08 +02:00
waku_rln_relay WIP: Waku-rln-relay: Message validation and double signaling detection (#769) 2021-11-23 14:48:40 -08:00
waku_store Fix: store dimensioning issues (#758) 2021-11-03 11:59:51 +01:00
waku_swap Update submodules: differentiate between local and remote `PeerInfo` (#730) 2021-10-06 14:29:08 +02:00
README.md Folder restructure (#274) 2020-11-17 17:34:53 +08:00
waku_message.nim WIP: Waku-rln-relay: Message validation and double signaling detection (#769) 2021-11-23 14:48:40 -08:00
waku_relay.nim Restructuring Rln-Relay mounting process (#722) 2021-09-24 10:32:45 -07:00

README.md

Waku v2 protocol

This folder contains implementations of Waku v2 protocols.