-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tx_signatures is missing tlvs field, needed for Splicing #2556
Comments
|
Change can be found in branch: https://github.com/optout21/rust-lightning/tree/tx-sigs-field
|
Thanks! I think this was an ongoing change at the time we added the messages initially. It looks like we may be close to having the spec PRs merged, so let's wait a bit longer before opening a PR to see if anything else comes up? |
Unfortunately the spec PRs are a bit outdated, I think at this moment the existing implementations are a better source of truth (the impl. authors and spec authors are mostly the same). |
Update: this has been resolved in the meantime, see field |
Splicing uses the interactive TX construction from Dual Funding, but it has a special issue:
the previous funding output is an input, that must be added by the initiator, but it has to be signed by both parties (as it's a 2-of-2 multisig).
To accommodate this use case, the
tx_signatures
message has been extended by atlvs
field.The spec can be seen in this PR (draft PR against draft dual-funding PR):
https://github.com/lightning/bolts/pull/1009/files#diff-ed04ca2c673fd6aabde69389511fa9ee60cb44d6b2ef6c88b549ffaa753d6afeR387
Note: CLN already has this field (can be seen here https://github.com/ElementsProject/lightning/blob/master/wire/peer_wire.csv#L69 )
The text was updated successfully, but these errors were encountered: