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

BOLT 1: define what offered and negotiated mean. #1109

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

rustyrussell
Copy link
Collaborator

i.e. it was present in the init feature bits. We use this in several places, but assume everyone knows what it means.

It's particularly fraught with required features: it's explicitly legitimate to assume these are accepted if the node keeps talking to you after init!

i.e. it was present in the init feature bits.  We use this in several places, but assume everyone knows what it means.

It's particularly fraught with required features: it's explicitly legitimate to assume these are accepted if
the node keeps talking to you after init!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

ACK 95f2bbf

@t-bast
Copy link
Collaborator

t-bast commented Sep 13, 2023

We don't have such code in eclair yet, if our peer sets a feature bit as mandatory that we don't set, we always disconnect.
For which feature does cln currently handle that mode?

Copy link
Collaborator

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🦠

@Roasbeef
Copy link
Collaborator

if our peer sets a feature bit as mandatory that we don't set, we always disconnect.

This is also lnd's behavior.

Copy link
Collaborator

@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.

ACK 95f2bbf

@Roasbeef Roasbeef merged commit 7620072 into lightning:master Oct 23, 2023
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.

5 participants