Commit Graph

38 Commits

Author SHA1 Message Date
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
2019-08-20 09:03:12 +02:00
ThomasV 842fff832f enable lightning through command line option 2019-08-20 09:03:11 +02:00
ThomasV 3abe30e9d8 basic watchtower synchronization 2019-08-20 09:03:11 +02:00
ThomasV 632f11d5da watchtower: add watch_channel rpc 2019-08-20 09:03:11 +02:00
SomberNight 17ccb79ca4 channel verifier: NetworkJobOnDefaultServer, and some error handling 2019-08-20 09:03:10 +02:00
ThomasV 5a081b2131 start channel verifier in network.start() 2019-08-20 09:03:10 +02:00
ThomasV 9362130fba fix race between network and lnwatcher (network.add_job does not always work) 2019-08-20 09:03:10 +02:00
ThomasV e761f5b876 add watchtower class, send encumbered tx as json 2019-08-20 09:03:10 +02:00
ThomasV 680b129b4a remote watchtower: initial commit 2019-08-20 09:03:10 +02:00
ThomasV 08448fd2f0 add lnworker in start_network 2019-08-20 09:03:10 +02:00
Janus 261fefb6f3 lnwatcher rebased 2019-08-20 09:03:10 +02:00
SomberNight 3385a94753 logging: basics 2019-05-02 15:19:03 +02:00
SomberNight 12b98fa251 wizard: fix regression: unencrypted wallets were not getting upgraded
fixes #5177
2019-03-04 17:23:43 +01:00
SomberNight 43583c1e28 daemon: make sure wallet paths are standardised everywhere 2019-03-04 02:49:41 +01:00
ThomasV b06b8753e6 fix #5088 2019-02-08 12:59:06 +01:00
ThomasV 1da1f0bfea fix #4984 2019-02-08 11:17:48 +01:00
Janus 2737744bfe daemon: forward TypeError trace to client 2019-01-29 02:07:10 +01:00
SomberNight 48e119b59e qt history: minor clean-up and sanity checking 2018-12-10 09:31:47 +01:00
SomberNight eba97f74b4 decorate some methods with @profiler to debug slow startup 2018-11-16 14:39:22 +01:00
SomberNight a89e67eeed network: trivial clean-up 2018-11-04 19:25:23 +01:00
SomberNight e37da62a1c fix most "scripts"
related: #4754
2018-11-02 20:14:59 +01:00
SomberNight c2ecfaf239 move event loop construction to daemon 2018-11-01 16:30:03 +01:00
SomberNight ca8eae919f daemon: clarify error print 2018-10-31 19:59:07 +01:00
SomberNight 917b7fa898 network shutdown safety belts 2018-10-26 22:43:33 +02:00
SomberNight 361ffc0620 correctly handle bitcoin URIs if GUI is already running
see #4796
2018-10-25 00:18:14 +02:00
SomberNight 81cc20039e more type annotations in core lib 2018-10-22 16:41:25 +02:00
SomberNight 1233309ebd cli/rpc: 'restore' and 'create' commands are now available via RPC 2018-10-11 20:57:15 +02:00
SomberNight 7dd4032cce daemon: call self.start in __init__, and allow not to listen on jsonrpc 2018-10-01 17:56:51 +02:00
SomberNight 4653a1007c daemon: more convenient constructor for scripts 2018-10-01 15:49:26 +02:00
SomberNight 5e4a4ae16b minor clean-up (prints/types/imports) 2018-09-28 17:58:46 +02:00
SomberNight 32d5305295 fix daemon.load_wallet 2018-09-28 16:43:25 +02:00
SomberNight 952e9b87e1 network: clean-up. make external API clear. rm interface_lock (mostly). 2018-09-25 16:44:39 +02:00
SomberNight d50b36d314 daemon: suppress pop wallet failure
follow-up 3ec0ceba3e
related: #4126
2018-09-20 00:55:09 +02:00
ThomasV 3ec0ceba3e add option to leave daemon running after GUI is closed 2018-09-18 12:05:37 +02:00
SomberNight e829d6bbcf wallet: put Sync and Verifier in their own TaskGroup, and that into interface.group 2018-09-11 20:24:01 +02:00
Janus 6e80ba7b4f asyncio: labels, crash_reporter, fx: migrate requests use to aiohttp 2018-09-06 16:18:45 +02:00
Janus 97ea0fc439 aiorpcx: replace network loop with asyncio and try to maintain ten sessions 2018-09-06 14:11:20 +02:00
Janus 097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00