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,
"AutoUpdate": true,
"Rendezvous": true,
"EnableFilterFullNode": true,
},
"WalletConfig": {
"Enabled": true,

View File

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