Skip to content

ChannelAuthProof for own channels is missing after running dropchannelgraph #48

Open
@silenzara

Description

@silenzara

I used dropchannelgraph with the intention to fix missing channel information that was introduced due to running with routing.assumechanvalid=true when I started using my node for the first time.

The command was successful and my node started synching the graph to a state that had all channel information like I wanted to. So that's awesome.

I did however notice that all my channels were missing when I ran lncli getnodeinfo <my_pubkey> --include_channels. The channels were present when I ran lncli listchannels or when I ran getnodeinfo with my peer's pubkey however.

At this point I asked for help on the LND slack and guggero responded. The issue has to do with the ChannelAuthProof not existing for my own channels. Causing LND to interpret my channels as unannounced and not listing them.

Normally, the ChannelAuthProof is created before the channel is publicly announced and without it the channel cannot be announced because the "proof" is needed by other nodes to verify that the channel is legitimate.

Luckily for me the proof is remembered by my peers that I share the channel with so they can do the broadcasting of the channel. But the situation is not ideal for sure.

So in part this github issue is to document the behavior of dropchannelgraph and also write a bit about ChannelAuthProof since google did not provide any information about it.

The other reason is to make a feature request to dropchannelgraph that will create the proof after adding the nodes edges. Like you (guggero) already said on slack it is a bit tricky since you need to pass the seed to sign the proofs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions