Skip to content

Nodes shouldn't publish their commitment when receiving outdated channel_reestablish #6017

Open
@t-bast

Description

@t-bast

When receiving a channel_reestablish that indicates that your peer has outdated data, you shouldn't close instantly.
You should only trigger the force-close when receiving an error message from your peer.
This gives them an opportunity to correct it and potentially prevent the force-close.

See lightning/bolts#934 for details.

Metadata

Metadata

Assignees

Labels

channel closingRelated to the closing of channels cooperatively and uncooperativelychannel managementThe management of the nodes channelsspec

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions