Commit Graph

18 Commits

Author SHA1 Message Date
SomberNight 029ec5a5ab make our channels private, and put routing hints in invoices we create 2019-08-20 09:03:10 +02:00
ThomasV 4441233596 get rid of callbacks in lnwatcher, use network events instead 2019-08-20 09:03:10 +02:00
ThomasV 6e5b36e661 lnwatcher simplification: remove ctn tests and pubkeys 2019-08-20 09:03:10 +02:00
ThomasV 11c3ca281c create sweep transaction outside of lnwatcher 2019-08-20 09:03:10 +02:00
SomberNight 72eb179c7a fix race between lnwatcher/lnworker
channels were sometimes not getting re-established
2019-08-20 09:03:10 +02:00
Janus 5859054095 fix lnwatcher for channels initiated by remote 2019-08-20 09:03:10 +02:00
Janus 0405f0d9ad accept channel opening requests initiated by remote 2019-08-20 09:03:10 +02:00
ThomasV 22b06ddec2 lnwatcher: fix parameters to broadcast_transaction 2019-08-20 09:03:10 +02:00
SomberNight c91fe27e7d fix lnwatcher: network triggers were renamed 2019-08-20 09:03:10 +02:00
ThomasV 5c5982d9f7 lnwatcher: do not assume addr_sync.synchronizer 2019-08-20 09:03:10 +02:00
Janus 261fefb6f3 lnwatcher rebased 2019-08-20 09:03:10 +02:00
Janus 3eabd70df5 lightning: post aiorpcx rebase fixup 2019-08-20 09:03:10 +02:00
SomberNight 1b030fca78 rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus) 2019-08-20 09:03:10 +02:00
ThomasV bb4aa1e135 lnwatcher: pass address instead of wallet reference 2019-08-20 09:03:10 +02:00
ThomasV bc28edf178 encapsulate funding_address_for_channel 2019-08-20 09:03:10 +02:00
ThomasV 9897e41e68 remove unused method 2019-08-20 09:03:10 +02:00
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
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