TODO notes

This commit is contained in:
sneurlax 2024-02-05 15:23:08 -06:00
parent d48c7cf9f1
commit 3ec6e2a008
2 changed files with 2 additions and 1 deletions

View file

@ -202,6 +202,7 @@ class ElectrumXClient {
// ... But if the killswitch is set, then we throw an exception. // ... But if the killswitch is set, then we throw an exception.
throw Exception( throw Exception(
"Tor preference and killswitch set but Tor is not enabled, not connecting to ElectrumX"); "Tor preference and killswitch set but Tor is not enabled, not connecting to ElectrumX");
// TODO [prio=low]: Restart Tor. Update Tor package for restart feature.
} }
} else { } else {
// Get the proxy info from the TorService. // Get the proxy info from the TorService.

View file

@ -213,7 +213,7 @@ class JsonRPC {
port, port,
timeout: connectionTimeout, timeout: connectionTimeout,
onBadCertificate: (_) => true, onBadCertificate: (_) => true,
); // TODO do not automatically trust bad certificates ); // TODO do not automatically trust bad certificates.
} else { } else {
_socket = await Socket.connect( _socket = await Socket.connect(
host, host,