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

Require explicit channel type negotiation #277

Merged
merged 3 commits into from
Feb 4, 2022
Merged

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jul 13, 2021

This feature was introduced in the spec by lightning/bolts#880

We take this opportunity to also clean up the channel state machine to leverage the feature bits added in #237 instead of the somewhat hackish reliance on isZeroReserve for a bunch of unrelated Phoenix features.

We should only merge this once the ACINQ node has deployed support for ACINQ/eclair#1867 since we will now require explicit channel type negotiation. And we should probably also update our E2E test repository as well to verify that channel opening works correctly.

t-bast added a commit that referenced this pull request Jul 16, 2021
We don't send any warning message yet, but we will use it for #261 and #277.
t-bast added a commit that referenced this pull request Aug 9, 2021
We don't send any warning message yet, but we will use it for #261 and #277.
t-bast added a commit that referenced this pull request Aug 13, 2021
We don't send any warning message yet, but we will use it for #261 and #277.
@t-bast t-bast force-pushed the explicit-channel-type branch 2 times, most recently from 0b51884 to 4924629 Compare September 24, 2021 10:57
@t-bast t-bast marked this pull request as ready for review September 24, 2021 11:48
@t-bast t-bast requested a review from sstone September 24, 2021 11:48
@t-bast t-bast force-pushed the explicit-channel-type branch 2 times, most recently from 0a9125d to 9236c53 Compare September 27, 2021 12:03
And move commands to a new ChannelCommands file.
This commit doesn't contain any logic changes.
This feature was introduced by lightning/bolts#880
and the feature bit was added in lightning/bolts#906

We also clean up the channel state machine to leverage the feature bits
added in #237
Copy link
Member

@sstone sstone left a comment

Choose a reason for hiding this comment

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

Tested against endurance (I tested the upgrade process with an existing wallet as well)

@t-bast
Copy link
Member Author

t-bast commented Feb 4, 2022

Thanks for the tests!

@t-bast t-bast merged commit 49b31e3 into master Feb 4, 2022
@t-bast t-bast deleted the explicit-channel-type branch February 4, 2022 17:36
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