mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
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",
|
"VerifyENSContractAddress": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
||||||
"VerifyENSURL": "https://mainnet.infura.io/v3/%INFURA_KEY%",
|
"VerifyENSURL": "https://mainnet.infura.io/v3/%INFURA_KEY%",
|
||||||
"VerifyTransactionChainID": 1,
|
"VerifyTransactionChainID": 1,
|
||||||
"VerifyTransactionURL": "https://mainnet.infura.io/v3/%INFURA_KEY%"
|
"VerifyTransactionURL": "https://mainnet.infura.io/v3/%INFURA_KEY%",
|
||||||
|
"BandwidthStatsEnabled": true
|
||||||
},
|
},
|
||||||
"StatusAccountsConfig": {
|
"StatusAccountsConfig": {
|
||||||
"Enabled": true
|
"Enabled": true
|
||||||
|
@ -147,7 +147,8 @@ var NODE_CONFIG* = %* {
|
|||||||
"VerifyENSContractAddress": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
"VerifyENSContractAddress": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
||||||
"VerifyENSURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
|
"VerifyENSURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
|
||||||
"VerifyTransactionChainID": 1,
|
"VerifyTransactionChainID": 1,
|
||||||
"VerifyTransactionURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED
|
"VerifyTransactionURL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED,
|
||||||
|
"BandwidthStatsEnabled": true
|
||||||
},
|
},
|
||||||
"Web3ProviderConfig": {
|
"Web3ProviderConfig": {
|
||||||
"Enabled": true
|
"Enabled": true
|
||||||
@ -162,7 +163,7 @@ var NODE_CONFIG* = %* {
|
|||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"URL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED
|
"URL": "https://mainnet.infura.io/v3/" & INFURA_TOKEN_RESOLVED
|
||||||
},
|
},
|
||||||
"WakuConfig": {
|
"WakuConfig": {
|
||||||
"BloomFilterMode": true,
|
"BloomFilterMode": true,
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"LightClient": 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
|
# 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
|
# the account has in the db
|
||||||
var nodeCfg = %* {
|
var nodeCfg = %* {
|
||||||
|
"ShhextConfig": %* {
|
||||||
|
"BandwidthStatsEnabled": true
|
||||||
|
},
|
||||||
"Web3ProviderConfig": %* {
|
"Web3ProviderConfig": %* {
|
||||||
"Enabled": true
|
"Enabled": true
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user