1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-13 19:37:35 +01:00
eclair/eclair-core
Bastien Teinturier b5e83a6092
Add closing test reconnect with 3rd-stage txs (#2820)
We had some cases where channels were staying stuck in the CLOSING state
without going to the CLOSED state in previous versions of eclair where
we published different versions of our 3rd-stage transactions after a
restart and a feerate increase.

This happened in two cases:

- when we published a different version of our claim-main, since we only
  store the latest (it's an `Option`, not a `Seq`) and put a watch on
  this specific `txid` instead of watching the corresponding output
- when we re-published 3rd-stage txs after receiving `CMD_FULFILL_HTLC`
  because we replaced the previous `claim-htlc-delayed` transactions

This was on my backlog for a while, and I wanted to take another look at
it after the splicing implementation. Fortunately, this was fixed as
part of the splicing changes, but it's worth having a test to ensure
that there's no regression from future changes.
2024-02-13 17:31:13 +01:00
..
src Add closing test reconnect with 3rd-stage txs (#2820) 2024-02-13 17:31:13 +01:00
eclair-cli FIX eclair-cli error code in case of HTTP problem (#2798) 2024-01-02 10:39:07 +01:00
pom.xml Update logback-classic (#2796) 2023-12-06 15:09:11 +01:00