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
{{ message }}
Repository navigation
Unified interface listing all available balances #212
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.
changed the title [-]Allow insight into all available balances[/-][+]Unified interface exposing all available balances according to their corresponding states[/+]on Dec 1, 2023
changed the title [-]Unified interface exposing all available balances according to their corresponding states[/-][+]Unified interface listing all available balances[/+]on Dec 1, 2023
Activity
[-]Expose `get_claimable_balances`[/-][+]Allow insight into claimable balances[/+][-]Allow insight into claimable balances[/-][+]Allow insight into all available balances[/+][-]Allow insight into all available balances[/-][+]Unified interface exposing all available balances according to their corresponding states[/+][-]Unified interface exposing all available balances according to their corresponding states[/-][+]Unified interface listing all available balances[/+]