89 Commits (a2d5e3183867e2ee9803c80f17c8a792a8531865)

Author SHA1 Message Date
SomberNight 373db76ac9
util: kill bh2u 3 years ago
ThomasV a5965933d2 Fix CTNs in should_be_closed_due_to_expiring_htlcs (fixes #7906). 3 years ago
SomberNight ef4477a930
lnpeer.reestablish_chan: enforce order of replaying commitsig/revack 4 years ago
ThomasV b431d8e9b8 follow-up eadd1bebb2 4 years ago
ThomasV 7a0904c0f4 wallet update: move fields that have string keys out of channel log 4 years ago
bitromortac 63308f94a0
reorganize with_lock decorator 5 years ago
SomberNight cb78f73ed0
lnworker: try to fail pending HTLCs when shutting down 5 years ago
SomberNight 05e58671c9
lnhtlc: (trivial) rename method 5 years ago
SomberNight f84f13529a
lnhtlc: fix deadlock 5 years ago
SomberNight 6094f2751e
kivy channel dialog: fix unit of displayed feerate 5 years ago
SomberNight e8a2fa5596
tests: lnpeer.htlc_switch: don't fulfill htlc until add is irrevocable 5 years ago
SomberNight 2d739981c2
lnhtlc: fix prev: too much copy-paste 5 years ago
SomberNight aba2e0f55a
lnhtlc: add all_htlcs_ever, get_htlc_by_id, was_htlc_failed and use them 5 years ago
SomberNight 51f42a25f9
lnhtlc: add lock to make methods thread-safe 5 years ago
ThomasV c1b1638615 fix htlc forwarding: 6 years ago
SomberNight 9a70b79eea
follow-up prev: try to handle json db int key madness :/ 6 years ago
SomberNight b524460fdf
lnpeer: implement basic handling of "update_fail_malformed_htlc" 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 c15cc42a32 fix for old channels 6 years ago
ThomasV 8f3fcdd1a8 Fix detection of payments. 6 years ago
ThomasV b9eaba3e85 replace await_local/remote 6 years ago
ThomasV da67fda92a HTLC switch: 6 years ago
ThomasV dbceed2647 Restructure wallet storage: 6 years ago
ThomasV aa51df0a1a Use attr.s for Feeupdates and Outpoints 6 years ago
SomberNight 0973b86925 lnworker: rework "is_dangerous" 6 years ago
SomberNight ce54b5411e lnhtlc: htlcs_by_direction now returns dict keyed by htlc_id 6 years ago
SomberNight a27b03be6d lnhtlc: local update raw messages must not be deleted before acked 6 years ago
SomberNight 7f1b456b93 lnhtlc.discard_unsigned_remote_updates: fix edge case 6 years ago
SomberNight 107f271e58 move all ctn book-keeping to lnhtlc (from lnchannel) 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 a3fd6b3ce8 lnhtlc: rename ctx_pending to revack_pending, and persist it 6 years ago
SomberNight 087994e39a lnchannel: move fee update logic to lnhtlc (and hopefully fix it) 6 years ago
SomberNight 7431aac5cd lnhtlc: (fix) was locking in too many updates during commit/revoke 6 years ago
ThomasV 9abbd077a5 lnhtlc: use boolean instead of int in ctn_latest 6 years ago
SomberNight 69bffac86a lnhtlc: fix adding htlc between sending commitment_signed and receiving revoke_and_ack 6 years ago
SomberNight fda6fb6521 lnhtlc: handle fails asymmetrically 6 years ago
SomberNight 8632f027da lnhtlc: small clean-up / docstrings 6 years ago
SomberNight 268f05c60c lnhtlc: add type hints 6 years ago
ThomasV 82491ff083 do not duplicate ctn in channel log and config 6 years ago
ThomasV 8d28188d24 lnhtlc: remove unused field in log 6 years ago
ThomasV b215d6c4b7 lnhtlc: rename ctnheights -> ctn 6 years ago
SomberNight a565c500f6 lnhtlc: revert 0c4e7b856f8c96c4f0a33bf3e0d1c8fd8184bd36 6 years ago
ThomasV 11c0c0d5a1 lnhtlc: fix received_in_ctn (LOCAL->REMOTE) 6 years ago
Janus f618bb4a67 lnhtlc: handle settles like adds (asymmetrical across ctns) 6 years ago
Janus e56e849505 lnchan refactor 6 years ago
Janus 1763d02b05 rename lnhtlc->lnchan, HTLCStateMachine->Channel 6 years ago
Janus b26dc66567 lnhtlc: only store feerate once, don't store heights since we do not roll back 6 years ago