108 Commits (f08e5541aeda9524eb456477f93732de7357c792)

Author SHA1 Message Date
ThomasV f08e5541ae Refactor invoices in lnworker. 6 years ago
SomberNight b2920db8b8
config: enforce that SimpleConfig is singleton 6 years ago
ThomasV cefa4762ba do not create multiple instances of SimpleConfig (fix #5629). Add config field to wallet 6 years ago
ThomasV 35761d1241 Save remote policy of chanel in wallet file (for private channels) 6 years ago
SomberNight 00f15d491b
lnpeer: somewhat nicer log messages 6 years ago
SomberNight 509df9ddaf
create class for ShortChannelID and use it 6 years ago
SomberNight edf186da0d
channeldb.load_data: attempt at fixing race 6 years ago
SomberNight 4f741cfccc
lnpeer: longer timeouts 6 years ago
ThomasV e286ed1c13 add_own_channel does not need to be async 6 years ago
SomberNight 956bd3baaf
lnpeer: make per-peer TaskGroup a field (as for interfaces), and use it 6 years ago
SomberNight f403735191
lnpeer: reestablish_channel - don't replay unacked msgs they alrdy have 6 years ago
ThomasV 65cf0ebce8 lnpeer, minor fixes: 6 years ago
SomberNight bce74717a6 lnpeer: in onion errors, handle channel updates both with and w/o type 6 years ago
SomberNight beeb81e179 lnpeer: use correct failure codes in _maybe_forward_htlc 6 years ago
SomberNight e54f0fbafa do not raise BaseException 6 years ago
SomberNight 47ee02569a lnpeer: send own outgoing channel updates to remote peer 6 years ago
SomberNight f0588846d5 channeldb: also store "message_flags" field for channel updates 6 years ago
SomberNight d229bb4e4d lnpeer: restore "temp save orphan channel updates" functionality 6 years ago
SomberNight 159fe04daf lnpeer: on_channel_open should not fail on server error 6 years ago
SomberNight a9239bd40f lnpeer: shutdown should wait until no HTLCs remain 6 years ago
SomberNight 2e38bcf416 lnpeer: failed htlc error handling ignored length of channel_update 6 years ago
SomberNight d2d4d19fcb lnpeer: add a few sanity checks to payment-forwarding (and related) 6 years ago
SomberNight 8ad25b3a52 lnpeer: make sure forwarding is disabled by default 6 years ago
SomberNight a27b03be6d lnhtlc: local update raw messages must not be deleted before acked 6 years ago
SomberNight 4fc9f243f7 lnpeer: reestablish_channel - always replay unacked local updates 6 years ago
ThomasV 9f8e2c689e test funding_txn_minimum_depth, show it in GUI 6 years ago
ThomasV bbec1dceda lnpeer: fix and simplify tests in maybe_send_commitment 6 years ago
SomberNight bb63bd98fb lnpeer: should not mark channel as OPEN if reestablish did not complete 6 years ago
SomberNight 940fc86749 lnpeer: reestablish_channel - fix data_loss_protect edge case 6 years ago
SomberNight 107f271e58 move all ctn book-keeping to lnhtlc (from lnchannel) 6 years ago
SomberNight b1f606eaed lnchannel: start using "latest" and "next" instead of "current" and "pending" 6 years ago
SomberNight 944e4f0ba0 implement data_loss_protect 6 years ago
SomberNight fdf8d8609b lnpeer: make feature-bit testing easier 6 years ago
SomberNight 014b921393 lnpeer: reestablish_channel - replay un-acked local updates 6 years ago
SomberNight e81ae1921b lnpeer: reestablish_channel - discard unsigned remote updates 6 years ago
SomberNight c046f2cc1c lnhtlc: move 'next_htlc_id' from ChannelConfig to lnhtlc log 6 years ago
SomberNight c8b19aec2a lnpeer: make reestablish_channel saner 6 years ago
SomberNight bdbc662a36 lnpeer: channel_reestablished is now a queue (instead of future) 6 years ago
SomberNight 0d84873a75 lnchannel: trivial clean-up 6 years ago
ThomasV fa3eefa479 refactor a few lnchannel methods 6 years ago
ThomasV f7c05f2602 Synchronize watchtower asynchronously: 6 years ago
SomberNight f060e53912 (trivial) fix type annotation 6 years ago
SomberNight 087994e39a lnchannel: move fee update logic to lnhtlc (and hopefully fix it) 6 years ago
ThomasV 3d7f7dfc82 revamp fee updates (draft) 6 years ago
SomberNight 7431aac5cd lnhtlc: (fix) was locking in too many updates during commit/revoke 6 years ago
ThomasV b55f9e9e6a Do not route through channels for which we did not receive 6 years ago
ThomasV 2be68ac4d2 Use one LNWatcher instance per wallet 6 years ago
ThomasV a8ce8109be Perform breach remedy without sweepstore: 6 years ago
ThomasV f2d58d0e3f optimize channel_db: 6 years ago
ThomasV 06b5299b0f comment out convert, add logging statement 6 years ago