fix(node): enable bandwith reporting in node view
Add entry to services.nim in oder to upgrade existing user config that are missing this value fixes #4990
This commit is contained in:
parent
246a7ad456
commit
022193fe8f
|
@ -38,7 +38,8 @@
|
|||
"VerifyENSContractAddress": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
||||
"VerifyENSURL": "https://mainnet.infura.io/v3/%INFURA_KEY%",
|
||||
"VerifyTransactionChainID": 1,
|
||||
"VerifyTransactionURL": "https://mainnet.infura.io/v3/%INFURA_KEY%"
|
||||
"VerifyTransactionURL": "https://mainnet.infura.io/v3/%INFURA_KEY%",
|
||||
"BandwidthStatsEnabled": true
|
||||
},
|
||||
"StatusAccountsConfig": {
|
||||
"Enabled": true
|
||||
|
|
|
@ -147,7 +147,8 @@ var NODE_CONFIG* = %* {
|
|||
"VerifyENSContractAddress": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
||||
"VerifyENSURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
|
||||
"VerifyTransactionChainID": 1,
|
||||
"VerifyTransactionURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED
|
||||
"VerifyTransactionURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
|
||||
"BandwidthStatsEnabled": true
|
||||
},
|
||||
"Web3ProviderConfig": {
|
||||
"Enabled": true
|
||||
|
@ -162,7 +163,7 @@ var NODE_CONFIG* = %* {
|
|||
"Enabled": true,
|
||||
"URL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED
|
||||
},
|
||||
"WakuConfig": {
|
||||
"WakuConfig": {
|
||||
"BloomFilterMode": true,
|
||||
"Enabled": true,
|
||||
"LightClient": true,
|
||||
|
|
|
@ -311,6 +311,9 @@ proc login*(self: Service, account: AccountDto, password: string): string =
|
|||
# While this is fixed, you can add here any missing attribute on the node config, and it will be merged with whatever
|
||||
# the account has in the db
|
||||
var nodeCfg = %* {
|
||||
"ShhextConfig": %* {
|
||||
"BandwidthStatsEnabled": true
|
||||
},
|
||||
"Web3ProviderConfig": %* {
|
||||
"Enabled": true
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue