tnetwork: connection_down if interface fails to connect chunk - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 72706f8219fa10e48fc0029113735f6600df519a DIR parent 0eb05f7cc475e29634f71ab6ba8fc0d3bc732ce7 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 4 Aug 2017 15:34:23 +0200 network: connection_down if interface fails to connect chunk Diffstat: M lib/network.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -774,6 +774,7 @@ class Network(util.DaemonThread): connect = interface.blockchain.connect_chunk(index, result) # If not finished, get the next chunk if not connect: + self.connection_down(interface.server) return if interface.blockchain.height() < interface.tip: self.request_chunk(interface, index+1)