Description
As described in issue #7426 (comment) there are situations where it would be very helpful if the last state was included in the data of the close summary and/or in exportchanbackup
.
Ofcourse this extra data must be totally ignored by all existing commands like restorechanbackup
. But in cases were you are 100 percent certain the channel state did not change, you would at least be able to manually extract the state from this data using an external tool like chantools
.
I made a very expensive mistake with abandonchannel
by assuming exportchanbackup
would allow me to restore the state. If the state had been stored in the close summary or in that backup, it would have allowed me to recover my funds.
I cannot think of any downsides by implementing this feature, except for the close summary and the returnvalue of exportchanbackup
growing a few bytes in size. Which seems a small tradeoff compared to the advantage it brings.