ThomasV
54776ca1d9
disable http server by default
6 years ago
ThomasV
747ab7a0a2
Integrate http_server (previously in electrum-merchant)
...
Use submodule to fetch HTML and CSS files
6 years ago
ThomasV
7f870f5e09
replace daemon 'start' subdommand with -d
6 years ago
SomberNight
0534f937ab
local jsonrpc: log exceptions daemon-side
6 years ago
ThomasV
9cfeadea70
Turn daemon subcommands into RPCs
6 years ago
ThomasV
54257cbcca
Rewrite JsonRPC requests using asyncio.
...
- commands are async
- the asyncio loop is started and stopped from the main script
- the daemon's main loop runs in the main thread
- use jsonrpcserver and jsonrpcclient instead of jsonrpclib
6 years ago
ThomasV
5e0427392f
Daemon: Replace get_server with request.
...
This function performs a single RPC, and may raise a DaemonNotRunning exception.
6 years ago
ThomasV
b81feb6550
daemon: simplify get_fd_or_server
6 years ago
ThomasV
b2f61bdc06
use aiohttp + jsonrpcserver in watchtower
6 years ago
ThomasV
f7c05f2602
Synchronize watchtower asynchronously:
...
- remove remote_commitment_to_be_revoked
- pass old ctns to lnsweep.create_sweeptxs_for_watchtower
- store the ctn of sweeptxs in sweepStore database
- request the highest ctn from sweepstore using get_ctn
- send sweeptxs asynchronously in LNWallet.sync_with_watchtower
6 years ago
ThomasV
842fff832f
enable lightning through command line option
6 years ago
ThomasV
3abe30e9d8
basic watchtower synchronization
6 years ago
ThomasV
632f11d5da
watchtower: add watch_channel rpc
6 years ago
SomberNight
17ccb79ca4
channel verifier: NetworkJobOnDefaultServer, and some error handling
6 years ago
ThomasV
5a081b2131
start channel verifier in network.start()
6 years ago
ThomasV
9362130fba
fix race between network and lnwatcher (network.add_job does not always work)
6 years ago
ThomasV
e761f5b876
add watchtower class, send encumbered tx as json
6 years ago
ThomasV
680b129b4a
remote watchtower: initial commit
6 years ago
ThomasV
08448fd2f0
add lnworker in start_network
6 years ago
Janus
261fefb6f3
lnwatcher rebased
6 years ago
SomberNight
3385a94753
logging: basics
7 years ago
SomberNight
12b98fa251
wizard: fix regression: unencrypted wallets were not getting upgraded
...
fixes #5177
7 years ago
SomberNight
43583c1e28
daemon: make sure wallet paths are standardised everywhere
7 years ago
ThomasV
b06b8753e6
fix #5088
7 years ago
ThomasV
1da1f0bfea
fix #4984
7 years ago
Janus
2737744bfe
daemon: forward TypeError trace to client
7 years ago
SomberNight
48e119b59e
qt history: minor clean-up and sanity checking
7 years ago
SomberNight
eba97f74b4
decorate some methods with @profiler to debug slow startup
7 years ago
SomberNight
a89e67eeed
network: trivial clean-up
7 years ago
SomberNight
e37da62a1c
fix most "scripts"
...
related: #4754
7 years ago
SomberNight
c2ecfaf239
move event loop construction to daemon
7 years ago
SomberNight
ca8eae919f
daemon: clarify error print
7 years ago
SomberNight
917b7fa898
network shutdown safety belts
7 years ago
SomberNight
361ffc0620
correctly handle bitcoin URIs if GUI is already running
...
see #4796
7 years ago
SomberNight
81cc20039e
more type annotations in core lib
7 years ago
SomberNight
1233309ebd
cli/rpc: 'restore' and 'create' commands are now available via RPC
7 years ago
SomberNight
7dd4032cce
daemon: call self.start in __init__, and allow not to listen on jsonrpc
7 years ago
SomberNight
4653a1007c
daemon: more convenient constructor for scripts
7 years ago
SomberNight
5e4a4ae16b
minor clean-up (prints/types/imports)
7 years ago
SomberNight
32d5305295
fix daemon.load_wallet
7 years ago
SomberNight
952e9b87e1
network: clean-up. make external API clear. rm interface_lock (mostly).
7 years ago
SomberNight
d50b36d314
daemon: suppress pop wallet failure
...
follow-up 3ec0ceba3e
related: #4126
7 years ago
ThomasV
3ec0ceba3e
add option to leave daemon running after GUI is closed
7 years ago
SomberNight
e829d6bbcf
wallet: put Sync and Verifier in their own TaskGroup, and that into interface.group
7 years ago
Janus
6e80ba7b4f
asyncio: labels, crash_reporter, fx: migrate requests use to aiohttp
7 years ago
Janus
97ea0fc439
aiorpcx: replace network loop with asyncio and try to maintain ten sessions
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago
SomberNight
684390a479
labels plugin: fix it. and extend to cli/daemon.
8 years ago
ghost43
a98e833897
getfeerate command: add optional parameters to specify custom fee level ( #4264 )
8 years ago
SomberNight
2b84fba67b
storage upgrade as part of the wizard. fix storage upgrade on kivy.
8 years ago