change "relay" to "sovereign"

This commit is contained in:
fryorcraken 2025-09-26 16:08:15 +10:00
parent 7748d6a9ba
commit b9454e3d97
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -99,7 +99,7 @@ language_mappings:
### Application
This API is designed for generic use and ease across all programming languages, for `edge` and `relay` type nodes.
This API is designed for generic use and ease across all programming languages, for `edge` and `sovereign` type nodes.
## The Waku API
@ -124,8 +124,8 @@ types:
fields:
mode:
type: string
constraints: [ "edge", "relay" ]
default: "relay" # "edge" for mobile and browser devices.
constraints: [ "edge", "sovereign" ]
default: "sovereign" # "edge" for mobile and browser devices.
description: "The mode of operation of the Waku node. Core protocols used by the node are inferred from this mode."
waku_config:
type: WakuConfig
@ -174,7 +174,7 @@ types:
p2p_tcp_port:
type: uint
default: 60000
description: "The TCP port used for libp2p, relay, aka, general p2p message routing. Not applicable for some environments such as the browser."
description: "The TCP port used for libp2p, relay, etc aka, general p2p message routing. Not applicable for some environments such as the browser."
discv5_udp_port:
type: uint
default: 9000
@ -292,7 +292,7 @@ And must use mount and use the following protocols to discover peers:
- [PEER-EXCHANGE](https://github.com/vacp2p/rfc-index/blob/main/waku/standards/core/34/peer-exchange.md)
If the `mode` set is `relay`, the initialised `WakuNode` MUST mount:
If the `mode` set is `sovereign`, the initialised `WakuNode` MUST mount:
- [RELAY](https://github.com/vacp2p/rfc-index/blob/main/waku/standards/core/11/relay.md)
- [LIGHTPUSH](https://github.com/vacp2p/rfc-index/blob/main/waku/standards/core/19/lightpush.md) as service node
@ -308,7 +308,7 @@ And must use mount and use the following protocols to discover peers:
- [RENDEZVOUS](https://github.com/waku-org/specs/blob/master/standards/core/rendezvous.md)
`edge` mode SHOULD be used if node functions in resource restricted environment,
whereas `relay` SHOULD be used if node has no strong hardware or bandwidth restrictions.
whereas `sovereign` SHOULD be used if node has no strong hardware or bandwidth restrictions.
**`message_confirmation`**: