-
Notifications
You must be signed in to change notification settings - Fork 366
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
Expose HTLCs in ChannelDetails
#2087
Comments
hey @TheBlueMatt, Is this still open? i would like to work on this. |
Sure, go for it! |
I think, rather than listing explicit HTLCs pending, maybe we should just expose the total in flight amounts, preferably by type (outbound-vs-forwarded). |
hey, it seems that the PR for this was not accepted and closed. Is this still open then? If yes, I would like to work on this. |
Do these fields in the pub struct |
I don't think we need to expose the payment hash, but rather in HTLCType we should expose eg the previous channel and htlc_id for forwarded payments. |
Is anyone actively working on this? If not, I would like to work on this. For context, I want to expose an HTLC's cltv_expiry. Alternatively would an API to query LDK be better? E.g
|
I think @wvanlint may be - is that still being worked on? |
Yes, sent out #2442 for review. |
We should expose the list of in-flight HTLCs in
ChannelDetails
, cause why not. This should let us better figure out what the timeline is for the channel close. We should also expose if a channel is actively shutting down and maybe if a peer is currently connected inChannelDetails
. May help with visibility into #2086.The text was updated successfully, but these errors were encountered: