Skip to content

Require ChannelClosed::counterparty_node_id#973

Open
tnull wants to merge 1 commit into
lightningdevkit:mainfrom
tnull:2026-07-channel-closed-counterparty-required
Open

Require ChannelClosed::counterparty_node_id#973
tnull wants to merge 1 commit into
lightningdevkit:mainfrom
tnull:2026-07-channel-closed-counterparty-required

Conversation

@tnull

@tnull tnull commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Quick follow-up to #895.

Require ChannelClosed events to carry the counterparty node id. This removes a legacy missing value that callers could no longer handle. Persisted v0.1 queues with missing ids now fail to read. Newer optional encodings with the id still read correctly.

Require ChannelClosed events to carry the counterparty node id.

This removes a legacy missing value that callers could no longer handle.

Persisted v0.1 queues with missing ids now fail to read.

Newer optional encodings with the id still read correctly.

Co-Authored-By: HAL 9000
@ldk-reviews-bot

ldk-reviews-bot commented Jul 8, 2026

Copy link
Copy Markdown

I've assigned @wpaulino as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull changed the title Require ChannelClosed counterparty id Require ChannelClosed::counterparty_node_id Jul 8, 2026
@ldk-reviews-bot ldk-reviews-bot requested a review from wpaulino July 8, 2026 13:18
@tnull tnull added this to the 0.8 milestone Jul 8, 2026

@benthecarman benthecarman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test is kinda overkill but lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants