Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Waku 0 spec improvements #47

Closed
14 of 17 tasks
decanus opened this issue Nov 25, 2019 · 14 comments
Closed
14 of 17 tasks

Waku 0 spec improvements #47

decanus opened this issue Nov 25, 2019 · 14 comments
Assignees

Comments

@decanus
Copy link
Contributor

decanus commented Nov 25, 2019

Mailserver

  • Clean up vocabulary, is it mailserver and mailserver client? mailclient? mailserver node? historynode? etc

ABNF

  • Run ABNF validator, ensure it parses (can map to rlp shortcut types like '[' or 'rlp list' etc
  • ABNF for whisper envelope

Out of scope for waku v0 (create issue only)

@decanus
Copy link
Contributor Author

decanus commented Nov 26, 2019

Outline difference between bridging and data format

@oskarth I think you created this todo, what does this mean exactly?

@oskarth
Copy link
Contributor

oskarth commented Nov 26, 2019

Outline difference between bridging and data format

There's a difference between being compatibility protocols and compatibility at data layer. I.e. Waku/0 is a different subprotocol, so it isn't compatible with Whisper v6, hence bridge. However, its envelopes content are identical/compatible, so naive bridging without knowing content works. This difference should be clear in the spec.

Additionally, for waku/1 waku/2 etc, we might want to do some form of protocol negotiation, so it defaults to the lowest commonly supported protocol.

@decanus
Copy link
Contributor Author

decanus commented Nov 26, 2019

@kdeme @adambabik it may make sense for you guys to document the Implementation Notes as I have never implemented a waku / whisper node its hard for me to judge.

@oskarth oskarth changed the title Waku spec improvements Waku 0 spec improvements Nov 28, 2019
@oskarth
Copy link
Contributor

oskarth commented Nov 28, 2019

Document further differences with Whisper v6

@kdeme any chance you could take a look at this one? Changelog in spec has section "Differences between shh/6 waku/0" and it'd be great if all the major differences were there. E.g. handshake business and whatnot

@oskarth
Copy link
Contributor

oskarth commented Dec 2, 2019

@decanus @kdeme what's the state of this issue?

@oskarth
Copy link
Contributor

oskarth commented Dec 2, 2019

Rate limit should be added from here too status-im/specs#60

@oskarth
Copy link
Contributor

oskarth commented Dec 2, 2019

Suggestion for:

Document recommendations for mobile nodes node

Write use light node for now, then in PR ask Adam and Kim for review to get more potential tricks

@oskarth oskarth mentioned this issue Dec 2, 2019
@decanus
Copy link
Contributor Author

decanus commented Dec 5, 2019

@oskarth gonna mark Think about how to maintain forwards capability for waku/v0 (#41) as resolved as there is an open discussion around it.

@decanus
Copy link
Contributor Author

decanus commented Dec 5, 2019

@oskarth to the point of Port handshake paragraph from, are we happy with the current paragraph in the status message or do you feel like we need to add more detail?

@oskarth
Copy link
Contributor

oskarth commented Dec 5, 2019

@oskarth to the point of Port handshake paragraph from, are we happy with the current paragraph in the status message or do you feel like we need to add more detail?

https://github.com/status-im/specs/blob/master/status-whisper-usage-spec.md#handshake this seems fine to me, I believe our ABNF etc doesn't reflect this state (after rate limiting discussion)

https://specs.vac.dev/waku.html handshake section doesn't mention optional stuff, and grammar is wrong

@decanus
Copy link
Contributor Author

decanus commented Dec 5, 2019

Document further differences with Whisper v6 (Kim?)

@kdeme is this done for you? if so check the box please.

@decanus
Copy link
Contributor Author

decanus commented Dec 5, 2019

Implementation notes and have something similar but lightweight to https://tools.ietf.org/html/rfc8446#appendix-C (ping client implementers)

also @kdeme this would be useful for you to comment on, do you have any implementation notes?

@decanus
Copy link
Contributor Author

decanus commented Dec 7, 2019

@oskarth I think we can consider this done, the ABNF stuff is in a different issue & we may be too early for recommendations and implementation notes. Not sure if @kdeme has thought about those 2.

@oskarth
Copy link
Contributor

oskarth commented Dec 9, 2019

Sounds good to me, lets close it

@oskarth oskarth closed this as completed Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants