nwaku/waku/v2/node
Sanaz Taheri Boshrooyeh e7c21c2f74
Rln-relay zkp module Nim bindings (#427)
* entirely replaces the prior rln header, the var variables are changed to ptr

* updates the unittest of key_gen

* adds test for update_next_member

* updates membershipKeyGen internals and prototype

* adds createRLNInstance

* adds helpers methods

* adds generateKeyPairBuffer

* cleans up the test and adds comments

* renames  merkleTreeDepth to d

* fixes a buf re decoding the keys into sk and pk

* adds getSKPK proc

* unifies key gen helper procs, adds todos

* comments out the createRLNInstance

* refactors the code based on the updated createRLNInstance interface

* adds the test for the verify proc

* fixes a variable name and replaces random key gen with the real key gen

* tests a simple hash

* adds get_root method

* fixes the data pointer issue and adds the proof breakdown

* adds rln

* adds unit tests for Merkle tree

* adds a sample hash test

* fixes the hash bug and comments out unused part of proof gen test

* cleans up the proof gent test

* replaces unsafeAddr with addr

* fixes an issue in key gen

* updates rln submodule

* fixes the verification problem

* adds a failed test

* replaces an old test scenario with a new one

* handles createRLNInstance output

* working createRLNInstance2

* refactors the code by replacing the old createRLNInstance

* renames createRLNInstance2

* adds documentation and reorganizes rln.nim

* replace echo with debug, renames vars, adds a bad proof test

* minor

* minor

* edits var names

* adds one more check

* adds one more test to the hash

* enforcing exception handling

* adds pacman -Sy

* removes update:true

* activates update
2021-03-31 17:39:27 -07:00
..
jsonrpc Integrate persistent peer storage (#437) 2021-03-26 10:49:51 +02:00
peer_manager Integrate persistent peer storage (#437) 2021-03-26 10:49:51 +02:00
scripts Remove stale rpc code & repair scripts (#365) 2021-02-04 10:39:55 +02:00
storage Integrate persistent peer storage (#437) 2021-03-26 10:49:51 +02:00
README.md Folder restructure (#274) 2020-11-17 17:34:53 +08:00
config.nim Improved description for config items (#410) 2021-03-10 09:03:22 +02:00
nim.cfg Folder restructure (#274) 2020-11-17 17:34:53 +08:00
quicksim2.nim Fix network simulation and remote peer ID CLI argument parsing (#351) 2021-01-25 13:03:52 +02: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 Rln-relay zkp module Nim bindings (#427) 2021-03-31 17:39:27 -07: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.