-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
channel managementThe management of the nodes channelsThe management of the nodes channelsrecoveryRelated to the backup/restoration of LND data (e.g. wallet seeds)Related to the backup/restoration of LND data (e.g. wallet seeds)spec
Description
-
We introduced soft error-handling because of other implementations sending us errors although the channel was still fully functional and could recover after restart. For more background see: C-lightning sending permanent channel failure on failed gossip sync ElementsProject/lightning#4212
We should Force-Close the channel as soon as we receive an error to be spec. compliant. -
Moreover we need to also rethink our strategy of Force-Closing the channel if the
next_commitment_number = 0because dual-funding has some use-cases where the commitment number is set to 0 and we should not force close the channel.
For more info see: Do not unnecessarily retransmitcommitment_signedin dual funding lightning/bolts#1214 (comment)
Metadata
Metadata
Assignees
Labels
channel managementThe management of the nodes channelsThe management of the nodes channelsrecoveryRelated to the backup/restoration of LND data (e.g. wallet seeds)Related to the backup/restoration of LND data (e.g. wallet seeds)spec