vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Milestone: RLNlib - RLN-Relay as a standalone scheme #110

Open staheri14 opened 1 year ago

staheri14 commented 1 year ago

So far, we have seen waku-rln-relay as a spam-protected routing protocol of the waku protocol stack, though, it is a limited view of this powerful scheme. The way that it is currently presented, it seems like an intertwined part of the waku code that only serves the Waku stack and is not reusable in any other projects unless they want to use waku. However, this view is not correct, since the rln-relay has a modular design and can live outside of the waku stack, and must be presented as a rate-limiting tool (further abstraction of the rln lib) to the developers and other projects. In the current implementation, the rln-rlay is a separate nim-module whose functions are properly called in different parts of the nwaku node life-cycle including as a topic validator. We would like to shed more light on this fact and present rln-relay as a reusable lib and tool and to do so, the following tasks are envisioned:

staheri14 commented 1 year ago

fyi: @oskarth