Skip to content
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

Enabling slashing spammers in RLN-Relay #136

Open
4 tasks
staheri14 opened this issue Sep 12, 2022 · 0 comments
Open
4 tasks

Enabling slashing spammers in RLN-Relay #136

staheri14 opened this issue Sep 12, 2022 · 0 comments
Labels
track:rln RLN Track (Secure Messaging/Applied ZK), primarily the RLN primitive

Comments

@staheri14
Copy link
Contributor

staheri14 commented Sep 12, 2022

Problem

So far, the rln-relay membership group by implementation had an insertion-only structure. Member deletion was not supported mostly since the killic lib lacked the corresponding API. But this issue is resolved in the zero-kit, hence now is the time to implement the slashing part as well.

This issue is to capture the necessary steps:

  • Updating the membership contract to accept slashed keys and to emit deletion events (RFC update + nim update)
  • Identifying the secret id key of the spammers and sending a tx to the contract to remove them
  • Listening to the deletion events emitted from the contract and updating the tree
  • Dogfooding
@staheri14 staheri14 added the track:rln RLN Track (Secure Messaging/Applied ZK), primarily the RLN primitive label Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
track:rln RLN Track (Secure Messaging/Applied ZK), primarily the RLN primitive
Projects
None yet
Development

No branches or pull requests

1 participant