ThomasV
e5aa543707
fix #1622
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
Neil Booth
d63e754c67
Remove some unused hook infrastructure
9 years ago
ThomasV
fb8f9e55ef
Cleanup main script, with semantic changes:
The --offline flag applies only to GUI.
Commands must use the daemon if a daemon is running, otherwise they are run offline.
Commands that only require the wallet do not have the require_network flag.
9 years ago
ThomasV
93573282bf
fix wallet saving
9 years ago
ThomasV
acbe67fd1f
separation between RPC and non-RPC commands.
9 years ago
Neil Booth
e1c0298fc2
Write the wallet less often
This should speed up synchronization / restoration of large wallets.
Wallets are written only when they switch to up_to_date state, or
when stop_threads() is called when closing the daemon, or when
a command line command finishes.
9 years ago
ThomasV
23868d5769
commands that require wallet require daemon now
9 years ago
ThomasV
74a9e2296c
separate Network and Plugins
9 years ago
ThomasV
c7b1721f58
fix cmdline trezor
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
39af17bc23
load wallets in daemon
9 years ago
ThomasV
00f298d3b1
revert e9c101f
9 years ago
ThomasV
e9c101f0c8
daemon: use daemon threads
9 years ago
ThomasV
d8ca881457
remove unused setting
9 years ago
ThomasV
1207ad3ba4
fix: websocket uses network object
9 years ago
ThomasV
2934fd17be
fix websockets
9 years ago
ThomasV
b727824eed
fix #1554 : use AF_INET instead of AF_UNIX, and write port number to lockfile
9 years ago
ThomasV
7641137ecc
simplify get_daemon
9 years ago
ThomasV
bb7b0884e3
Various fixes for command line. Make 'payto' command require network ( fixes #1525 )
9 years ago
ThomasV
079cb311ec
call wallet.wait_until_synchronized before commands
9 years ago
ThomasV
826c44e500
restore initial indentation
9 years ago
ThomasV
142b5532ec
revert to previous restore method, without daemon
9 years ago
ThomasV
ca9eb50821
dont create wallet instance twice
9 years ago
ThomasV
5b96d5166e
fix restore messages
9 years ago
ThomasV
052d8b236e
fix #1494
9 years ago
ThomasV
94ac0db91f
command line: Require 'text' argument for 'restore'. Replace 'concealed' option with ':' magic word
9 years ago
ThomasV
26682491b2
generic restore from command line
9 years ago
ThomasV
22575b9760
dont accept payment requests without uri
9 years ago
ThomasV
610ae91310
restore offline mode with gui
9 years ago
ThomasV
a5e94ef0e8
kivy: use plugins
9 years ago
ThomasV
f3bd1662f7
fix web request server. fixes #1455
10 years ago
ThomasV
52315fdb72
detect kivy from os.environ
10 years ago
Neil Booth
b5f986ee56
Torwards sane signalling for exchange_rate plugin
10 years ago
ThomasV
3cc7c1454b
move back URI rewriting to main electrum script
10 years ago
Neil Booth
87cff8e380
Check URI in "electrum" because of ambiguity
10 years ago
Neil Booth
27917af2bf
Get URIs working properly for multiple windows
10 years ago
ThomasV
4655c5f565
Fix SocketPipe:
* add errcode 35 for BSD
* in addition, add a very long timeout to command line pipe, in order to prevent that exception to be raised.
10 years ago
ThomasV
e3b7239d19
fix SocketPipe for returning empty array
10 years ago
Neil Booth
49797c3094
Create a Plugins class
Encapsulates plugin logic and removes global variable ugliness.
10 years ago
ThomasV
bdb4d3ecb8
move methods calling installwizard to main gui class
10 years ago
ThomasV
93c468504e
use the parent config instance when daemon starts a window
10 years ago
ThomasV
ba2570b8aa
check that GUI has new_window method
10 years ago
ThomasV
0e2db1e0ca
don't try to open window if started in daemon mode
10 years ago
Neil Booth
2d05e7d891
Merge the network and network_proxy
10 years ago
ThomasV
8b7a8b1337
decode json args after sendind over socket
10 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
10 years ago
ThomasV
064f0b71e2
dns is used by android now
10 years ago
ThomasV
f583fcfedb
do not import dns on android
10 years ago