Files
specs/relay
Max Inden ef4c029568 relay/DCUtR: Make message type field required (#375)
The `type` field of the DCUtR message definition should not be
`optional`, as a message without a `Type` is useless. Instead it should
be `required`.

See also circuit relay v2 specification using `required` for `type`.

```protobuf
message HopMessage {
  enum Type {
    RESERVE = 0;
    CONNECT = 1;
    STATUS = 2;
  }

  required Type type = 1;
```

```protobuf
message StopMessage {
  enum Type {
    CONNECT = 0;
    STATUS = 1;
  }

  required Type type = 1;
```
2021-11-22 21:18:31 +01:00
..
2021-10-17 02:52:19 -07:00
2021-09-04 03:08:19 -07:00

p2p-circuit relay

Circuit Switching for libp2p, also known as TURN or Relay in Networking literature.

Specifications: