electrum

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

commit 958a3fa5b633ba145843c2b829751dacb2c72358
parent a35a945b0bf9193a4e5149fe5d2972c449c2e25f
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 20 May 2012 18:02:05 +0200

set timeout to 1 minute

Diffstat:
Mlib/interface.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/interface.py b/lib/interface.py @@ -219,7 +219,7 @@ class TcpStratumInterface(Interface): def init_socket(self): self.s = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) - self.s.settimeout(5*60) + self.s.settimeout(60) self.s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) try: self.s.connect(( self.host, self.port))