ThomasV
ed401761f1
sorry, confused
...
This reverts commit 5e6a55edd5 .
10 years ago
ThomasV
5e6a55edd5
Revert "Revert "Daemon network cleanup""
...
This reverts commit 2c7b10a776 .
10 years ago
ThomasV
2c7b10a776
Revert "Daemon network cleanup"
...
This reverts commit 0a1b3eac9c .
10 years ago
Neil Booth
58d5215e2e
No need to pass daemon and network together
...
The daemon has the network
10 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.
10 years ago
ThomasV
81b9f8281d
fix #1656
10 years ago
valesi
f7dfffd30f
Minor fixes - indentation and lone `self.`
...
6ba43637f5/electrum (L57)
has tab instead of spaces.
6ba43637f5/gui/kivy/nfc_scanner/scanner_android.py (L118)
has lone `self.`
10 years ago
ThomasV
6a833d9f98
electrum: check_imports
10 years ago
akshayaurora
900346b89e
kivy:Improve startup speed
10 years ago
ThomasV
80c1aab9c3
remove is_kivy test
10 years ago
Neil Booth
93e0c72ce2
Plugins: start thread at end of constructor
...
Don't add jobs twice
10 years ago
Neil Booth
028ab925ed
Remove unused imports
10 years ago
Neil Booth
dee402b961
Plugin wallets: better error when unloadable
...
Used to get:
jsonrpclib.jsonrpc.ProtocolError: (-32603, u'Server error: File "src/electrum/lib/plugins.py", line 144, in wallet_plugin_loader | KeyError: \'trustedcoin\'')
Now get:
jsonrpclib.jsonrpc.ProtocolError: (-32603, u'Server error: File "src/electrum/lib/plugins.py", line 81, in load_plugin | RuntimeError: cmdline implementation for trustedcoin plugin not found')
10 years ago
ThomasV
e5aa543707
fix #1622
10 years ago
ThomasV
62868ab29a
Register loaded wallets in daemon, to prevent a wallet from being opened twice.
...
Simplify the wizard logic.
10 years ago
Neil Booth
d63e754c67
Remove some unused hook infrastructure
10 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.
10 years ago
ThomasV
93573282bf
fix wallet saving
10 years ago
ThomasV
acbe67fd1f
separation between RPC and non-RPC commands.
10 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.
10 years ago
ThomasV
23868d5769
commands that require wallet require daemon now
10 years ago
ThomasV
74a9e2296c
separate Network and Plugins
10 years ago
ThomasV
c7b1721f58
fix cmdline trezor
10 years ago
ThomasV
3c11c63289
fix daemon: don't oad wallet if there is a gui
10 years ago
ThomasV
4682d95a76
merge jsonrpc gui and daemon
10 years ago
ThomasV
39af17bc23
load wallets in daemon
10 years ago
ThomasV
00f298d3b1
revert e9c101f
10 years ago
ThomasV
e9c101f0c8
daemon: use daemon threads
10 years ago
ThomasV
d8ca881457
remove unused setting
10 years ago
ThomasV
1207ad3ba4
fix: websocket uses network object
10 years ago
ThomasV
2934fd17be
fix websockets
10 years ago
ThomasV
b727824eed
fix #1554 : use AF_INET instead of AF_UNIX, and write port number to lockfile
10 years ago
ThomasV
7641137ecc
simplify get_daemon
10 years ago
ThomasV
bb7b0884e3
Various fixes for command line. Make 'payto' command require network ( fixes #1525 )
10 years ago
ThomasV
079cb311ec
call wallet.wait_until_synchronized before commands
10 years ago
ThomasV
826c44e500
restore initial indentation
10 years ago
ThomasV
142b5532ec
revert to previous restore method, without daemon
10 years ago
ThomasV
ca9eb50821
dont create wallet instance twice
10 years ago
ThomasV
5b96d5166e
fix restore messages
10 years ago
ThomasV
052d8b236e
fix #1494
10 years ago
ThomasV
94ac0db91f
command line: Require 'text' argument for 'restore'. Replace 'concealed' option with ':' magic word
10 years ago
ThomasV
26682491b2
generic restore from command line
10 years ago
ThomasV
22575b9760
dont accept payment requests without uri
10 years ago
ThomasV
610ae91310
restore offline mode with gui
10 years ago
ThomasV
a5e94ef0e8
kivy: use plugins
10 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