mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-08 23:08:09 -05:00
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;
```
p2p-circuit relay
Circuit Switching for libp2p, also known as TURN or Relay in Networking literature.
Specifications: