Rename Waku API's "Waku Config" to "Protocols" Config

Make it clearer that with this config, we are configuring the Waku protocols, in contrast to other parameters which are more executable related.

Related to https://github.com/waku-org/nwaku/issues/3493
This commit is contained in:
fryorcraken 2025-10-01 22:20:24 +10:00
parent 5cd0080f32
commit c8bd5c565b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -127,8 +127,8 @@ types:
constraints: [ "edge", "core" ] constraints: [ "edge", "core" ]
default: "core" # "edge" for mobile and browser devices. default: "core" # "edge" for mobile and browser devices.
description: "The mode of operation of the Waku node; 'edge' of the network: relies on other nodes for message routing; 'core' of the network: fully participate to message routing." description: "The mode of operation of the Waku node; 'edge' of the network: relies on other nodes for message routing; 'core' of the network: fully participate to message routing."
waku_config: protocols_config:
type: WakuConfig type: ProtocolsConfig
default: TheWakuNetworkPreset default: TheWakuNetworkPreset
networking_config: networking_config:
type: NetworkConfig type: NetworkConfig
@ -137,7 +137,7 @@ types:
type: array<string> type: array<string>
description: "Eth/Web3 RPC endpoint URLs, only required when RLN is used for message validation; fail-over available by passing multiple URLs. Accepting an object for ETH RPC will be added at a later stage." description: "Eth/Web3 RPC endpoint URLs, only required when RLN is used for message validation; fail-over available by passing multiple URLs. Accepting an object for ETH RPC will be added at a later stage."
WakuConfig: ProtocolsConfig:
type: object type: object
fields: fields:
entry_nodes: entry_nodes:
@ -237,7 +237,7 @@ values:
discv5_udp_port: 9000 discv5_udp_port: 9000
TheWakuNetworkPreset: TheWakuNetworkPreset:
type: WakuConfig type: ProtocolsConfig
fields: fields:
entry_nodes: [ "enrtree://AIRVQ5DDA4FFWLRBCHJWUWOO6X6S4ZTZ5B667LQ6AJU6PEYDLRD5O@sandbox.waku.nodes.status.im" ] entry_nodes: [ "enrtree://AIRVQ5DDA4FFWLRBCHJWUWOO6X6S4ZTZ5B667LQ6AJU6PEYDLRD5O@sandbox.waku.nodes.status.im" ]
# On TWN, we encourage the usage of discovered store nodes # On TWN, we encourage the usage of discovered store nodes