feat_: added Login request BandwidthStatsEnabled flag (#5369)
This commit is contained in:
parent
83955bbc8a
commit
10cf286208
|
@ -644,6 +644,8 @@ func (b *GethStatusBackend) loginAccount(request *requests.Login) error {
|
||||||
b.config.WakuV2Config.Nameserver = request.WakuV2Nameserver
|
b.config.WakuV2Config.Nameserver = request.WakuV2Nameserver
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b.config.ShhextConfig.BandwidthStatsEnabled = request.BandwidthStatsEnabled
|
||||||
|
|
||||||
b.overrideNetworks(b.config, request)
|
b.overrideNetworks(b.config, request)
|
||||||
|
|
||||||
err = b.setupLogSettings()
|
err = b.setupLogSettings()
|
||||||
|
|
|
@ -8,9 +8,10 @@ type Login struct {
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
KeyUID string `json:"keyUid"`
|
KeyUID string `json:"keyUid"`
|
||||||
|
|
||||||
KdfIterations int `json:"kdfIterations"`
|
KdfIterations int `json:"kdfIterations"`
|
||||||
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
RuntimeLogLevel string `json:"runtimeLogLevel"`
|
||||||
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
WakuV2Nameserver string `json:"wakuV2Nameserver"`
|
||||||
|
BandwidthStatsEnabled bool `json:"bandwidthStatsEnabled"`
|
||||||
|
|
||||||
WalletSecretsConfig
|
WalletSecretsConfig
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue