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

transport protocol specification #471

Merged
merged 8 commits into from
Nov 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions content/docs/rfcs/10/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ editor: Oskar Thorén <oskar@status.im>
contributors:
- Sanaz Taheri <sanaz@status.im>
- Hanno Cornelius <hanno@status.im>
- Reeshav Khan <reeshav@status.im>
---

## Abstract
Expand Down Expand Up @@ -133,6 +134,24 @@ For an experimental privacy-preserving economic spam protection mechanism, see [

rshiv marked this conversation as resolved.
Show resolved Hide resolved
See [23/WAKU2-TOPICS](/spec/23) for more information about recommended topic usage.

# Transports

Waku v2 is built in top of libp2p, and like libp2p it strives to be transport agnostic.
We define a set of recommended transports in order to achieve a baseline of interoperability between clients.

This section describes these recommended transports.

Waku client implementations SHOULD support the TCP transport.

Where TCP is supported it MUST be enabled for both dialing and listening, even if other transports are available.

Waku v2 nodes where the environment do not allow to use TCP directly, MAY use other transports.

A Waku v2 node SHOULD support secure websockets for bidirectional communication streams, for example in a web browser context.

A node MAY support unsecure websockets if required by the application or running environment.
rshiv marked this conversation as resolved.
Show resolved Hide resolved


### Discovery domain

Waku v2 can retrieve a list of nodes to connect to using DNS-based discovery as per [EIP-1459](https://eips.ethereum.org/EIPS/eip-1459).
Expand Down