URI: 
       tfix: nodes retry - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 6d0bc5d9b3356cebbdd90b1d99209fa4528ee9f7
   DIR parent 44f06de7969bf0dbcbb806e3a6449f4dc1084127
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sun, 17 May 2015 08:41:01 +0200
       
       fix: nodes retry
       
       Diffstat:
         M lib/network.py                      |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/network.py b/lib/network.py
       t@@ -480,13 +480,14 @@ class Network(util.DaemonThread):
        
            def check_interfaces(self):
                now = time.time()
       +        # nodes
                if len(self.interfaces) + len(self.pending_servers) < self.num_server:
                    self.start_random_interface()
       -        if not self.interfaces:
                    if now - self.nodes_retry_time > NODES_RETRY_INTERVAL:
                        self.print_error('network: retrying connections')
                        self.disconnected_servers = set([])
                        self.nodes_retry_time = now
       +        # main interface
                if not self.interface.is_connected():
                    if self.config.get('auto_cycle'):
                        if self.interfaces: