Skip to content

How to tell if channel was closed by local or remote in JSON-RPC API? #10389

@gone-to-the-future

Description

@gone-to-the-future

Description

When requesting data about lightning channels via the JSON-RPC API, is there a concise way to tell who requested a channel close, whether cooperatively or via a force close?

I see in the code there is a channel state, but only FORCE_CLOSING and REQUESTED_FCLOSE seem to clearly indicate the "who".

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions