mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
prettify tor messages and use tor main
This commit is contained in:
parent
f7ddaa1f73
commit
d84f2d7b7a
3 changed files with 5 additions and 8 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 5c14a4397c6c1344d09bbe650f2c14a640c768d8
|
||||
Subproject commit 22abf0036d8eda68efda5a31dc32c6f8932de4ec
|
|
@ -105,8 +105,7 @@ class ElectrumX {
|
|||
host: InternetAddress.loopbackIPv4.address,
|
||||
port: TorService.sharedInstance.port
|
||||
);
|
||||
Logging.instance.log(
|
||||
"ElectrumX.from(): no tor proxy info, read $proxyInfo",
|
||||
Logging.instance.log("ElectrumX.from(): tor detected at $proxyInfo",
|
||||
level: LogLevel.Warning);
|
||||
}
|
||||
return ElectrumX(
|
||||
|
@ -156,8 +155,7 @@ class ElectrumX {
|
|||
host: InternetAddress.loopbackIPv4.address,
|
||||
port: TorService.sharedInstance.port
|
||||
);
|
||||
Logging.instance.log(
|
||||
"ElectrumX.request(): no tor proxy info, read $proxyInfo",
|
||||
Logging.instance.log("ElectrumX.request(): tor detected at $proxyInfo",
|
||||
level: LogLevel.Warning);
|
||||
}
|
||||
if (currentFailoverIndex == -1) {
|
||||
|
@ -290,7 +288,7 @@ class ElectrumX {
|
|||
port: TorService.sharedInstance.port
|
||||
);
|
||||
Logging.instance.log(
|
||||
"ElectrumX.batchRequest(): no tor proxy info, read $proxyInfo",
|
||||
"ElectrumX.batchRequest(): tor detected at $proxyInfo",
|
||||
level: LogLevel.Warning);
|
||||
}
|
||||
|
||||
|
|
|
@ -200,8 +200,7 @@ class JsonRPC {
|
|||
host: InternetAddress.loopbackIPv4.address,
|
||||
port: TorService.sharedInstance.port
|
||||
);
|
||||
Logging.instance.log(
|
||||
"ElectrumX.connect(): no tor proxy info, read $proxyInfo",
|
||||
Logging.instance.log("ElectrumX.connect(): tor detected at $proxyInfo",
|
||||
level: LogLevel.Warning);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue