241 Commits (57270e3bf3c4c1f6cad9b5fba3ca38d0308ed613)

Author SHA1 Message Date
SomberNight 62be1cc367
small clean-up re "extract preimage from on-chain htlc_tx" 6 years ago
ThomasV d7b853f271 follow-up 8ba7e68064 6 years ago
ThomasV c1b1638615 fix htlc forwarding: 6 years ago
ThomasV 8ba7e68064 fix #6122: extract preimage from on-chain htlc_tx 6 years ago
ThomasV 123b8c1792 (minor) rename chan.sweep_htlc 6 years ago
SomberNight f5eb91900a
use correct feerate when sweeping htlcs 6 years ago
SomberNight f52072e169
follow-up prev 6 years ago
ThomasV 9224404108 Move callback manager out of Network class 6 years ago
SomberNight 12283d625b
(trivial) rename lnchannel.channel_states to ChannelState 6 years ago
SomberNight 8e8ab775eb
lnchannel: make AbstractChannel inherit ABC 6 years ago
ThomasV e50f6d29ed export channel backup from kivy gui 6 years ago
ThomasV 74517c88ad do not use short_channel_id as state, use channel state for that. 6 years ago
ThomasV 8f41aeb783 Replace wallet backup with channel backups 6 years ago
ThomasV 55d0a9587e move maybe_save_short_chan_id to lnchannel 6 years ago
ThomasV aa32e31a3d follow-up previous commit 6 years ago
ThomasV 06dfe1699c LNWatcher: Distinguish between blockchain-triggered channel state 6 years ago
ThomasV 5067166e1e move should_channel_be_closed_due_to_expiring_htlcs into Channel class 6 years ago
SomberNight 3a73f6ee5c
lnmsg.decode_msg: dict values for numbers are int, instead of BE bytes 6 years ago
SomberNight 4c10a830f3
lnmsg: rewrite LN msg encoding/decoding 6 years ago
SomberNight 79d57784c1
lnchannel: add more type hints 6 years ago
SomberNight db84de5493
trivial: use "chunks()" for htlc_sigs in lnchannel 6 years ago
SomberNight 8ad6d5ddda
lnchannel: clean-up docstrings a bit 6 years ago
SomberNight acb0d7ebac
lnchannel: better checks for "update_add_htlc" 6 years ago
SomberNight 7498271927
follow-up prev: htlc direction madness 6 years ago
SomberNight 5b7ce98ab2
lnchannel: fix included_htlcs 6 years ago
SomberNight 3ed6afce64
lnchannel: implement freezing channels (for receiving) 6 years ago
SomberNight 5c8455d00b
lnchannel: when adding HTLCs, run checks for both directions 6 years ago
SomberNight 53c6fc8cf1
lnchannel: test for max htlc value (needs to be below protocol maximum) 6 years ago
SomberNight 777e350fae
lnchannel: partly fix available_to_spend 6 years ago
SomberNight deb50e7ec3
lnchannel: implement "freezing" channels (for sending) 6 years ago
SomberNight 2cc76fbbbd
lnworker: fix type error re pending_payments, and impl malformed htlcs 6 years ago
SomberNight b524460fdf
lnpeer: implement basic handling of "update_fail_malformed_htlc" 6 years ago
SomberNight ea0981ebeb
lnutil.UpdateAddHtlc: use attrs instead of old-style namedtuple 6 years ago
ThomasV 5bac2fea98 Qt: improve channel details window 6 years ago
ThomasV fe2b40b83d Fix #6021: Do not transition channel state to CLOSED if tx is unconfirmed. 6 years ago
ThomasV 05a191cc6a (minor) simplification 6 years ago
ThomasV 3c111471e9 Fix bug with save_funding_height, save_closing_height 6 years ago
SomberNight 5b23d5ee97
lnchannel/lnhtlc: speed up balance calculation for recent ctns 6 years ago
SomberNight ec7473789e
lnhtlc: speed-up methods for recent ctns 6 years ago
ThomasV 888a6d726e Propagate exceptions raise by force_close to the GUI. 6 years ago
ThomasV 15fb8c0415 allow transition from FORCE_CLOSING to REDEEMED. define REDEEM_AFTER_DOUBLE_SPENT_DELAY 6 years ago
ThomasV 28452e2d46 do not try to reestablish channel if state is FORCE_CLOSING 6 years ago
ThomasV eaf4810220 (minor) fix typo 6 years ago
ThomasV 34e236c9b6 CLI: show channel reserves and unsettled balances. fixes #5817 6 years ago
SomberNight fa0ef9c548
ln: store network addresses for channel counterparties in channels 6 years ago
ThomasV 8f3fcdd1a8 Fix detection of payments. 6 years ago
ThomasV b9eaba3e85 replace await_local/remote 6 years ago
ThomasV cfc20845a2 lnworker: dissociate htlc forwarding and fulfillment 6 years ago
ThomasV da67fda92a HTLC switch: 6 years ago
ThomasV 34400c0710 Set channel state to OPENING as soon as we receive 'funding_signed', 6 years ago