Skip to content

Channel reestablish: wait for/send error message when behind #7625

@bitromortac

Description

@bitromortac

Upon channel reestablishment, if a peer is behind the state it should be, the other peer force closes on the late peer.

There are discussions about the order of events and error messages:
lightning/bolts#942
lightning/bolts#932

If I understand correctly, the late peer should first send an error message and only then, the ahead peer closes. We neither send error messages nor wait on receiving them:

if they_are_ahead:

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