Skip to content

bolt: derive v2 channel ids from revocation basepoints - #278

Merged
morehouse merged 1 commit into
lnfuzz:masterfrom
erickcestari:v2-channel-id
Oct 13, 2026
Merged

morehouse merged 1 commit into
lnfuzz:masterfrom
erickcestari:v2-channel-id

Conversation

@erickcestari

Copy link
Copy Markdown
Member

BOLT 2 derives both the temporary_channel_id and the channel_id of a dual-funded channel from revocation basepoints rather than from the funding outpoint.

This is part of breaking down PR #239 into smaller PRs to make them easier to review.

@morehouse morehouse left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I verified all the expected-value tests against LDK and got the same results.

Please add a comment to each relevant test explaining that the expected values were computed by LDK.

BOLT 2 derives both the temporary_channel_id and the channel_id of a
dual-funded channel from revocation basepoints rather than from the
funding outpoint.
@erickcestari

Copy link
Copy Markdown
Member Author

I verified all the expected-value tests against LDK and got the same results.

Please add a comment to each relevant test explaining that the expected values were computed by LDK.

Added!

@morehouse
morehouse merged commit 671aba3 into lnfuzz:master Oct 13, 2026
5 checks passed
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.

2 participants