Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Waku mail client implementation #141
Starting on mail client as in https://github.com/vacp2p/specs/blob/master/waku.md#mailserver-and-client .
Some parts are unclear:
No, it's different packet code. The documentation misses a fragment about a packet 125 which is implemented in our for of Whisper.
I will take care of this today. Issue.
Here is how a regular envelope is validated vs how a p2p envelope is validated. p2p messages pretty much are not validated at all because they are assumed that they were already validated by mailserver.
Yes, the first link is for regular message adding to the queue.
I'm actually quite confused as there seem to be two implementations for this:
From looking at the server counterpart, I have the impression it just checks the PoW value: https://github.com/status-im/status-go/blob/a636f33109130a9151553abf5e0253e35994ef60/mailserver/mailserver.go#L798
For the actual message envelopes send via P2P Message, it makes sense that validation is skipped.