electrum

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

commit 466f325b88ca940f0190d83907fccb0435196f1d
parent a4d904bfd3522181261bfb68cc2edc4ab6adcd9c
Author: ThomasV <thomasv@gitorious>
Date:   Wed,  6 Aug 2014 04:03:16 +0200

fix peers script

Diffstat:
Mscripts/peers | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/peers b/scripts/peers @@ -26,16 +26,17 @@ i.stop() print "Contacting %d servers"%len(peers) # start interfaces +q2 = Queue.Queue() config = SimpleConfig() interfaces = map ( lambda server: Interface(server, config), peers ) reached_servers = [] for i in interfaces: - i.start(q) + i.start(q2) t0 = time.time() while peers: try: - i, r = q.get(timeout=1) + i, r = q2.get(timeout=1) except: if time.time() - t0 > 10: print "timeout"