LBRY-Vault/lib
Neil Booth 2b66f0d459 Remove pending_servers, self.interfaces is now the complete set of
interfaces we have created.

Existing code has the concept of pending servers, where a connection
thread is started but has not sent a connection notification, and
and interfaces which have received the notification.

This separation caused a couple of minor bugs, and given the cleaner
semantics of unifying the two I don't think the separation is beneficial.
The bugs:

1) When stopping the network, we only stopped the connected interface
threads, not the pending ones.  This would leave Python hanging
on exit if we don't make them daemon threads.

2) start_interface() did not check pending servers before starting
a new thread.  Some of its callers did, but not all, so it was
possible to initiate two threads to one server and "lose" one thread.

Apart form fixing the above two issues, unification causes one more
change in semantics: we are now willing to switch to a connection
that is pending (we don't switch to failed interfaces). I don't
think that is a problem: if it times out we'll just switch
again when we receive the disconnect notification, and previously the
fact that an interface was in the interaces dictionary wasn't a
guarantee the connection was good anyway: we might not have processed
a pending disconnection notification.
2015-05-30 17:42:11 +09:00
..
tests rm failing test 2015-05-28 15:43:50 +02:00
wordlist simplify setup.py using package_data 2015-02-18 17:13:41 +01:00
__init__.py rename spv class, use own print_error 2015-03-14 09:20:27 +01:00
account.py get_pubkeys is called incorrectly in get_pubkey_from_xpub() 2015-04-02 15:03:48 -04:00
asn1tinydecoder.py parse certificates without pyasn1 2015-04-14 15:04:04 +02:00
bitcoin.py Dust threshold should be 546 2015-04-11 11:41:02 -04:00
blockchain.py revert 175bfae9e6. store last known height in wallet instead 2015-05-08 13:43:42 +02:00
bmp.py Use string joins instead of concatenation for efficiency. 2015-03-17 21:57:06 +09:00
commands.py improve help messages 2015-05-30 09:43:42 +02:00
daemon.py fix issue #1238 2015-05-24 16:14:56 +02:00
i18n.py add new languages to i18n 2015-02-24 19:32:59 +01:00
interface.py interface: init ping_time with 0 so that the client sends version message 2015-05-19 11:28:30 +02:00
mnemonic.py simplify setup.py using package_data 2015-02-18 17:13:41 +01:00
msqr.py removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
network.py Remove pending_servers, self.interfaces is now the complete set of 2015-05-30 17:42:11 +09:00
network_proxy.py Rename auto_cycle to auto_connect in config 2015-05-25 16:18:52 +09:00
old_mnemonic.py move mnemonic to separate class and use slush's wordlist. new commands: make_seed and check_seed 2014-08-28 15:37:42 +02:00
paymentrequest.proto adding initial bip70 script (wozz) 2014-05-05 17:31:39 +02:00
paymentrequest.py rename ssl config variables 2015-04-30 17:33:29 +02:00
paymentrequest_pb2.py removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
plugins.py lazy plugin constructor 2015-05-24 20:37:05 +02:00
qrscanner.py fix segfault in zbar init, issue #1059 2015-03-05 07:49:07 +01:00
ripemd.py removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
simple_config.py Merge pull request #1246 from kyuupichan/bug_fix 2015-05-25 13:28:42 +02:00
socks.py re-add older version of socks.py to repo, because SocksiPy-branch does not work with current code 2015-02-28 19:22:43 +01:00
synchronizer.py less verbose debug message 2015-05-05 21:00:35 +02:00
transaction.py Preparation for moving the set of verified and unverified txs to the wallet. 2015-05-07 09:21:08 +09:00
util.py Fix nasty bug in amount editors 2015-05-27 17:14:40 +09:00
verifier.py Remove wallet.get_transactions() 2015-05-08 09:31:45 +09:00
version.py prepare for 2.2 release 2015-05-17 09:17:52 +02:00
wallet.py Avoid change address reuse if possible 2015-05-30 17:07:29 +09:00
x509.py move create_csr to gui 2015-05-02 16:26:27 +02:00