Skip to content

Replace funding_redeem_script with output script - #1093

Open
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:replace-funding-redeem-script
Open

Replace funding_redeem_script with output script#1093
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:replace-funding-redeem-script

Conversation

@benthecarman

Copy link
Copy Markdown
Contributor

Expose the funding output's scriptPubKey on ChannelDetails as funding_output_script instead of the witness script. An output script stays meaningful for future taproot channels, where there is no witness script to expose, while a redeem script does not.

The field was added after the last release, so no compatibility note is needed.

Expose the funding output's scriptPubKey on ChannelDetails as
funding_output_script instead of the witness script. An output script
stays meaningful for future taproot channels, where there is no
witness script to expose, while a redeem script does not.

The field was added after the last release, so no compatibility note
is needed.

This commit was written with the help of an AI tool.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ldk-reviews-bot

ldk-reviews-bot commented Sep 10, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @tnull 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.

@tankyleo tankyleo 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.

LGTM tnull let us know what you think. I plan to update the API in rust-lightning for 0.4.

@tankyleo
tankyleo requested a review from tnull September 10, 2026 00:54
@tnull

tnull commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

LGTM tnull let us know what you think. I plan to update the API in rust-lightning for 0.4.

Hmm, is there a rush? I.e., shouldn't LDK Node just follow the API change once it happened in LDK?

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.

4 participants