-
Notifications
You must be signed in to change notification settings - Fork 95
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
MAM handling layer #119
MAM handling layer #119
Conversation
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.
Hey Philipp, thanks for the PR! We really appreciate your contribution. I have added some review comments, mostly semantic things.
Thanks for the review. I'll have a closer look on it soon. The thing that makes me wondering in the javascript implementation (and I transferred the logic here) is, that the messages in a private channel gets encrypted with |
Co-Authored-By: Luca Moser <moser.luca@gmail.com>
Co-Authored-By: Luca Moser <moser.luca@gmail.com>
Co-Authored-By: Luca Moser <moser.luca@gmail.com>
Any further comments on this? |
You'll have to wait a little, I am currently busy with IRI. Will have another look at your PR once I'm done. |
Users of the JavaScript library need to use I've added some further review comments as the logic inside |
Ok, so let me just clarify the user interface here. Taken form the javascript implementation, the differences between the channel modes are...
Is the purpose of the private mode to obfuscate the transaction address? Or should there be more differences? |
|
Thanks for clarify! This logic is currently not reflected in the interface. Currently, it's easily usable in a wrong/insecure way. I'll do some more checks and a refactoring. |
Thanks for your PR! |
You're welcome. Thanks for merging! |
Description
Added a layer to transmit and receive MAM messages.
The logic is based on
MAM.client.js
. I've scratched my head over some parts of the JS implementation, so I advise a careful review.Fixes #118
Type of change
How Has This Been Tested?
Test first. There are Unit-tests and I wrote two example programs to transmit and receive messages to/from the tangle.
Checklist: