Commit graph

207 commits

Author SHA1 Message Date
ThomasV
799a08514b move proxy logic to network.py. reload socket module if proxy is disabled 2015-03-12 12:56:06 +01:00
ThomasV
0947eb7960 should test proxy_str. fixes issue #1073 2015-03-10 09:05:44 +01:00
ThomasV
73d8ba24d9 fix network connection issues 2015-03-07 22:47:25 +01:00
ThomasV
e9b06f494d abort set_parameters if changes are not allowed by config 2015-03-01 07:27:05 +01:00
ThomasV
7a9141e509 deserialize network.proxy to prevent variability 2015-02-28 20:04:03 +01:00
ThomasV
510934d545 do not store protocol explicitly 2015-02-28 15:37:50 +01:00
ThomasV
f489466709 fix: notify proxy when switching server 2015-02-28 14:08:58 +01:00
ThomasV
761871b900 sanitize server and protocol 2015-02-25 17:14:31 +01:00
ThomasV
e389745491 remove appdata_dir and data_dir 2015-02-18 18:48:32 +01:00
ThomasV
03a88743a3 fix typo: stdout 2015-02-11 21:05:33 +01:00
ThomasV
3c6cfc8b70 disable server selector if server is passed from cmd line 2015-01-29 13:35:19 +01:00
ThomasV
8ca17a3e70 print traceback is an exception occurs in network.process_request 2015-01-29 11:32:58 +01:00
ThomasV
30763a6555 fix config: serialize/deserialize proxy 2015-01-29 11:21:17 +01:00
Tafelpoot
d9c5250a6f removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
ThomasV
b8f971fcd6 force reconnect after delay 2014-09-16 12:21:01 +02:00
ThomasV
90590f70ab reconnect to main server after timeout 2014-09-14 14:27:39 +02:00
Eagle[TM]
a7cd8b5e9f Update default server list 2014-08-19 14:41:27 +02:00
ThomasV
854f49fbed fix number of interfaces being opened 2014-08-17 11:48:46 +02:00
ThomasV
ecdb90b0b7 re-use pending_servers to avoid sending unnecessary notifications 2014-08-04 11:29:58 +02:00
ThomasV
642258ebaa notify about interfaces 2014-07-30 11:27:52 +02:00
ThomasV
858ff86660 network: disconnected retry interval 2014-07-30 10:43:15 +02:00
ThomasV
ec5478c328 don't use pending_servers 2014-07-30 10:19:15 +02:00
ThomasV
517f649532 fix: missing break 2014-07-29 17:53:31 +02:00
ThomasV
0240b8c924 fix switch_to_random_interface 2014-07-29 14:26:19 +02:00
ThomasV
411a87e0a3 fix disconnection error 2014-07-29 14:19:23 +02:00
ThomasV
1c707d05d3 rm wrong assert clause 2014-07-29 12:48:05 +02:00
ThomasV
58c817f81a close interfaces on shutdown 2014-07-29 12:13:21 +02:00
ThomasV
ed8f9666df remove interface.synchronous_get 2014-07-29 00:15:21 +02:00
ThomasV
312051a242 one more daemon thread 2014-07-28 15:49:41 +02:00
ThomasV
fb0574c5a0 fix callbacks 2014-07-28 07:53:02 +02:00
ThomasV
1ee4af8686 fix #778 2014-07-28 06:42:05 +02:00
ThomasV
28df27fba2 update interface.py 2014-07-28 00:13:40 +02:00
ThomasV
035ecbc7cd redo inter-thread communication using pipes 2014-07-27 17:13:46 +02:00
ThomasV
7abbf329b6 fix 2014-07-25 20:14:08 +02:00
ThomasV
af3fd62fd4 send server height and server lag with daemon 2014-07-25 16:32:19 +02:00
ThomasV
2120b1a573 command line: wait until daemon is connected 2014-07-25 13:30:27 +02:00
ThomasV
8196bc5779 adapt network dialog to daemon 2014-07-25 09:11:56 +02:00
ThomasV
09e4efc439 daemon notifications (network.status) 2014-07-24 23:17:06 +02:00
ThomasV
9ee0614edb make daemon usable with the GUI 2014-07-24 16:12:18 +02:00
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