1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-21 14:04:10 +01:00
eclair/eclair-core
Bastien Teinturier 67e896b37d
Use default confirmations for single-funded channel (#3013)
For single-funded channels where we are the funder, we previously only
waited for 1 confirmation before marking the funding transaction as
confirmed. This is fine because we trust ourselves to not double-spend
our own channels.

However, in #2969, we started assigning the `short_channel_id` when we
consider the funding transaction confirmed, and not after 6 blocks. We
thus now risk creating a `short_channel_id` after only 1 confirmation,
which is too early in case a reorg happens. This wouldn't cause loss
of funds because we would create invalid `channel_update`s and the
channel would likely not be usable.
2025-02-21 13:48:59 +01:00
..
src Use default confirmations for single-funded channel (#3013) 2025-02-21 13:48:59 +01:00
eclair-cli Fix eclair-cli "compact" mode (#2990) 2025-02-11 11:17:25 +01:00
pom.xml Update Bitcoin Core to v28.x (#2962) 2025-02-14 08:52:51 +01:00