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

Feature request: receivable_msat #3555

Closed
m-schmoock opened this issue Feb 28, 2020 · 1 comment · Fixed by #3572
Closed

Feature request: receivable_msat #3555

m-schmoock opened this issue Feb 28, 2020 · 1 comment · Fixed by #3572

Comments

@m-schmoock
Copy link
Collaborator

m-schmoock commented Feb 28, 2020

Add receivable_msat to listpeers channels output.

In order to know how much is currently able to receive on a channel (with one transaction) we may want to have receivable_msat / receivable_msatoshi in listpeers output similar to spendable_msat.

A remote may still reject to send that much through a channel for other reasons, but receivable_msat should reflect the technical maximum: total - reserves - 1x funders on-chain HTLC fees at current rate.

Among others this will allow to finish drain plugin, specifically the fill command, in a clean way: lightningd/plugins#71

@m-schmoock
Copy link
Collaborator Author

Addressed by #3572

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

Successfully merging a pull request may close this issue.

1 participant