electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 6d0bc5d9b3356cebbdd90b1d99209fa4528ee9f7
parent 44f06de7969bf0dbcbb806e3a6449f4dc1084127
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 17 May 2015 08:41:01 +0200

fix: nodes retry

Diffstat:
Mlib/network.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -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: