Skip to content

[feature]: Store the channel force close error message in the closed channels database #7696

Open
@saubyk

Description

@saubyk

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

Metadata

Metadata

Assignees

Labels

P1MUST be fixed or reviewedenhancementImprovements to existing features / behaviourforce closesintermediateIssues suitable for developers moderately familiar with the codebase and LN

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions