Skip to content

Replace funding_redeem_script with output script - #1093

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

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

👋 I see @tnull was un-assigned.
If you'd like another reviewer assignment, please click here.

@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?

@tnull
tnull removed their request for review September 22, 2026 11:27
@benthecarman

Copy link
Copy Markdown
Contributor Author

@tankyleo was asking for this mainly, discussed offline and fine to skip.

@benthecarman
benthecarman deleted the replace-funding-redeem-script branch September 22, 2026 23:38
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