Commit graph

221 commits

Author SHA1 Message Date
ThomasV
35882f7fb7 catch ssl exception caused by timeout 2012-10-27 10:24:43 +02:00
ThomasV
3216c0467d use print_error 2012-10-26 18:25:43 +02:00
thomasv
f91dde55dd subscribe to / verify headers 2012-10-25 15:40:30 +02:00
ThomasV
b018e0ae53 simple payment verification: check targets, use block headers file. 2012-10-24 21:45:45 +02:00
ThomasV
52d72a527a fix: break the loop 2012-10-23 08:15:53 +02:00
ThomasV
c9ffb1b4ba fix order 2012-10-23 07:45:56 +02:00
ThomasV
0d68926da2 fix: copy the default servers array 2012-10-22 18:50:17 +02:00
thomasv
c735fcd228 more robust connection procedure: let the user start with proxy 2012-10-22 17:18:07 +02:00
thomasv
f4b95244c3 typo: expected -> unexpected 2012-10-22 15:17:43 +02:00
thomasv
a4d17d3cb9 new 'disconnecting' callback for requested disconnection 2012-10-22 15:15:52 +02:00
thomasv
4038b81a22 catch exception when client is disconnected 2012-10-22 14:56:59 +02:00
thomasv
0b76e16d04 allow multiple callbacks for a given name 2012-10-22 13:43:58 +02:00
thomasv
82531131ee interface: do not connect inside the constructor 2012-10-22 12:58:57 +02:00
thomasv
4fbd2ea66e use named callbacks with the interface 2012-10-22 11:34:21 +02:00
ThomasV
2da0c0b77e big refactoring of the interface
addition of the wallet verifier class for SPV
2012-10-21 22:55:16 +02:00
ThomasV
1212982fec pass config to randomly selected server 2012-10-20 17:41:12 +02:00
ThomasV
fff922b5d7 fix: random_choice -> random.choice 2012-10-20 17:21:12 +02:00
thomasv
e165c13a84 synchronous_get batch method for interface 2012-10-19 14:16:02 +02:00
thomasv
f1c9aa6603 fix connection_msg 2012-10-19 10:30:51 +02:00
ThomasV
456d3d5b55 add SSL protocols to network dialog 2012-10-18 20:29:53 +02:00
thomasv
8957c705ac use SSLv23 2012-10-17 12:54:32 +02:00
thomasv
87a28d31a4 client-side support for SSL 2012-10-17 11:35:24 +02:00
thomasv
4600eeef48 use a small timeout value initially because the server might be unreachabe 2012-10-16 09:52:39 +02:00
ThomasV
486ebf93e2 move is_up_to_date method 2012-10-15 07:43:00 +02:00
ThomasV
fb5ceb5167 bootstrap: test all hardcodedservers until one is found that is online 2012-10-14 14:40:07 +02:00
ThomasV
cdf81f370b save config after checking qt version 2012-10-13 07:38:22 +02:00
thomasv
81b29a48a1 allow config to be None in constructor of Interface 2012-10-12 16:31:05 +02:00
thomasv
1a781036cf move init_socket in constructor 2012-10-12 16:09:20 +02:00
thomasv
db730dd179 minor fix for proxy type 2012-10-12 11:56:41 +02:00
ThomasV
10119dfed3 fix: inheritance 2012-10-12 01:13:54 +02:00
ThomasV
d0c8a48274 encapsulate parse_proxy_options 2012-10-11 21:37:02 +02:00
thomasv
5444f55e6b big refactoring: command line options and electrum.conf options override settings in wallet file. 2012-10-11 20:10:12 +02:00
thomasv
da9351260c move proxy fallback away from send method 2012-10-10 10:16:18 +02:00
Maran
3ce5eef076 Merge branch 'master' of https://github.com/spesmilo/electrum 2012-10-09 17:15:05 +02:00
Maran
8833555b35 Add fallback for users who ran master with the old default config 2012-10-09 17:13:26 +02:00
thomasv
93ac0e806b make connection message slightly less invasive 2012-10-09 16:52:16 +02:00
thomasv
cfce1420c5 proxy: allow '-p none' 2012-10-09 16:16:00 +02:00
thomasv
8d9e5a4f2e remove ecdsa.org from default servers; too much downtime 2012-10-01 18:25:32 +02:00
thomasv
f3ff9b5cf6 make proxy an optional parameter 2012-10-01 18:14:50 +02:00
thomasv
44dd7713e5 debugging options should not be parameters, it makes the code unnecessarily complictated 2012-10-01 17:41:47 +02:00
Maran
23ffbc3e48 Fixed merged conflict and added folder creation on first load 2012-09-21 16:57:54 +02:00
bkkcoins
9121654e8a Added proxy settings save to config.json 2012-09-20 18:24:36 +07:00
bkkcoins
09c90c0971 Revert "Revert "Added proxy options to network dialog""
This reverts commit 6e0b3620d2.
2012-09-20 16:55:28 +07:00
bkkcoins
6e0b3620d2 Revert "Added proxy options to network dialog"
This reverts commit 83bb644135.
2012-09-20 16:55:15 +07:00
Maran
7969b62b55 Removed uncle-enzo from default servers since it's not syncing 2012-09-19 18:51:13 +02:00
bkkcoins
83bb644135 Added proxy options to network dialog 2012-09-19 22:29:58 +07:00
bkkcoins
aa6f631f2e Added SOCKS support, with cmdline and SimpleConfig options 2012-09-19 17:37:20 +07:00
Amir Taaki
4c1bc14104 Remove assert which isn't true for the commands (only the GUI). 2012-08-29 20:54:28 +01:00
Amir Taaki
b3b910d926 WalletSynchronizer had a race condition caused by calling the callback before the Qt event loop (or other initialisation) finished. Ergo we split initialisation and the running of the thread, then use Qt SIGNALs to yield back into the Qt event loop. This ensures that the callback for the servers_list_changed is not called until the main Qt event loop is actually running. 2012-08-29 20:53:22 +01:00
Amir Taaki
e61d478a80 Tidy up of code to comply with style guide. 2012-08-29 20:53:22 +01:00