update status/wakuv2 fleets DNS discovery enrtree
https://github.com/status-im/infra-misc/issues/171
This commit is contained in:
parent
fd1e6ac657
commit
834753351c
|
@ -412,7 +412,7 @@ QJsonObject AccountsService::getDefaultNodeConfig(const QString& installationId)
|
|||
nodeConfigJson["Networks"] = defaultNetworksJson;
|
||||
nodeConfigJson["NoDiscovery"] = true;
|
||||
nodeConfigJson["Rendezvous"] = false;
|
||||
QJsonArray dnsDiscoveryURL = {"enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.nodes.status.im"};
|
||||
QJsonArray dnsDiscoveryURL = {"enrtree://AL65EKLJAUXKKPG43HVTML5EFFWEZ7L4LOKTLZCLJASG4DSESQZEC@prod.status.nodes.status.im"};
|
||||
clusterConfig["WakuNodes"] = dnsDiscoveryURL;
|
||||
clusterConfig["DiscV5BootstrapNodes"] = dnsDiscoveryURL;
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ QtObject:
|
|||
|
||||
proc getDefaultNodeConfig*(self: Service, installationId: string, recoverAccount: bool, login: bool = false): JsonNode =
|
||||
let fleet = Fleet.StatusProd
|
||||
let dnsDiscoveryURL = @["enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.nodes.status.im"]
|
||||
let dnsDiscoveryURL = @["enrtree://AL65EKLJAUXKKPG43HVTML5EFFWEZ7L4LOKTLZCLJASG4DSESQZEC@prod.status.nodes.status.im"]
|
||||
|
||||
result = NODE_CONFIG.copy()
|
||||
result["ClusterConfig"]["Fleet"] = newJString($fleet)
|
||||
|
|
|
@ -223,13 +223,13 @@ proc setFleet*(self: Service, fleet: string): bool =
|
|||
var dnsDiscoveryURL: seq[string] = @[]
|
||||
case fleetType:
|
||||
of Fleet.WakuV2Prod:
|
||||
dnsDiscoveryURL.add("enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.waku.nodes.status.im")
|
||||
dnsDiscoveryURL.add("enrtree://ANEDLO25QVUGJOUTQFRYKWX6P4Z4GKVESBMHML7DZ6YK4LGS5FC5O@prod.wakuv2.nodes.status.im")
|
||||
of Fleet.WakuV2Test:
|
||||
dnsDiscoveryURL.add("enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@test.waku.nodes.status.im")
|
||||
dnsDiscoveryURL.add("enrtree://AO47IDOLBKH72HIZZOXQP6NMRESAN7CHYWIBNXDXWRJRZWLODKII6@test.wakuv2.nodes.status.im")
|
||||
of Fleet.StatusTest:
|
||||
dnsDiscoveryURL.add("enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@test.nodes.status.im")
|
||||
dnsDiscoveryURL.add("enrtree://AIO6LUM3IVWCU2KCPBBI6FEH2W42IGK3ASCZHZGG5TIXUR56OGQUO@test.status.nodes.status.im")
|
||||
of Fleet.StatusProd:
|
||||
dnsDiscoveryURL.add("enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.nodes.status.im")
|
||||
dnsDiscoveryURL.add("enrtree://AL65EKLJAUXKKPG43HVTML5EFFWEZ7L4LOKTLZCLJASG4DSESQZEC@prod.status.nodes.status.im")
|
||||
else:
|
||||
wakuVersion = 1
|
||||
|
||||
|
@ -291,4 +291,4 @@ proc getLogMaxBackups*(self: Service): int =
|
|||
proc setMaxLogBackups*(self: Service, value: int): bool =
|
||||
var newConfiguration = self.configuration
|
||||
newConfiguration.LogMaxBackups = value
|
||||
return self.saveConfiguration(newConfiguration)
|
||||
return self.saveConfiguration(newConfiguration)
|
||||
|
|
Loading…
Reference in New Issue