Open
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 = 0
because 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_signed
in dual funding lightning/bolts#1214 (comment)