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,
|
"PeerExchange": true,
|
||||||
"AutoUpdate": true,
|
"AutoUpdate": true,
|
||||||
"Rendezvous": true,
|
"Rendezvous": true,
|
||||||
|
"EnableFilterFullNode": true,
|
||||||
},
|
},
|
||||||
"WalletConfig": {
|
"WalletConfig": {
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue