-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idea(rln-relay): use rln-relay as a sub-protocol of waku-relay #1460
Comments
@alrevuelta @jm-clius should this be part of Epic 3.2? ? |
Not sure how relevant this still is (I think a lot of the work here has already been done @rymnc ?). Nevertheless, no Epic 3.2 is meant to track the critical MVP for RLN in production, where this is a general improvement not part of the Gen 0 milestone (i.e. we don't need this to be closed to launch). |
not planned since this will be replaced with pluggable validators. |
Background
Details
In it's current state, waku rln relay is perceived as a protocol, whereas, it is a thin layer over waku-relay. It does not have a protocol id, as it uses waku-relay to send and receive messages. waku-relay provides message validation for a given pubsub topic, and we use the rln validation logic there. Therefore, all waku-rln-relay does, is message validation on a given pubsub topic.
There are misconfigurations possible with waku-rln-relay, when operators would like to run spam prevention, but do not realize they need to enable the waku-relay protocol for it to mount correctly.
This proposal aims to feature flag rln/rate-limiting within waku-relay, where it is mounted in tandem with waku-relay, and each form of message validation in rln (which is directly related to the group synchronization) is a different pubsub validator that is applied depending on the configuration passed to waku-relay.
Semantically, this aligns more with the rln/rlnp2p vision and also clears confusion re: the real function of waku-rln-relay.
Acceptance criteria
The text was updated successfully, but these errors were encountered: