-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Labels
P3low prioritylow priorityenhancementNew feature or requestNew feature or requestlightningLightning network & lnd integrationLightning network & lnd integration
Description
EDIT: renamed this issue, new goal below.
LND 0.12 will return inbound balance with the channelbalance call. Since this is considerably more efficient and accurate than our current "iterate through lnd's listchannels" approach, we should move to this call too once lndbtc & lndltc 0.12 are released.
Also I just double checked the following:
- lnd's
channelbalanceis simply alllocal_balancefields of all channels accumulated - same way does
channelbalanceinclude allremote_balancefields of all channels accumulated with the PR above.
Here is the but: lnd's local_balance and remote_balance subtract the commit_fee, but not the channel reserve chan_reserve_sat which is essentially non-usable balance. Question is: do we want to manually subtract channel reserves from our local and remote balances to give the user a correct picture of what balance is actually usable?
Metadata
Metadata
Assignees
Labels
P3low prioritylow priorityenhancementNew feature or requestNew feature or requestlightningLightning network & lnd integrationLightning network & lnd integration