You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message store retention policy. Time retention policy: time:<seconds>. Capacity retention policy: capacity:<count>. Size retention policy: size:<xMB/xGB>. Set to none to disable
store-message-db-url
sqlite://store.sqlite3
The database connection URL for persistent storage
store-message-db-vacuum
false
Enable database vacuuming at start. Only supported by SQLite database engine
store-message-db-migration
true
Enable database migration at start
Filter config
Name
Default Value
Description
filter
false
Enable filter protocol: true|false
filternode
Peer multiaddr to request content filtering of messages
filter-subscription-timeout
300 # 5 minutes
Timeout for filter subscription without ping or refresh it, in seconds. Only for v2 filter protocol
filter-max-peers-to-serve
1000
Maximum number of peers to serve at a time. Only for v2 filter protocol
filter-max-criteria
1000
Maximum number of pubsub and content topic combinations per peer at a time. Only for v2 filter protocol
Light push config
Name
Default Value
Description
lightpush
false
Enable lightpush protocol: true|false
lightpushnode
Peer multiaddr to request lightpush of published messages
REST HTTP config
Name
Default Value
Description
rest
false
Enable Waku REST HTTP server: true|false
rest-address
127.0.0.1
Listening address of the REST HTTP server
rest-port
8645
Listening port of the REST HTTP server
rest-relay-cache-capacity
30
Capacity of the Relay REST API message cache
rest-admin
false
Enable access to REST HTTP Admin API: true|false
rest-allow-origin
Allow cross-origin requests from the specified origin. When using the REST API in a browser, specify the origin host to get a valid response from the node REST HTTP server. This option may be repeated and can contain wildcards (?,*) for defining URLs and ports such as localhost:*, 127.0.0.1:8080, or allow any website with *
Metrics config
Name
Default Value
Description
metrics-server
false
Enable the metrics server: true|false
metrics-server-address
127.0.0.1
Listening address of the metrics server
metrics-server-port
8008
Listening HTTP port of the metrics server
metrics-logging
true
Enable metrics logging: true|false
DNS discovery config
Name
Default Value
Description
dns-discovery
false
Enable discovering nodes via DNS
dns-discovery-url
URL for DNS node list in format 'enrtree://<key>@<fqdn>'
dns-discovery-name-server
["1.1.1.1", "1.0.0.1"]
DNS name server IPs to query. Argument may be repeated
Discv5 config
Name
Default Value
Description
discv5-discovery
false
Enable discovering nodes via Node Discovery v5
discv5-udp-port
9000
Listening UDP port for Node Discovery v5
discv5-bootstrap-node
Text-encoded ENR for bootstrap node. Used when connecting to the network. Argument may be repeated
discv5-enr-auto-update
false
Discovery can automatically update its ENR with the IP address
discv5-table-ip-limit
10
Maximum amount of nodes with the same IP in discv5 routing tables
discv5-bucket-ip-limit
2
Maximum amount of nodes with the same IP in discv5 routing table buckets
discv5-bits-per-hop
1
Kademlia's b variable, increase for less hops per lookup
Non-relay, request-response protocol DOS protection configuration
Name
Default Value
Description
rate-limit
This is a repeatable option. Each can describe a specific rate limit configuration for a particular protocol. Formatted as:<protocol>:volume/period<time-unit> - if protocol is not given, settings will be taken as default for un-set protocols. Ex: 80/2s -Supported protocols are: lightpush|filter|px|store|storev2|storev3 -volume must be an integer value, representing number of requests over the period of time allowed. -period<time-unit> must be an integer with defined unit as one of h|m|s|ms - storev2 and storev3 takes precedence over store which can easy set both store protocols at once. - In case of multiple set of the same protocol limit, last one will take place. - if config is not set, - which is the default - means unlimited requests are allowed. -filter has a bit different approach. It has a default setting applied if not overridden. Rate limit setting for filter will be applied per subscriber-peers, not globally - it must be considered when changing the setting.
Examples: --rate-limit="100/1s" - default for all protocols if not set otherwise. --rate-limit="lightpush:0/0s" - lightpush protocol will not be rate-limited. --rate-limit="store:130/1500ms" - both store-v3 and store-v2 will apply 130 request per each 1500ms separately. --rate-limit="px:10/1h" PeerExchange will serve only 10 requests every hour. --rate-limit="filter:8/5m" - will allow 8 subs/unsubs/ping requests for each subscriber within every 5 min.
:::tip
To configure your node using the provided configuration options, have a look at the Node Configuration Methods guide.
:::