-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
on-chain balance
(linking to deposit page) could be added to home
#62
Comments
I'm thinking that it might make sense to combine both onchain and offchain funds on the top-right balance, as a "total funds held in this node" metric, then prominently display the onchain and offchain split separately on the homepage (below the buttons?). The original thought behind the upper-right balance being offchain only is that it should represent the funds the user can actually spend using the send payment functionality, and that it won't make sense to lump onchain funds in until sending/receiving onchain is implemented. However:
|
Instead of attempting to show an "how much you can spend" metric, we're now showing a simpler "how much you have" metric instead. - The balance now includes the on-chain balance (sum of utxos). - It also includes funds held in channels with disconnected peers. - It uses the total "msatoshi_to_us" instead of "spendable_msatoshi", which includes the channel reserve. For more on the rational behind this changes, see: #62 (comment)
I agree with preferring funds-you-have over funds-you-can-spend. In the on-chain case it's clearly the standard and for off-chain balance, counting disconnected peers and using "msatoshi_to_us" (as done in But I'm not sure that's an argument for a combined on/off-chain balance (also in 9b500c4). If the plan is to also display each balance separately as in #67, the total is maybe redundant. Three (quite long) balances might make the homepage a bit overloaded with digits. |
While full on/off chain UX is quite complex, displaying the on-chain balance somewhere (even the footer) is a good idea imo. During a Bitcoin Installfest we did, people where confused about having 0 balance while their deposit to
newaddr
was confirmed. Another scenario, is when a channel was closed: funds seem to be missing unless you check the on-chain outputs.The text was updated successfully, but these errors were encountered: