-
Notifications
You must be signed in to change notification settings - Fork 58
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
feat(Rln relay): Improves rln-chat2 interface, displays links to the registration tx, warns about spam messages #1082
Conversation
I understand that at this moment the goal is to have a prototype where the user is using the command-line. So the comments below are just suggestions 😁 IMO, writing to the stdout (via echo, or via any other means) should only happen from the main application, the nodewaku2 in our case. Can we make the "warning" an event that can be consumed in the future by other APIs (e.g., an android/ios app that wraps the nwaku implementation). In that case, you cannot use the stdout to notify the user. So in this case I would create a callback to the "warning event" and hook it in nodewaku2 and call |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Feel free to mark as ready for review when it is. Agree with @LNSD that the chat2
toy application can do with a cleanup, though this is an effort separate from RLN.
@LNSD I believe that the current implementation is also event-driven. The |
@jm-clius Thanks, forgot to mark it as ready when added the reviewers. It is now marked as ready! |
@LNSD I see, I think your suggestion is about the Update: This implies a bit of careful refactoring (as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
edef3f2
to
6e9740c
Compare
…reface-improvement
Thie PR is a progress towards #1069
Addresses a subset pf comments re "chat interface", namely: