|
|
@ -9,6 +9,7 @@ import curses, datetime, locale |
|
|
|
from decimal import Decimal |
|
|
|
import getpass |
|
|
|
|
|
|
|
import electrum |
|
|
|
from electrum.util import format_satoshis, set_verbosity |
|
|
|
from electrum.bitcoin import is_address, COIN, TYPE_ADDRESS |
|
|
|
from electrum import Wallet, WalletStorage |
|
|
@ -395,7 +396,8 @@ class ElectrumGui: |
|
|
|
except Exception: |
|
|
|
self.show_message("Error:" + server + "\nIn doubt, type \"auto-connect\"") |
|
|
|
return False |
|
|
|
proxy = self.parse_proxy_options(out.get('proxy')) if out.get('proxy') else None |
|
|
|
if out.get('server') or out.get('proxy'): |
|
|
|
proxy = electrum.network.deserialize_proxy(out.get('proxy')) if out.get('proxy') else proxy_config |
|
|
|
self.network.set_parameters(host, port, protocol, proxy, auto_connect) |
|
|
|
|
|
|
|
def settings_dialog(self): |
|
|
|