mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-14 11:58:19 +01:00
We have a background task that periodically checks the blockchain to detect unexpected transactions, as they could be cheating attempts. When cooperatively closing a channel, in the `NEGOTIATING` state, peers exchange signatures in order to converge on a feerate for the mutual close transaction. Any transaction exchanged during this negotiation process is valid and may be published, even if the counterparty dies abruptly before converging, due to e.g. connectivity issues. Therefore, the electrum background check needs to take those transactions into account and not flag them as potential cheating attempts. We already do that when we are in the `CLOSING` state, as there may be competing mutual closes. |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |