Skip to content

Refactor commitment outputs#3070

Closed
sstone wants to merge 1 commit intomasterfrom
refactor-commitment-outputs
Closed

Refactor commitment outputs#3070
sstone wants to merge 1 commit intomasterfrom
refactor-commitment-outputs

Conversation

@sstone
Copy link
Member

@sstone sstone commented Apr 24, 2025

We update CommitmentOutput to include the actual output that it represents in the commit tx, and the redeem script to spend it. We also include 2nd level HTLC transactions when they are not trimmed. We remove CommitmentOutputLink which is now useless, and simplify how we create commitment and HTLC transactions.

@sstone sstone marked this pull request as ready for review April 24, 2025 14:10
We update CommitmentOutput to include the actual output that it represents in the commit tx, and the redeem script to spend it.
We also include 2nd level HTLC transactions when they are not trimmed.
We remove CommitmentOutputLink which is now useless, and simplify how we create commitment and HTLC transactions.
@sstone sstone force-pushed the refactor-commitment-outputs branch from 59cb049 to c84d716 Compare April 24, 2025 16:29
@t-bast
Copy link
Member

t-bast commented Apr 24, 2025

Let's see if this works with the complete refactoring of transaction signing before merging this. If the approach I'm following that completely removes the redeem information works, we may not need this at all! And if it doesn't work, then it will confirm that we should merge this PR and build on top of it.

@t-bast
Copy link
Member

t-bast commented May 7, 2025

This change was included as part of #3074

@t-bast t-bast closed this May 7, 2025
@t-bast t-bast deleted the refactor-commitment-outputs branch May 7, 2025 13:52
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