SomberNight
48252318b8
rebase follow-up
6 years ago
ThomasV
30753ed475
watchtower: use network job, catch exceptions
6 years ago
ThomasV
680b129b4a
remote watchtower: initial commit
6 years ago
Janus
94a10e6307
rebase fixup: use new broadcast_transaction API
6 years ago
SomberNight
029ec5a5ab
make our channels private, and put routing hints in invoices we create
6 years ago
ThomasV
4441233596
get rid of callbacks in lnwatcher, use network events instead
6 years ago
ThomasV
6e5b36e661
lnwatcher simplification: remove ctn tests and pubkeys
6 years ago
ThomasV
11c3ca281c
create sweep transaction outside of lnwatcher
6 years ago
SomberNight
72eb179c7a
fix race between lnwatcher/lnworker
...
channels were sometimes not getting re-established
6 years ago
Janus
5859054095
fix lnwatcher for channels initiated by remote
6 years ago
Janus
0405f0d9ad
accept channel opening requests initiated by remote
6 years ago
ThomasV
22b06ddec2
lnwatcher: fix parameters to broadcast_transaction
6 years ago
SomberNight
c91fe27e7d
fix lnwatcher: network triggers were renamed
6 years ago
ThomasV
5c5982d9f7
lnwatcher: do not assume addr_sync.synchronizer
6 years ago
Janus
261fefb6f3
lnwatcher rebased
6 years ago
Janus
3eabd70df5
lightning: post aiorpcx rebase fixup
6 years ago
SomberNight
1b030fca78
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
6 years ago
ThomasV
bb4aa1e135
lnwatcher: pass address instead of wallet reference
6 years ago
ThomasV
bc28edf178
encapsulate funding_address_for_channel
6 years ago
ThomasV
9897e41e68
remove unused method
6 years ago
SomberNight
66817d41f9
lnwatcher improvements
...
- only try sweeping csv-locked to_local if past timelock
- check if outputs are already spent
- no need to keep watching channels for which all outputs are spent and mined deep
6 years ago
Janus
35adc3231b
lightning: fixup after rebasing on restructured master
6 years ago
SomberNight
18627ecd1a
lnwatcher: naive code to sweep to_local from our ctx (will not wait for timelock yet)
6 years ago
SomberNight
63d2c3aaf4
lnwatcher: sweep to_remote and to_local outputs if they close
6 years ago
Janus
fe973a5137
ln: avoid recursive dependencies, make new lnutil
6 years ago
Janus
7a3551b5df
ln: merge OpenChannel and HTLCStateMachine
6 years ago
Janus
77e9abc655
ln: store HTLCStateMachine in lnworker.channels
6 years ago
ThomasV
61983c222a
lightning: single shared instance of Watcher, ChannelDB and PathFinder
6 years ago
ThomasV
df960700c9
reestablish channels in network callback
6 years ago
ThomasV
322acd93d9
channel watcher class
6 years ago