Commit Graph

164 Commits

Author SHA1 Message Date
ecdsa
86fd728a47 move network dialog in a new class; simplify interface.get_servers 2013-04-28 13:47:19 +02:00
ecdsa
827e29c1dc fix: print_log -> print_error 2013-04-27 10:57:15 +02:00
ecdsa
6069939003 handle errno 10035 2013-04-27 10:22:01 +02:00
ecdsa
7653408ff4 fix: socket error 2013-04-27 07:30:18 +02:00
ecdsa
21c0578ca8 fix is_connected with http protocol 2013-04-10 08:03:17 +02:00
thomasv
98f7d36313 ask users to enter their seed on create 2013-04-09 18:08:14 +02:00
ecdsa
35ecbff7a5 fix http session init 2013-04-07 21:48:37 +02:00
ecdsa
dbe981a89b show pruning level in network dialog (expert mode) 2013-04-06 16:06:15 +02:00
ecdsa
84101a446b use ssl as default protocol 2013-04-05 06:01:18 +02:00
ecdsa
8a720b1629 do the banner request in interface, not in wallet 2013-03-17 10:54:21 +01:00
thomasv
a4f977190e do not call exit() in the interface module 2013-03-13 15:26:29 +01:00
ecdsa
441cc6c9cd fix 2013-03-10 16:24:52 +01:00
ecdsa
837150132d optional wait parameter for interface 2013-03-10 10:24:42 +01:00
ecdsa
49a4c6c92a do not wait for interface when launching gui 2013-03-10 10:15:09 +01:00
ecdsa
3fe0e160ca catch http exception when wallet is offline 2013-03-04 17:20:07 +01:00
ThomasV
512a812872 try http if tcp fails. 2013-01-03 21:36:25 +01:00
thomasv
e3fc19c48c fix previous commit 2013-01-03 17:55:35 +01:00
thomasv
2962c63001 auto_cycle option 2013-01-03 17:39:51 +01:00
thomasv
4180a426c5 auto-reconnect to random server if server is not there 2013-01-03 16:05:38 +01:00
Eagle[TM]
83c008b6f8 revert pruning flag for default servers (too much complexity) 2013-01-02 14:50:52 +01:00
Eagle[TM]
4f0f187e56 Update default servers with pruning flag 2013-01-02 11:18:09 +01:00
Eagle[TM]
736b72f77f updating default servers 2012-11-27 09:16:27 +01:00
ThomasV
9afbf21197 no daemon 2012-11-24 20:35:09 +01:00
thomasv
cf1f533613 allow offline creation/recovery within the gui 2012-11-20 15:30:46 +01:00
thomasv
2385cc3ad8 show server type (pruning or full) 2012-11-20 13:33:36 +01:00
ThomasV
2d13107897 make a regular gui module for android 2012-11-18 11:34:52 +01:00
ThomasV
8ec6a60daf compatibility with 0.6 protocol 2012-11-14 15:33:44 +01:00
thomasv
259c5c1b06 adding two more servers that upgraded 2012-11-13 15:26:49 +01:00
ThomasV
a48a971ae6 check consistency of results received by get_history 2012-11-07 09:37:14 +01:00
ThomasV
8ed812830f PROTOCOL_VERSION 2012-11-06 22:20:54 +01:00
thomasv
8f85187545 readding bysh.me server 2012-11-06 11:05:04 +01:00
ThomasV
cc028c2ca3 comment out the servers that are not 0.5 2012-11-05 17:45:31 +01:00
Maran
18d5bef433 Updated the bytesized-hosting.com to the shorter bysh.me so that the server meta data fits 2012-11-05 13:18:57 +01:00
thomasv
73dc533e79 set timestamps on startup 2012-11-05 10:26:28 +01:00
ThomasV
32d0f6ed27 send protocol version 2012-11-04 22:45:50 +01:00
ThomasV
39a85767a3 solve deadlock during restore 2012-11-04 20:53:27 +01:00
ThomasV
5bb441ce37 add mnemonic functions to module 2012-11-04 19:40:17 +01:00
ThomasV
f1a7473ae2 do not use old servers 2012-11-04 11:08:05 +01:00
ThomasV
ea7dabe640 fix proxy index 2012-10-28 21:59:51 +01:00
ThomasV
5874457df2 fix: subscriptions 2012-10-28 10:22:12 +01:00
thomasv
8152072938 fix: self.s is None if we are not connected 2012-10-27 16:46:42 +02:00
ThomasV
cfb3aa6a12 move 'peers.subscribe' and 'server.version' calls into the interface 2012-10-27 14:15:03 +02:00
ThomasV
be6aab538d cosmetic change 2012-10-27 12:31:43 +02:00
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
Maran
3216a86773 Merge branch '1.0' 2012-08-28 11:04:30 +02:00
Maran
4e3e4b90ea Fix port number for bytesized 2012-08-28 11:04:11 +02:00
Amir Taaki
6dfb9e12c7 Fixed bug where switching servers causes assert failure. 2012-08-27 04:02:15 +02:00
Amir Taaki
3a648f9119 Show list of all the servers available in the menubar. 2012-08-20 10:20:40 +01:00
Amir Taaki
188a671681 Corrected import paths for print_error. 2012-07-07 19:53:54 +01:00
Julian Tosh
4e5dfbeade Implementing a better print_error routine 2012-07-07 09:24:52 -07:00
Julian Tosh
a3830e5903 Standardizing message format and implementing stderr for errors 2012-07-07 06:39:25 -07:00