-
Notifications
You must be signed in to change notification settings - Fork 906
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
c-lightning should not disconnect when receiving a warning during quick close #4777
Comments
Yes, we should update if they try to close again... but not disconnecting would be weird? We have nothing useful to say at this point. |
(We always close after a warning, for this reason) |
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 13, 2021
… feerate!). Noted by @t-bast, this is how it should work, and this tests that it does. See also: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 13, 2021
This allows cmdline users to have more idea what's going on. Inspired-by: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 13, 2021
This allows cmdline users to have more idea what's going on. Inspired-by: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: `close` now notifies about the feeranges each side uses.
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 13, 2021
… feerate!). Noted by @t-bast, this is how it should work, and this tests that it does. See also: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 13, 2021
This allows cmdline users to have more idea what's going on. Inspired-by: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: `close` now notifies about the feeranges each side uses.
In that case you should allow the node operator to call the |
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 14, 2021
This allows cmdline users to have more idea what's going on. Inspired-by: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: `close` now notifies about the feeranges each side uses.
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 15, 2021
… feerate!). Noted by @t-bast, this is how it should work, and this tests that it does. See also: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell
added a commit
to rustyrussell/lightning
that referenced
this issue
Sep 15, 2021
This allows cmdline users to have more idea what's going on. Inspired-by: ElementsProject#4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: `close` now notifies about the feeranges each side uses.
cdecker
pushed a commit
that referenced
this issue
Sep 15, 2021
This allows cmdline users to have more idea what's going on. Inspired-by: #4777 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: `close` now notifies about the feeranges each side uses.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is related to lightning/bolts#904
Since c-lightning already supports warning messages, we should do this right now.
When c-lightning receives a warning during quick close (usually because the peer doesn't agree with the
fee_range
c-lightning sent), we really should not disconnect. If we stay connected and the node operator reads the warning message, they can reuse theclose
API to change thefee_range
to something that the peer will agree with, and the mutual close is able to make progress.But right now since c-lightning disconnects, on reconnection it will re-send the same
fee_range
automatically so it will instantly disconnect again, not giving the node operator an opportunity to update thefee_range
.The text was updated successfully, but these errors were encountered: