1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-14 11:58:19 +01:00
eclair/eclair-core
Pierre-Marie Padiou 339fe1c9f4
Take mutual close txes into account in bg check (#1621)
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.
2020-11-30 12:47:26 +01:00
..
src Take mutual close txes into account in bg check (#1621) 2020-11-30 12:47:26 +01:00
eclair-cli Update allnodes API (#1468) 2020-06-23 15:28:48 +02:00
pom.xml Back to development 2020-11-13 18:37:10 +01:00