Skip to content

Send channel_resstablish that causes lnd to force-close if we don't have the channel #1565

Closed
@TheBlueMatt

Description

@TheBlueMatt

lnd is now the only major lightning implementation that deliberately ignores error messages, causing it to not force-close channels even though we ask the peer to. lnd themselves works around this when trying to restart with their "static channel backups" (which are not, in fact, channel backups...) by sending a channel_reestablish message that is bogus (I don't recall exactly how, so would need to dig on that first). As much as I really hate to create yet another workaround in our code just because lnd continues to ignore the common spec that no one else has a problem with, it is kinda important we can make our peer broadcast the latest state if we ask, so we should probably send a similar channel_reestablish any time we receive a channel_reestablish from a peer for a channel we dont (any longer) have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions