Skip to content

Conversation

@sstone
Copy link
Member

@sstone sstone commented May 5, 2025

We extend CommitmentOutput to include the actual TxOut it represents in the commit tx, as well as 2nd-level HTLC success/timeout outputs.
This way we can create the entire tree of commit tx outputs/2nd level HTLC outputs at once.

@sstone sstone requested a review from t-bast May 5, 2025 15:18
Add the actual commit tx output to CommitmentOutput.
Add the 2nd-level HTLC output to InHtlc/OutHtlc.
@sstone sstone force-pushed the refactor-tx-signing-commitment-outputs branch from 4958c7b to a122039 Compare May 5, 2025 17:39
Copy link
Member

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

Nice, this is indeed much simpler, thanks!

@t-bast t-bast merged commit 7730da7 into refactor-tx-signing May 6, 2025
@t-bast t-bast deleted the refactor-tx-signing-commitment-outputs branch May 6, 2025 07:54
@sstone sstone restored the refactor-tx-signing-commitment-outputs branch May 6, 2025 08:15
@sstone sstone deleted the refactor-tx-signing-commitment-outputs branch May 7, 2025 15:20
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