55 Commits (1b332748c3ef641ecb94e8cbaefd4c2483b6993f)

Author SHA1 Message Date
SomberNight b2920db8b8
config: enforce that SimpleConfig is singleton 7 years ago
SomberNight befa8ea771
transaction: kill "name", "csv_delay", "cltv_expiry" fields 7 years ago
ThomasV 35761d1241 Save remote policy of chanel in wallet file (for private channels) 7 years ago
SomberNight 83fcdbd561
lnchannel: handle htlc-address collisions 7 years ago
SomberNight 509df9ddaf
create class for ShortChannelID and use it 7 years ago
ThomasV a50f935aec Restructure invoices and requests (WIP) 7 years ago
SomberNight 47ee02569a lnpeer: send own outgoing channel updates to remote peer 7 years ago
SomberNight 0973b86925 lnworker: rework "is_dangerous" 7 years ago
SomberNight ce54b5411e lnhtlc: htlcs_by_direction now returns dict keyed by htlc_id 7 years ago
SomberNight 940fc86749 lnpeer: reestablish_channel - fix data_loss_protect edge case 7 years ago
SomberNight 107f271e58 move all ctn book-keeping to lnhtlc (from lnchannel) 7 years ago
SomberNight 44761972cb lnchannel: ctx output-ordering: identical htlcs are ordered by CLTV 7 years ago
SomberNight b1f606eaed lnchannel: start using "latest" and "next" instead of "current" and "pending" 7 years ago
SomberNight 944e4f0ba0 implement data_loss_protect 7 years ago
SomberNight c046f2cc1c lnhtlc: move 'next_htlc_id' from ChannelConfig to lnhtlc log 7 years ago
SomberNight 0d84873a75 lnchannel: trivial clean-up 7 years ago
ThomasV fa3eefa479 refactor a few lnchannel methods 7 years ago
ThomasV f7c05f2602 Synchronize watchtower asynchronously: 7 years ago
SomberNight f060e53912 (trivial) fix type annotation 7 years ago
SomberNight 087994e39a lnchannel: move fee update logic to lnhtlc (and hopefully fix it) 7 years ago
ThomasV 3d7f7dfc82 revamp fee updates (draft) 7 years ago
SomberNight 7431aac5cd lnhtlc: (fix) was locking in too many updates during commit/revoke 7 years ago
ThomasV 9045d7b293 cleanup revoke_current_commitment 7 years ago
ThomasV a8ce8109be Perform breach remedy without sweepstore: 7 years ago
ThomasV f2d58d0e3f optimize channel_db: 7 years ago
ThomasV 049857d528 on_revoke_and_ack: be robust to exceptions raised in lnwatcher 7 years ago
ThomasV d9b041e64d encapsulate detect_who_closed in channel 7 years ago
SomberNight 69bffac86a lnhtlc: fix adding htlc between sending commitment_signed and receiving revoke_and_ack 7 years ago
ThomasV 8d99fe8243 Let lnworker sweep HTLC outputs after breach, instead of lnwatcher 7 years ago
ThomasV 7be4cdaf18 redeem htlcs: 7 years ago
ThomasV 6bbdbf7596 rework on_channel_closed in LNWorker: 7 years ago
ThomasV 3c0df28c98 do not include 'force_closing' in channel states, because it is not part of the peer protocol 7 years ago
ThomasV 670424f080 get_payments: do not include failed payments 7 years ago
SomberNight cc57da704b logging: adapt lightning branch to logging changes 7 years ago
SomberNight f47519bdf3 lnchan: make_commitment and balance (follow-up prev) 7 years ago
SomberNight 8632f027da lnhtlc: small clean-up / docstrings 7 years ago
ThomasV e7218d798d add get_channel_ctx to CLI, for testing breaches 7 years ago
ThomasV 023d4026b9 fix local_index in channel _shutdown 7 years ago
ThomasV 3abe30e9d8 basic watchtower synchronization 7 years ago
ThomasV ec97d623a5 force-close channel if unfulfilled htlc is close to cltv expiry 7 years ago
ThomasV 8d77a7ecd8 save timestamps in htlc log 7 years ago
ThomasV a7d37b72db factorize channel opening code into chan.open_with_first_pcp 7 years ago
ThomasV c3f6351922 simplify points, remove side-effect in reestablish_channel 7 years ago
ThomasV 82491ff083 do not duplicate ctn in channel log and config 7 years ago
ThomasV 3e443535a2 lnchannel: pass reference to lnworker 7 years ago
ThomasV a8e2f79563 lnchannel: save timestamp when we settle 7 years ago
SomberNight ef7a59b4a9 lnchannel: save htlc preimages as soon as possible but horribly hacky 7 years ago
SomberNight 7292da24e6 lnchannel: only consider payments finished when we revoke our old ctx 7 years ago
SomberNight 962628ac3d lnworker: minor clean-up re payment_completed 7 years ago
Janus f618bb4a67 lnhtlc: handle settles like adds (asymmetrical across ctns) 7 years ago