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
|
||||||
|
|
|
@ -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…
Reference in New Issue