-
Notifications
You must be signed in to change notification settings - Fork 404
Expose whether a channel is closing in ChannelDetails #2347
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
Conversation
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #2347 +/- ##
========================================
Coverage 90.32% 90.33%
========================================
Files 106 106
Lines 54968 55072 +104
Branches 54968 55072 +104
========================================
+ Hits 49651 49750 +99
- Misses 5317 5322 +5
☔ View full report in Codecov by Sentry. |
Would be nice for this to be an enum that also indicates what state we're in in the shutdown process, basically htlcsremain (ie pre-closing_signed waiting on some HTLCs to resolve) or closing-fee-negotiation. |
thanks for the comments! ill make the necessary changes and tests! |
Oops, did you mean to close this, @henghonglee? :) |
oops, no sorry im working on another implementation, accidently pushed empty commit. will push a new one today |
127fdfb
to
9347fa9
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.
Basically LGTM, one comment.
IMO we should just merge this if its ready for 116, there's little diff and its a nice simple extra feature. |
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.
Just nits, but LGTM
@TheBlueMatt let me work on a quick fix of all the comments rn. should be done in abit |
e3ed1b9
to
5d253ec
Compare
hmmm i'm having a problem with the |
9eb4b78
to
78e1c39
Compare
test failures related to #2385 |
008e700
to
4a25aab
Compare
02393ba
to
973943d
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.
LGTM
This commit adds the state of channel shutdown to channeldetails
Addressed comments |
fixes #2304
Add
is_channel_shutting_down
to ChannelDetails