Commit graph

368 commits

Author SHA1 Message Date
Chris Glass
8997c760a2 Do not use mutables as default values!
This blog article explains why (just an example, many other articles
discuss this ad nauseam):
http://pythonconquerstheuniverse.wordpress.com/2012/02/15/mutable-default-arguments/
2014-06-25 17:43:45 +02:00
ThomasV
173c034e26 on_header: return early if block_height is missing 2014-06-12 15:49:53 +02:00
ThomasV
80a988e337 slightly better notifications. at least, it fixes #652 2014-04-17 17:38:21 +02:00
Eagle[TM]
e81385fc05 update server list 2014-03-16 12:18:38 +01:00
ThomasV
32cca276fe don't use recent_servers if list from irc is available 2014-03-13 19:23:26 +01:00
ThomasV
f3b728989a update default servers 2014-03-13 14:07:36 +01:00
ThomasV
960e7bc3df fix reference to verifier 2014-03-11 09:38:08 +01:00
ThomasV
b4bed1ccaa remove blockchain object from verifier 2014-03-10 20:53:05 +01:00
ThomasV
6e30894af6 daemon; initial commit 2014-03-10 16:16:27 +01:00
ThomasV
3c4fa06c10 parse_servers 2014-02-11 09:48:02 +01:00
ThomasV
268a099f87 sync_get 2014-01-29 16:48:00 +01:00
ThomasV
d15c4f1046 store merkle roots and utxo roots 2014-01-27 10:37:39 +01:00
ThomasV
7c6bc72cb4 daemon 2014-01-27 10:37:39 +01:00
ThomasV
d4fbe85d7d json rpc daemon 2014-01-27 10:37:39 +01:00
ThomasV
36a6deaee7 renamed server. fixes issue #508 2013-12-25 16:26:15 +01:00
ThomasV
de94eaadeb fix issue occuring with set_server 2013-12-17 18:20:54 +01:00
ecdsa
ae654b30b9 fix: pending_servers 2013-12-16 20:07:35 +01:00
ecdsa
8140d6c78e fix typo 2013-12-16 20:04:59 +01:00
ecdsa
d140383d03 exit wait_until_connected() when all servers have been tried 2013-12-16 19:59:35 +01:00
ThomasV
4446cf44c7 don't set network.interface to None when disconnetced 2013-12-16 19:18:57 +01:00
thomasv
942d009661 network.pending_servers, to avoid connecting the same server multiple times 2013-12-16 18:17:44 +01:00
thomasv
c7694a87e7 cleanup code in network.py 2013-12-16 17:37:32 +01:00
ecdsa
8b4410d86a detect if electrum is offline during wallet creation 2013-12-14 10:20:40 +01:00
Jud Stephenson
03a6791bcb Set initial 'running' attribute in Network class
This was causing a AttributeError when network.is_running() was called before the network was started.
2013-12-08 17:08:06 -05:00
ThomasV
1f13b2f4f3 network.send method 2013-11-11 16:18:40 +01:00
ThomasV
ff647c79fd Merge pull request #374 from nolith/master
allow to connect to one server only
2013-11-10 02:55:33 -08:00
Bryan Stitt
225d8b83a3 don't use bare except 2013-11-09 21:23:57 -08:00
Eagle[TM]
ba9782eec6 Update default server list (disable servers with failed/expired certs) 2013-11-10 01:26:06 +01:00
Alessio Caiazza
423ed77305 allow to connect to one server only
This changeset allow to disable block headers retrieval from multiple
servers.
2013-11-06 18:02:37 +01:00
ThomasV
c2f2ec2a8c rm debug message 2013-11-03 11:06:57 +01:00
Eagle[TM]
dca000568f Update default server list 2013-10-17 01:44:21 +02:00
ThomasV
116b10cc11 replace blockchain.height with height(), and fix server_lag issue 2013-10-09 10:04:32 +02:00
ThomasV
491aab4afc network.default_server shouldnever be None 2013-10-08 16:52:50 +02:00
thomasv
e256bae89c re-add pick_random_server 2013-10-07 16:07:44 +02:00
ThomasV
66f224eab4 update a few scripts 2013-10-06 12:28:45 +02:00
ThomasV
f74aa9ed3a smaller timeout if disconnected 2013-10-05 15:31:39 +02:00
ThomasV
45b111e14c enable changes of protocol, proxy at runtime 2013-10-05 13:48:02 +02:00
ThomasV
a6934f6796 support for all protocols 2013-10-05 11:16:09 +02:00
ThomasV
9c1b688e4f fix: server lag 2013-10-05 11:02:17 +02:00
ThomasV
bc15caa84c network: fix server lag detection 2013-10-05 10:01:33 +02:00
ThomasV
c0abd3c34e show lag in status line 2013-10-05 00:49:24 +02:00
ThomasV
a38298c5ee handle network.interface being None when network is disconnected 2013-10-04 19:27:50 +02:00
ThomasV
c63948b314 update default servers 2013-10-04 14:37:15 +02:00
ThomasV
c0b3aed48b store a list of recently encountered servers 2013-10-04 14:30:23 +02:00
ThomasV
b1273d3900 network.is_connected() 2013-10-04 13:51:46 +02:00
ThomasV
a9fb0a9d19 resend subscriptions after disconnect 2013-10-04 11:13:05 +02:00
ThomasV
81f24b66c4 maintain NUM_SERVERS interfaces 2013-10-04 10:38:03 +02:00
ThomasV
7a5016ec42 move synchronous_get to network.py, fix get_balance script 2013-10-03 10:05:01 +02:00
ThomasV
56917780f1 server name change (hachre) 2013-10-02 13:50:56 +02:00
ThomasV
40e393187a manage subscriptions in network.py 2013-10-02 13:00:02 +02:00