-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the way the total balance is calculated
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)
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters