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

Method to fetch pending-to-be-sent-but-not-in-HTLCs balance #3374

Open
TheBlueMatt opened this issue Oct 16, 2024 · 0 comments
Open

Method to fetch pending-to-be-sent-but-not-in-HTLCs balance #3374

TheBlueMatt opened this issue Oct 16, 2024 · 0 comments
Labels
Take a Friday Leave a Friday Stomp the Bugs, Without Much Commitment

Comments

@TheBlueMatt
Copy link
Collaborator

One issue some lightning wallets have is that the balance displayed fluctuates as HTLCs get sent, fail, then get retried. This makes for a pretty strange UX. Sadly, building anything better today with LDK is pretty hard - we now push users to fetch balance using ChainMonitor's Balances, which is great, but they have no idea about any pending outbound payments which have some amount that is waiting to be retried (i.e. is not currently in any HTLCs). We should expose this, maybe via RecentPaymentDetails?

@TheBlueMatt TheBlueMatt added the Take a Friday Leave a Friday Stomp the Bugs, Without Much Commitment label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Take a Friday Leave a Friday Stomp the Bugs, Without Much Commitment
Projects
None yet
Development

No branches or pull requests

1 participant