-
Notifications
You must be signed in to change notification settings - Fork 44
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
Show funds in pending htlcs as pending
in getbalance
#1684
Comments
pending
between preimageResolved
and `PaymentReceivpreimageResolved
and PaymentReceived
as pending
preimageResolved
and PaymentReceived
as pending
pending
in getbalance
For example funds from this failed swap don't show anywhere in xud: lndbtc:
connext:
|
Getting the amount of funds locked up via |
Agree. Wdyt? @ArjunBhuptani |
Also, currently the connext client doesn't seem to account for funds locked in an htlc. The balance reported is still the same. We propose to add 4 different balances to the connext client (either in one
|
Moved this to P2 since we are depending on changes from connext side: connext/rest-api-client#66 |
pending
in getbalance
pending
in getbalance
Follow-up of #1680, needed for #1673: since we now treat a swap as atomically completed upon reaching
PreimageResolved
from maker's perspective, we should show balance that is currently in swap recovery with xud trying to claim the htlc but still didn't manage to do so (and might go on-chain at some point) aspending
ingetbalance
.In other words: in addition to new pending channels, any balance in pending htlc should show as
pending
undergetbalance
.Currently this balance isn't shown anywhere and the user would see a successfully completed swap, deducted outgoing asset balance, but nothing added for the incoming asset's balance (where is my money?).
The text was updated successfully, but these errors were encountered: