Commit graph

134 commits

Author SHA1 Message Date
Yuki Inoue
fc9cb0ca1c daemon status shows current wallet path
All the jsonrpc calls against electrum daemon is affected by the
implicit parameter of wallet in the cmd_runner.  AFAIK, there is no way
to check the value of this wallet.  This can be trouble some if multiple
wallets are loaded, or load_wallet command is executed several times.

This patch makes it viewable on the `daemon status`.
2018-03-07 13:51:06 +09:00
Yuki Inoue
6687c1b336 daemon returns true only if the wallet is loaded 2018-02-27 18:43:00 +09:00
SomberNight
fe1e412f01 catch some exceptions during GUI init 2018-02-15 17:30:40 +01:00
ThomasV
b2c0350240 allow to use exchange rates while offline 2018-02-14 10:42:59 +01:00
ThomasV
b076f45f8e
Merge pull request #3664 from SomberNight/json_rpc_pw
Password-protect the JSON RPC interface
2018-01-08 00:28:27 +01:00
ThomasV
1020449684 disable jsonrpc commands in the GUI 2018-01-08 00:20:46 +01:00
ThomasV
7c702b518d disable jsonrpc on android 2018-01-08 00:20:27 +01:00
SomberNight
af527b21fb Password-protect the JSON RPC interface 2018-01-07 19:30:23 +01:00
ThomasV
6be7bda023
Merge pull request #3659 from mithrandi/patch-1
Stop allowing CORS for the JSON-RPC server
2018-01-06 20:51:55 +01:00
Tristan Seligmann
0cf67997c0
Stop allowing CORS for the JSON-RPC server
As far as I can tell, there is no need to allow this, and doing so poses severe security risks (see #3374).
2018-01-06 08:42:54 +02:00
SomberNight
f9e9597381 make daemon lockfile not executable 2018-01-04 23:41:10 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
Justin Turner Arthur
9a0aa9b478 Remove Python 2 support imports. 2017-11-13 02:26:48 -06:00
SomberNight
115ef54c0c fix: wallet storage upgrade happening silently even when using QT GUI 2017-11-02 12:11:36 +01:00
SomberNight
a5ffa69a3e storage: upgrade format version automatically in load_data() 2017-10-13 05:44:19 +02:00
ThomasV
3f3d249ed1 follow up c810c6a356 2017-10-09 11:54:17 +02:00
ThomasV
0bc53d34d1 improve error message (see #2991) 2017-10-05 10:34:20 +02:00
SomberNight
296837d4a9 log: identify exception source in log for daemon/get_server 2017-09-23 18:44:06 +02:00
ThomasV
216e9403be cleanup six (no python2 support) 2017-09-04 14:43:31 +02:00
ThomasV
c3388d9677 misc python3 updates:
- use jsonrpclib-pelix
 - update the kivy gui
 - update plugins
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
362ca96f38 x509 fixes and plugins 2017-08-26 08:28:24 +02:00
Dmitry Sorokin
d304ccdf17 py3 in qtgui 2017-08-26 08:27:47 +02:00
Dmitry Sorokin
5be78950ca py3 2017-08-26 08:27:47 +02:00
ThomasV
255458da0a fix #2400 2017-07-02 11:44:48 +02:00
ThomasV
0e49274eae fix #2279: jsonrpc wallet 2017-03-11 10:26:26 +01:00
ThomasV
0f8387dbab fix #2257 2017-03-08 11:56:01 +01:00
ThomasV
411832c4ce cleanup storage and fix tracvis test 2017-03-06 08:33:35 +01:00
ThomasV
eb7f9c98ce command:s inherit fee estimates from daemon 2017-03-05 20:33:36 +01:00
ThomasV
76dd11783b rename load_wallet command 2017-03-05 20:32:06 +01:00
ThomasV
f99fbbe488 show fee in daemon status 2017-03-05 16:12:47 +01:00
ThomasV
b8bdcc0877 rename open close commands 2017-03-05 14:57:41 +01:00
ThomasV
45f25586ef add file selector and password dialog to wizard (fix #1730) 2017-03-05 13:30:57 +01:00
ThomasV
fcc92c1ebd Wallet file encryption:
- a keypair is derived from the wallet password
 - only the public key is retained in memory
 - wallets must opened and closed explicitly with the daemon
2017-03-01 13:58:04 +01:00
ThomasV
be15b76c9b allow client daemon to be launched in the foreground (fix #1873) 2017-01-07 10:10:51 +01:00
ThomasV
13678d9e13 Merge exchange_rate plugin with main code
* fixes #2037 (tab indexes)
2017-01-03 17:04:04 +01:00
ThomasV
bfe7e9dc6e add version to daemon status, simply display number of spv nodes 2016-10-24 12:52:16 +02:00
ThomasV
3127fbd0c2 we need to check requires_split first, and get_action at the end 2016-10-02 12:30:57 +02:00
ThomasV
34c90a257b follow-up 2016-10-02 12:17:53 +02:00
ThomasV
d52e3f65e6 follow-up 2016-10-02 12:17:08 +02:00
ThomasV
5541c1bec6 check requires_split before upgrade 2016-10-02 12:15:51 +02:00
ThomasV
da65e9e7d5 auto-upgrade wallet format 2016-09-29 10:52:51 +02:00
ThomasV
af2bf1955a trigger upgrade on android 2016-08-26 07:09:38 +02:00
ThomasV
71de14240d daemon: default rpchost to 127.0.0.1 2016-08-15 08:27:09 +02:00
ThomasV
f61d8b4c24 daemon: handle rpc server init errors 2016-08-15 08:14:19 +02:00
ThomasV
1159f85e05 Major refactoring
- separation between Wallet and key management (Keystore)
 - simplification of wallet classes
 - remove support for multiple accounts in the same wallet
 - add support for OP_RETURN to Trezor plugin
 - split multi-accounts wallets for backward compatibility
2016-08-12 11:02:28 +02:00
ThomasV
c313c3c340 remove forgotten imports and print statements 2016-06-24 23:14:41 +02:00
ThomasV
e7d25faf02 Finish wizard unification 2016-06-24 23:02:54 +02:00
ThomasV
bbe7b277d2 call jnius.detach on thread stop 2016-06-04 12:59:01 +02:00
ThomasV
caf2f321e0 follow up 4efa6cb24b 2016-04-08 12:49:21 +02:00
ThomasV
4efa6cb24b load default wallet in daemon (fix #1731) 2016-04-06 10:41:01 +02:00