fix: bandwidth usage (#15231)
* feat: added bandwidthStatsEnabled login flag * update status-go
This commit is contained in:
parent
1c5aad7733
commit
430f2501d4
|
@ -8,6 +8,7 @@ type
|
||||||
kdfIterations*: int
|
kdfIterations*: int
|
||||||
runtimeLogLevel*: string
|
runtimeLogLevel*: string
|
||||||
wakuV2Nameserver*: string
|
wakuV2Nameserver*: string
|
||||||
|
bandwidthStatsEnabled*: bool
|
||||||
walletSecretsConfig*: WalletSecretsConfig
|
walletSecretsConfig*: WalletSecretsConfig
|
||||||
|
|
||||||
proc toJson*(self: LoginAccountRequest): JsonNode =
|
proc toJson*(self: LoginAccountRequest): JsonNode =
|
||||||
|
@ -16,7 +17,8 @@ proc toJson*(self: LoginAccountRequest): JsonNode =
|
||||||
"keyUid": self.keyUID,
|
"keyUid": self.keyUID,
|
||||||
"kdfIterations": self.kdfIterations,
|
"kdfIterations": self.kdfIterations,
|
||||||
"runtimeLogLevel": self.runtimeLogLevel,
|
"runtimeLogLevel": self.runtimeLogLevel,
|
||||||
"wakuV2Nameserver": self.wakuV2Nameserver
|
"wakuV2Nameserver": self.wakuV2Nameserver,
|
||||||
|
"bandwidthStatsEnabled": self.bandwidthStatsEnabled,
|
||||||
}
|
}
|
||||||
for key, value in self.walletSecretsConfig.toJson().pairs():
|
for key, value in self.walletSecretsConfig.toJson().pairs():
|
||||||
result[key] = value
|
result[key] = value
|
||||||
|
|
|
@ -663,6 +663,7 @@ QtObject:
|
||||||
kdfIterations: account.kdfIterations,
|
kdfIterations: account.kdfIterations,
|
||||||
passwordHash: passwordHash,
|
passwordHash: passwordHash,
|
||||||
walletSecretsConfig: self.buildWalletSecrets(),
|
walletSecretsConfig: self.buildWalletSecrets(),
|
||||||
|
bandwidthStatsEnabled: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
if main_constants.runtimeLogLevelSet():
|
if main_constants.runtimeLogLevelSet():
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3bb5c9c815382f978ed614ba2a0a8cec21d1678f
|
Subproject commit 10cf2862086630625434f8b2239227dee7440858
|
Loading…
Reference in New Issue