Skip to content

[bug]: Node broadcasting stale (long closed) channels on the gossip network #9594

@lnplus

Description

@lnplus

Background

I have been running my node for years without issues, but in the last few months it is acting strange. It is not broadcasting the real channels I have but old channels that have already been closed some time ago. This issue is also reported by my peers.

If I query my node "publicly" or "internally" it reports a different number of channels:

  • get_node_info shows: 220 channels - incorrect including 198 long closed channels
  • bos peers, or thunderhub shows: 22 channels - correct amount

Your environment

  • lnd version: 0.18.5-beta
  • Voltage version: v0.4.24
  • btcd full node, latest version

Steps to reproduce

Peer to my node: 0302536817c335e45bcd0b10b78fd06bc246609405d98eb64672410dce04f49e5f
See attached image for what a peer sees.

Image

Expected behaviour

My node should only broadcast open channels and not closed ones.

Actual behaviour

My node is broadcasting on the gossip network stale channel states that are about channels that have been closed long time ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnintended code behaviourgraph

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions