Skip to content
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

Fix: remove option_large_channels from channel_announcements. #3712

Merged

Conversation

rustyrussell
Copy link
Contributor

Turns out that we didn't do this the way the spec said, nor the way Eclair does. This change is a compatibility break with existing 0.8.2 nodes, so I suggest we backport the minimal change (part of the final commit) and release 0.8.2.1.

There is no good alternative: once we find they've signed a different thing, we've already sent our signatures to them.

@rustyrussell rustyrussell force-pushed the guilt/channel-announcement-bug branch from bfa2342 to f02648c Compare May 8, 2020 07:27
@rustyrussell rustyrussell force-pushed the guilt/channel-announcement-bug branch 2 times, most recently from 510e674 to e639663 Compare May 19, 2020 10:31
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
There are various places where our tests failed with
--enable-expimental-features.  And our plugin test overlapped an
existing feature.

We make our expected_feature functions more generic, and use them
everywhere.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…ncement features for wumbo channels.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
And neaten current feature mangling code now we have a wumbo flag for
expected_peer_features().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…ment.

Spec is wrong (it says it should be compulsory), and Eclair doesn't set it
at all, leading to an error when they send their announcement_signatures.

Fixes: ElementsProject#3703
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-changed: large-channels: negotiate successfully with Eclair nodes.
@rustyrussell rustyrussell force-pushed the guilt/channel-announcement-bug branch from e639663 to 194a320 Compare May 19, 2020 20:47
Copy link
Collaborator

@niftynei niftynei left a comment

Choose a reason for hiding this comment

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

ACK 194a320

@niftynei niftynei merged commit ce9e559 into ElementsProject:master May 27, 2020
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