vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Simplify Waku Mailserver interface with req/resp #24

Closed oskarth closed 3 years ago

oskarth commented 4 years ago

Problem

Right now the Waku mailserver API is needlessly complex https://specs.vac.dev/specs/waku/mailserver.html and lack of more direct req/resp API makes working with them convoluted and error prone.

Solution

Investigate and propose what a KISS alternative would be with a more simple req/resp, as well what implications it would have for security etc.

Acceptance criteria

RFC / raw spec and PoC (e.g.).

oskarth commented 4 years ago

IIRC you were looking into this before @decanus but not sure it was captured in an issue? Assigning you to capture this, if this isn't reasonable with commitment/time scale please adjust

Also cc @cammellos fyi if you know more about previous efforts here

oskarth commented 4 years ago

See https://github.com/status-im/specs/pull/54#issuecomment-543588052 for historical convo

decanus commented 4 years ago

Started research: https://github.com/vacp2p/specs/pull/116

oskarth commented 4 years ago

@decanus can we finish this up to a point where we can hand it over to Stimbus with issues for improvements?

Then we can reformulate this in the context of Waku v2 track 1