[#14545] Force update wakuv2 default configs
This commit is contained in:
parent
9f1af8a9c2
commit
45e05b3f2b
|
@ -64,10 +64,20 @@
|
||||||
(assoc :ListenAddr ":30304"
|
(assoc :ListenAddr ":30304"
|
||||||
:DataDir (str (:DataDir config) "_dev"))))
|
:DataDir (str (:DataDir config) "_dev"))))
|
||||||
|
|
||||||
|
(def wakuv2-default-config
|
||||||
|
{:DiscoveryLimit 20
|
||||||
|
:EnableDiscV5 true
|
||||||
|
:Host "0.0.0.0"
|
||||||
|
:AutoUpdate true
|
||||||
|
:PeerExchange true
|
||||||
|
:Port 0
|
||||||
|
:UDPPort 0})
|
||||||
|
|
||||||
(def login-node-config
|
(def login-node-config
|
||||||
{:WalletConfig (cond-> {:Enabled true}
|
{:WalletConfig (cond-> {:Enabled true}
|
||||||
(not= config/opensea-api-key "")
|
(not= config/opensea-api-key "")
|
||||||
(assoc :OpenseaAPIKey config/opensea-api-key))})
|
(assoc :OpenseaAPIKey config/opensea-api-key))
|
||||||
|
:WakuV2Config wakuv2-default-config})
|
||||||
|
|
||||||
(defn- get-login-node-config
|
(defn- get-login-node-config
|
||||||
[config]
|
[config]
|
||||||
|
@ -152,11 +162,8 @@
|
||||||
:BloomFilterMode waku-bloom-filter-mode
|
:BloomFilterMode waku-bloom-filter-mode
|
||||||
:LightClient true
|
:LightClient true
|
||||||
:MinimumPoW 0.000001}
|
:MinimumPoW 0.000001}
|
||||||
:WakuV2Config (assoc wakuv2-config
|
:WakuV2Config (merge (assoc wakuv2-config :Enabled wakuv2-enabled)
|
||||||
:DiscoveryLimit 20
|
wakuv2-default-config)
|
||||||
:EnableDiscV5 true
|
|
||||||
:Enabled wakuv2-enabled
|
|
||||||
:Host "0.0.0.0")
|
|
||||||
:ShhextConfig
|
:ShhextConfig
|
||||||
{:BackupDisabledDataDir (utils.platform/no-backup-directory)
|
{:BackupDisabledDataDir (utils.platform/no-backup-directory)
|
||||||
:InstallationID installation-id
|
:InstallationID installation-id
|
||||||
|
|
Loading…
Reference in New Issue