Skip to content

Include channel ID in lncli pendingchannels #5575

@C-Otto

Description

@C-Otto
Contributor

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.

Activity

added
beginnerIssues suitable for new developers
rpcRelated to the RPC interface
on Jul 27, 2021
ErikEk

ErikEk commented on Jul 27, 2021

@ErikEk
Contributor

I can fix this.

ErikEk

ErikEk commented on Aug 1, 2021

@ErikEk
Contributor

@C-Otto I've made a pr. Sorry for the delay. If it doesn't get merged, for whatever reason, you have to do a lookup based upon an internal list of channel_point entries instead.

added
P3might get fixed, nice to have
on Aug 31, 2021
C-Otto

C-Otto commented on May 24, 2022

@C-Otto
ContributorAuthor

The channel point is included, which is enough to identify the channel. With this information I was able to work around my intial issue. As such, I don't mind if this will be closed ("won't do").

guggero

guggero commented on Jun 1, 2022

@guggero
Collaborator

Closing as per above comment and #5592 (comment).

LNBIG-COM

LNBIG-COM commented on Sep 14, 2023

@LNBIG-COM

Hello,

Can I ask to open this issue again?

I have described my explanation here

guggero

guggero commented on Sep 18, 2023

@guggero
Collaborator

Re-opened the PR in #8000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @C-Otto@Roasbeef@guggero@ErikEk@carlaKC

        Issue actions

          Include channel ID in `lncli pendingchannels` · Issue #5575 · lightningnetwork/lnd