Skip to content

Include channel ID in lncli pendingchannels #5575

Description

@C-Otto

Background

See #5574 for more background.

I force-closed a channel and now have to wait for my funds to arrive in my wallet (limbo). This is fine and it works as expected.

The channel is listed in lncli pendingchannels, but this output does not include the channel ID. As I derive certain statistics for my channels based on the channel IDs, I cannot do this for pending (force closed) channels. As a result, the numbers for such channels just drop to 0, messing up my statistics. As soon as a closed/closing channel is fully closed and the channel ID appears in lncli closedchannels, I guess the corresponding number will jump back up, causing more confusion.

Your environment

  • lnd 0.13.1 with some patches
  • Linux server 4.19.0-14-amd64 Fix name typo in README #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
  • bitcoind 0.21.0 (bitcoin core)

Steps to reproduce

Force-close a channel with local balance that will be returned after the time lock. Run lncli pendingchannels.

Expected behaviour

The channel ID appears in lncli pendingchannels.

Actual behaviour

It does not show up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3might get fixed, nice to havebeginnerIssues suitable for new developershelp wantedrpcRelated to the RPC interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions