feat: enable filter full node by default
This commit is contained in:
parent
15fcdc9314
commit
bfa2fe088c
|
@ -397,6 +397,7 @@ var NODE_CONFIG* = %* {
|
|||
"PeerExchange": true,
|
||||
"AutoUpdate": true,
|
||||
"Rendezvous": true,
|
||||
"EnableFilterFullNode": true,
|
||||
},
|
||||
"WalletConfig": {
|
||||
"Enabled": true,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue