You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to give the user insight into when balances are claimable / delayed outputs will be ready. A short-term solution would be to hand-through ChainMonitor::get_claimable_balances. However, this would require the user to query 2-3 different APIs go get a good overview of what is going on.
We therefore should introduce a unified interface (enum Balance ?) with variants for on-chain (possibly re-using bdk::balance), delayed/claimable (possibly wrapping LDK's Balance) and "spend in-progress" that reflects the state of outputs that are not listed as part of get_claimable_balance anymore but pending sweeping / on-chain confirmation.
The text was updated successfully, but these errors were encountered:
tnull
changed the title
Expose get_claimable_balances
Allow insight into claimable balances
Dec 1, 2023
tnull
changed the title
Allow insight into claimable balances
Allow insight into all available balances
Dec 1, 2023
tnull
changed the title
Allow insight into all available balances
Unified interface exposing all available balances according to their corresponding states
Dec 1, 2023
tnull
changed the title
Unified interface exposing all available balances according to their corresponding states
Unified interface listing all available balances
Dec 1, 2023
Uh oh!
There was an error while loading. Please reload this page.
We need to give the user insight into when balances are claimable / delayed outputs will be ready. A short-term solution would be to hand-through
ChainMonitor::get_claimable_balances
. However, this would require the user to query 2-3 different APIs go get a good overview of what is going on.We therefore should introduce a unified interface (
enum Balance
?) with variants for on-chain (possibly re-usingbdk::balance
), delayed/claimable (possibly wrapping LDK'sBalance
) and "spend in-progress" that reflects the state of outputs that are not listed as part ofget_claimable_balance
anymore but pending sweeping / on-chain confirmation.The text was updated successfully, but these errors were encountered: