SomberNight
0b2993cd06
add licence headers to more files
2018-11-05 20:24:10 +01:00
Janus
c34ce01f3b
follow-up redeeming of local outgoing htlc outputs, fix tests
2018-11-05 20:24:03 +01:00
Janus
3afb9c8ca3
redeem htlc outputs of our local commitment transaction back to wallet
2018-11-05 20:24:02 +01:00
SomberNight
5c8b5a0b7c
some more type annotations that needed conditional imports
2018-11-05 20:24:02 +01:00
ThomasV
5243ca97d9
minor fix
2018-11-05 20:22:44 +01:00
ThomasV
7cbb186167
fix race between network and lnwatcher (network.add_job does not always work)
2018-11-05 20:22:43 +01:00
ThomasV
1e3a91964d
add watchtower class, send encumbered tx as json
2018-11-05 20:19:05 +01:00
SomberNight
dc43341717
rebase follow-up
2018-11-05 20:19:04 +01:00
ThomasV
0c52c1cc8d
watchtower: use network job, catch exceptions
2018-11-05 20:19:04 +01:00
ThomasV
bdb54ef8ca
remote watchtower: initial commit
2018-11-05 20:19:03 +01:00
Janus
786ead4d83
rebase fixup: use new broadcast_transaction API
2018-11-05 20:19:03 +01:00
SomberNight
37ddb89ec1
make our channels private, and put routing hints in invoices we create
2018-11-05 20:18:53 +01:00
ThomasV
cf6519ee0e
get rid of callbacks in lnwatcher, use network events instead
2018-11-05 20:18:51 +01:00
ThomasV
6bdd8b87a0
lnwatcher simplification: remove ctn tests and pubkeys
2018-11-05 20:18:50 +01:00
ThomasV
607eda3a29
create sweep transaction outside of lnwatcher
2018-11-05 20:18:48 +01:00
SomberNight
3e1862bb94
fix race between lnwatcher/lnworker
...
channels were sometimes not getting re-established
2018-11-05 20:18:47 +01:00
Janus
0a67872e83
fix lnwatcher for channels initiated by remote
2018-11-05 20:18:45 +01:00
Janus
77479068c5
accept channel opening requests initiated by remote
2018-11-05 20:18:43 +01:00
ThomasV
277ad65ba1
lnwatcher: fix parameters to broadcast_transaction
2018-11-05 20:18:34 +01:00
SomberNight
2d24ac150a
fix lnwatcher: network triggers were renamed
2018-11-05 20:18:29 +01:00
ThomasV
356149cd52
lnwatcher: do not assume addr_sync.synchronizer
2018-11-05 20:16:14 +01:00
Janus
d3a1c8ce42
lnwatcher rebased
2018-11-05 20:16:10 +01:00
Janus
9ccf80200b
lightning: post aiorpcx rebase fixup
2018-11-05 20:16:09 +01:00
SomberNight
9b0ac5cc45
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
2018-11-05 20:16:08 +01:00
ThomasV
f6fcda7f85
lnwatcher: pass address instead of wallet reference
2018-11-05 20:05:57 +01:00
ThomasV
67174b9814
encapsulate funding_address_for_channel
2018-11-05 20:05:57 +01:00
ThomasV
6c901b3e9a
remove unused method
2018-11-05 20:05:53 +01:00
SomberNight
f99de79da1
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
2018-11-05 20:05:51 +01:00
Janus
8276d023c2
lightning: fixup after rebasing on restructured master
2018-11-05 20:05:44 +01:00