Currently the data stored in the closed channel database points to the type of channel closure e.g. local force close or remote force close, but not specifically the reason which may have triggered it.
Some examples can be:
- User initiated
- Low on reserve
Typically these reasons are printed on the console logs, which is hard to track for a user. If logged in the database, it can provide some additional insight to the user on the reason for force close, especially for the cases where the closure has been triggered automatically.
The ClosedChannels rpc should also be updated to include the reason in the ChannelCloseSummary response
Currently the data stored in the closed channel database points to the type of channel closure e.g.
local force closeorremote force close, but not specifically the reason which may have triggered it.Some examples can be:
Typically these reasons are printed on the console logs, which is hard to track for a user. If logged in the database, it can provide some additional insight to the user on the reason for force close, especially for the cases where the closure has been triggered automatically.
The
ClosedChannelsrpc should also be updated to include the reason in theChannelCloseSummaryresponse