mirror of
https://github.com/vacp2p/rfc.git
synced 2025-01-13 00:04:56 +00:00
Update differences between Whisper and Waku (#69)
* Update differences between Whisper and Waku * Only allow list of envelopes in P2P Message packet
This commit is contained in:
parent
a67b08068a
commit
52d2412ed0
12
waku.md
12
waku.md
@ -365,7 +365,7 @@ The envelope MUST be signed with a symmetric key agreed between the requester an
|
|||||||
|
|
||||||
#### Receiving historic messages
|
#### Receiving historic messages
|
||||||
|
|
||||||
Historic messages MUST be sent to a peer as a packet with a P2P Message code (`0x7f`) followed by an array of Waku envelopes. It is incompatible with the original Whisper spec (EIP-627) because it allows only a single envelope, however, an array of envelopes is much more performant. In order to stay compatible with EIP-627, a peer receiving historic message MUST handle both cases.
|
Historic messages MUST be sent to a peer as a packet with a P2P Message code (`0x7f`) followed by an array of Waku envelopes.
|
||||||
|
|
||||||
In order to receive historic messages from a mailserver, a node MUST trust the selected mailserver, that is allow to receive expired packets with the P2P Message code. By default, such packets are discarded.
|
In order to receive historic messages from a mailserver, a node MUST trust the selected mailserver, that is allow to receive expired packets with the P2P Message code. By default, such packets are discarded.
|
||||||
|
|
||||||
@ -523,9 +523,13 @@ Features considered for waku/1:
|
|||||||
|
|
||||||
Summary of main differences between this spec and Whisper v6, as described in [EIP-627](https://eips.ethereum.org/EIPS/eip-627):
|
Summary of main differences between this spec and Whisper v6, as described in [EIP-627](https://eips.ethereum.org/EIPS/eip-627):
|
||||||
|
|
||||||
- RLPx subprotocol is changed from `shh/6` to `waku/0`
|
- RLPx subprotocol is changed from `shh/6` to `waku/0`.
|
||||||
- Light node capability
|
- Light node capability is added.
|
||||||
- Whisper Mail Server and Whisper Mail Client implemented
|
- Optional rate limiting is added.
|
||||||
|
- Status packet has following additional parameters: light-node,
|
||||||
|
confirmations-enabled and rate-limits
|
||||||
|
- Mail Server and Mail Client functionality is now part of the specification.
|
||||||
|
- P2P Message packet contains a list of envelopes instead of a single envelope.
|
||||||
|
|
||||||
## Acknowledgements
|
## Acknowledgements
|
||||||
- Kim De Mey
|
- Kim De Mey
|
||||||
|
Loading…
x
Reference in New Issue
Block a user