keep one default server for now
This commit is contained in:
parent
81bb04378f
commit
578baf189d
|
@ -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):
|
||||
|
|
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue