Commit graph

220 commits

Author SHA1 Message Date
SomberNight
1b030fca78 rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus) 2019-08-20 09:03:10 +02:00
SomberNight
b85aea1541 qt: pay_lightning_invoice - attempt paying multiple times in case of failure 2019-08-20 09:03:10 +02:00
SomberNight
15a6a83107 ln onchain fees: use 2 block ETAs with 150 s/b fallback 2019-08-20 09:03:10 +02:00
SomberNight
f3e5ba6ac1 more reliable peer and channel re-establishing 2019-08-20 09:03:10 +02:00
SomberNight
362a3a5a44 lnworker: fix confusion re what is in self.peers 2019-08-20 09:03:10 +02:00
SomberNight
9f79b7df63 don't connect to same peer multiple times 2019-08-20 09:03:10 +02:00
SomberNight
c02cc9bb3b persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
2019-08-20 09:03:10 +02:00
SomberNight
bc06ded4b9 persist nodes in channel_db on disk 2019-08-20 09:03:10 +02:00
Janus
7f0568d83a special case receiving payment after fee update, fee update injector 2019-08-20 09:03:10 +02:00
SomberNight
fca5c9379f avoid crash if don't have peer for open channel 2019-08-20 09:03:10 +02:00
SomberNight
8e63471d69 allow paying invoice without amount. min feerate 253 sat/kw. 2019-08-20 09:03:10 +02:00
Janus
2fd5f8613a ln: fix race in on_network_update 2019-08-20 09:03:10 +02:00
Janus
d5cb21143f ln: send update_fee on fee change, handle nodes without data_protect 2019-08-20 09:03:10 +02:00
SomberNight
135951a13f qt channels list: update channel when detecting close 2019-08-20 09:03:10 +02:00
Janus
d740475e7a move channel_state into HTLCStateMachine 2019-08-20 09:03:10 +02:00
ThomasV
b5f0209a56 fix crash in lnworker main_loop 2019-08-20 09:03:10 +02:00
ThomasV
31b67c422b add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor 2019-08-20 09:03:10 +02:00
ThomasV
2ee41975f9 add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity. 2019-08-20 09:03:10 +02:00
ThomasV
8f779f504f LNWorker: connect to multiple peers.
save exceptions in aiosafe.
enable adding peer in GUI.
2019-08-20 09:03:10 +02:00
Janus
35adc3231b lightning: fixup after rebasing on restructured master 2019-08-20 09:03:10 +02:00
Renamed from lib/lnworker.py (Browse further)