ThomasV
be15b76c9b
allow client daemon to be launched in the foreground ( fix #1873 )
8 years ago
ThomasV
13678d9e13
Merge exchange_rate plugin with main code
* fixes #2037 (tab indexes)
8 years ago
ThomasV
bfe7e9dc6e
add version to daemon status, simply display number of spv nodes
8 years ago
ThomasV
3127fbd0c2
we need to check requires_split first, and get_action at the end
8 years ago
ThomasV
34c90a257b
follow-up
8 years ago
ThomasV
d52e3f65e6
follow-up
8 years ago
ThomasV
5541c1bec6
check requires_split before upgrade
8 years ago
ThomasV
da65e9e7d5
auto-upgrade wallet format
8 years ago
ThomasV
af2bf1955a
trigger upgrade on android
8 years ago
ThomasV
71de14240d
daemon: default rpchost to 127.0.0.1
9 years ago
ThomasV
f61d8b4c24
daemon: handle rpc server init errors
9 years ago
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
9 years ago
ThomasV
c313c3c340
remove forgotten imports and print statements
9 years ago
ThomasV
e7d25faf02
Finish wizard unification
9 years ago
ThomasV
bbe7b277d2
call jnius.detach on thread stop
9 years ago
ThomasV
caf2f321e0
follow up 4efa6cb24b
9 years ago
ThomasV
4efa6cb24b
load default wallet in daemon ( fix #1731 )
9 years ago
ThomasV
305843999e
Relicensing
9 years ago
ThomasV
ddc1869551
disambiguate types returned by get_fd_or_server
9 years ago
ThomasV
690c862923
move static methods away from daemon class; restore initial logic
9 years ago
ThomasV
3b00f62d46
remove another unnecessary static method
9 years ago
ThomasV
1c83c3e060
do not declare pointless static methods
9 years ago
ThomasV
56c7d4139e
fix: Daemon.get_server
9 years ago
Neil Booth
abaf1bc6dc
daemon: remove two unneeded member vars
9 years ago
Neil Booth
a90c935758
Remove unreachable code
9 years ago
Neil Booth
788ab520ea
Remove dead code from prior
9 years ago
Neil Booth
e6020975a5
daemon: prevent races by opening with O_EXCL
Rework the way the daemon and server are created. If we might
want to create a daemon, try to grab the lockfile with O_EXCL.
If we got it, create a server and daemon, otherwise try and
connect to the server. If connecting to the server fails (including
after sleeping a little in case the server was recently created),
remove the lockfile and start over.
Other fix: shut down network gracefully on daemon exit.
Fixes #1638
9 years ago
Neil Booth
f91f03b3d4
daemon: fix long-standing bug in status request
Gracefully handle a status request when self.network is None
9 years ago
Neil Booth
ec24087b5a
Move some logic from electrum to daemon
Ultimate goal is to try and stop the daemon race at startup.
Need to isolate logic of checking for server and creating one.
9 years ago
Neil Booth
f6f7113978
daemon: create network inside constructor
9 years ago
ThomasV
ed401761f1
sorry, confused
This reverts commit 5e6a55edd5
.
9 years ago
ThomasV
5e6a55edd5
Revert "Revert "Daemon network cleanup""
This reverts commit 2c7b10a776
.
9 years ago
ThomasV
2c7b10a776
Revert "Daemon network cleanup"
This reverts commit 0a1b3eac9c
.
9 years ago
Neil Booth
0a1b3eac9c
Daemon network cleanup
All Daemon creation was preceded by Network creation, based on
config, and passing it to Daemon.
As config is passed to Daemon, it might as well create its own
network and the code is in one place.
9 years ago
ThomasV
388ed01d0f
fix start_threads in wizard
9 years ago
ThomasV
2f6e2ebcd2
test if wizard is needed in daemon
9 years ago
Neil Booth
4c9b224d4c
Put open_wallet back as class method.
9 years ago
ThomasV
ef1f649d58
fix missing parameter
9 years ago
ThomasV
632905dfbe
instantiate wizard only if needed
9 years ago
ThomasV
62868ab29a
Register loaded wallets in daemon, to prevent a wallet from being opened twice.
Simplify the wizard logic.
9 years ago
ThomasV
acbe67fd1f
separation between RPC and non-RPC commands.
9 years ago
ThomasV
3bed2e3106
don't wait for wallet sync in rpc commands; instead, show wallet status in status command
9 years ago
ThomasV
6770834d06
daemon: use available port
9 years ago
ThomasV
becfe13df2
decrease daemon timeout
9 years ago
Neil Booth
50dcee69d0
Clean up imports in daemon.py
9 years ago
Neil Booth
03b4868bf8
Handle JSON RPC server timeouts differently
Prior method was causing issues on Python 2.7.10 on DragonFlyBSD at
least.
9 years ago
ThomasV
95393656aa
rename command: notify
9 years ago
ThomasV
3c11c63289
fix daemon: don't oad wallet if there is a gui
9 years ago
ThomasV
4682d95a76
merge jsonrpc gui and daemon
9 years ago
ThomasV
92e0744470
Refactoring of daemon:
* gui and daemon are in the same process
* commands that require network are sent to the daemon
* open only one gui window per wallet
9 years ago