Skip to content
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

lnd_channels_open_balance_sat not including channel reserve #114

Open
SeverinAlexB opened this issue Nov 6, 2024 · 2 comments
Open

lnd_channels_open_balance_sat not including channel reserve #114

SeverinAlexB opened this issue Nov 6, 2024 · 2 comments

Comments

@SeverinAlexB
Copy link

The lnd_channels_open_balance_sat metrics only includes the local_balance shown in lncli listchannels and does not include the local_chan_reserve_sat. This leaves 1% of the funds missing.

@bitromortac
Copy link
Contributor

This only passes through values from https://lightning.engineering/api-docs/api/lnd/lightning/channel-balance/index.html, where the reserve is probably not included. The question is whether it should be, or if we need to add a different metric to track how much funds are in the reserve?

@SeverinAlexB
Copy link
Author

I guess to guarantee backwards compatibility, it should be a new metric?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants