1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-03 17:36:56 +01:00
eclair/eclair-core
Pierre-Marie Padiou be78e0ca57
Separate htlc calculation from local/remote commit (no quicklens) (#2194)
When we know for sure that an incoming htlc will never be fulfilled, we can safely ignore it. We used to only handle htlc fulfillment. Fixes #2168.

Note that when we receive a preimage for a htlc during a local/remote force close, we need to only update the htlcs and keep the rest of `LocalCommitPublished` untouched. In particular, we don't regenerate the claim-main tx (which can cause issues if fees change), and leave the `irrevocablySpent` untouched.

Also renamed and reorganized a few helper methods.
2022-03-02 18:12:32 +01:00
..
src Separate htlc calculation from local/remote commit (no quicklens) (#2194) 2022-03-02 18:12:32 +01:00
eclair-cli Remove network stats computation (#2094) 2021-12-09 11:58:04 +01:00
pom.xml Update a few dependencies (#2166) 2022-02-08 11:37:24 +01:00