feat: enable filter full node by default

This commit is contained in:
Richard Ramos 2023-09-27 17:23:34 -04:00 committed by richΛrd
parent 15fcdc9314
commit bfa2fe088c
2 changed files with 3 additions and 0 deletions

View File

@ -397,6 +397,7 @@ var NODE_CONFIG* = %* {
"PeerExchange": true, "PeerExchange": true,
"AutoUpdate": true, "AutoUpdate": true,
"Rendezvous": true, "Rendezvous": true,
"EnableFilterFullNode": true,
}, },
"WalletConfig": { "WalletConfig": {
"Enabled": true, "Enabled": true,

View File

@ -103,6 +103,7 @@ type
EnableStore*: bool EnableStore*: bool
StoreCapacity*: int StoreCapacity*: int
StoreSeconds*: int StoreSeconds*: int
EnableFilterFullNode*: bool
ShhextConfig* = object ShhextConfig* = object
PFSEnabled*: bool PFSEnabled*: bool
@ -328,6 +329,7 @@ proc toWaku2Config*(jsonObj: JsonNode): Waku2Config =
discard jsonObj.getProp("EnableStore", result.EnableStore) discard jsonObj.getProp("EnableStore", result.EnableStore)
discard jsonObj.getProp("StoreCapacity", result.StoreCapacity) discard jsonObj.getProp("StoreCapacity", result.StoreCapacity)
discard jsonObj.getProp("StoreSeconds", result.StoreSeconds) discard jsonObj.getProp("StoreSeconds", result.StoreSeconds)
discard jsonObj.getProp("EnableFilterFullNode", result.EnableFilterFullNode)
proc toWakuConfig*(jsonObj: JsonNode): WakuConfig = proc toWakuConfig*(jsonObj: JsonNode): WakuConfig =
discard jsonObj.getProp("Enabled", result.Enabled) discard jsonObj.getProp("Enabled", result.Enabled)