-
Notifications
You must be signed in to change notification settings - Fork 902
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
Last(?) Updates to dual-funding Spec #5956
Last(?) Updates to dual-funding Spec #5956
Conversation
f0f32b4
to
ef98b10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack ef98b10
Please put something for CHANGELOG.md?
Changelog-EXPERIMENTAL: Protocol:
dual-funding spec changed in incompatible ways, won't work with old versions (but maybe soon with Eclair!)
But on the contrary, we decide that we should drop that field, not add it? The changes that we discussed during the last spec meeting that are still missing from the spec are:
At first glance, this PR implements the first point but not the other two? |
ef98b10
to
91b04af
Compare
Thanks for the review @rustyrussell + @t-bast. Ah ok, I'm on board with removing Also removed the assumption that I think that's everything?? Will keep an eye on the CI. |
Ack 91b04af |
- Renamed zerod_channel_ids to temporary_channel_id - Renamed witness_stack->witnesses - Renamed witness_element->witness_elements - open_channel2 now includes second commitment point - accept_channel2 now includes second commitment point Current commit on rfc branch 64f7f360b9f3c2664d078e2129cfe83098fc4617 Changelog-EXPERIMENTAL: Protocol: dual-funding spec changed in incompatible ways, won't work with old versions (but maybe soon with Eclair!!)
Ignore the sent back second commitment point that we get; we'll get it again at `channel_ready`.
We can't know how much taproot etc inputs weight will be, so we just make sure that a peer covers the known bytes, at least.
Must be negotiated independently. Requested-By: @t-bast
91b04af
to
c7d8c29
Compare
Awesome, thanks @niftynei I'll start working on cross-compatibility tests! |
Adds requested spec proposal changes, including addition of
est_witness_weight
field andsecond_commitment_point
to the open/accept_channel2 messages.(Note that
accept_channel2
also includessecond_commitment_point
, per commit lightning/bolts@ee5bef7).Built on top of #5900.
@t-bast this is a good one to test for interop!