Merge pull request #484 from status-im/waku-prod-fleet

Small change in fleet naming to prod + update waku spec
This commit is contained in:
Kim De Mey 2020-04-07 13:20:28 +02:00 committed by GitHub
commit 927a5f3afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -87,9 +87,9 @@ This dashboard can be found at `./waku/metrics/waku-sim-all-nodes-grafana-dashbo
# Spec support
*This section last updated February 14, 2020*
*This section last updated April 7, 2020*
This client of Waku is spec compliant with [Waku spec v0.3](https://specs.vac.dev/waku/waku.html).
This client of Waku is spec compliant with [Waku spec v0.4](https://specs.vac.dev/waku/waku.html).
It doesn't yet implement the following recommended features:
- No support for rate limiting

View File

@ -5,7 +5,7 @@ import
type
Fleet* = enum
none
beta
prod
staging
WakuNodeConf* = object

View File

@ -94,7 +94,7 @@ proc run(config: WakuNodeConf) =
# TODO: Status fleet bootnodes are discv5? That will not work.
let bootnodes = if config.bootnodes.len > 0: setBootNodes(config.bootnodes)
elif config.fleet == beta: setBootNodes(StatusBootNodes)
elif config.fleet == prod: setBootNodes(StatusBootNodes)
elif config.fleet == staging: setBootNodes(StatusBootNodesStaging)
else: @[]
@ -104,7 +104,7 @@ proc run(config: WakuNodeConf) =
if not config.bootnodeOnly:
# Optionally direct connect with a set of nodes
if config.staticnodes.len > 0: connectToNodes(node, config.staticnodes)
elif config.fleet == beta: connectToNodes(node, WhisperNodes)
elif config.fleet == prod: connectToNodes(node, WhisperNodes)
elif config.fleet == staging: connectToNodes(node, WhisperNodesStaging)
if config.rpc: