electrum

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

commit 578baf189d3b66ed77d76abf9dd34d2a218e09a1
parent 81bb04378f7f2a0d00ec0c904f110a4dba6f0143
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 30 Mar 2012 14:48:40 +0200

keep one default server for now

Diffstat:
Mclient/interface.py | 2+-
Mclient/wallet.py | 3+--
2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/client/interface.py b/client/interface.py @@ -21,7 +21,7 @@ import random, socket, ast import thread, threading, traceback, sys, time, json, Queue DEFAULT_TIMEOUT = 5 -DEFAULT_SERVERS = ['electrum.bitcoins.sk','ecdsa.org','electrum.novit.ro'] # list of default servers +DEFAULT_SERVERS = ['ecdsa.org:50001:s'] # ['electrum.bitcoins.sk','ecdsa.org','electrum.novit.ro'] # list of default servers def old_to_new(s): diff --git a/client/wallet.py b/client/wallet.py @@ -233,7 +233,6 @@ from version import ELECTRUM_VERSION, SEED_VERSION from interface import NativeInterface, AsynchronousInterface, HttpInterface, DEFAULT_SERVERS -DEFAULT_PORT = 50000 class Wallet: @@ -260,7 +259,7 @@ class Wallet: self.receipt = None # next receipt self.addressbook = [] # outgoing addresses, for payments - self.server = random.choice( DEFAULT_SERVERS ) + ':50000:n' # random choice when the wallet is created + self.server = random.choice( DEFAULT_SERVERS ) # random choice when the wallet is created # not saved self.tx_history = {}