[feature request] add RPC for getting on-chain fee estimates
Currently lnd fetches fee estimates from its chain backend several places, for instance: https://github.com/lightningnetwork/lnd/blob/ddcbb4089801bd632772ec57fba24f66e0bb3c97/rpcserver.go#L1112
These estimates are currently only used within lnd itself, and is not exposed to the user in any way.
Steps to completion:
- [ ] Make a new RPC endpoint (proto + rpcserver implementation) that calls the
estimatorwith a passed confirmation target. - [ ] Create a new
lnclicommandestimatefeethat takes a block number and uses the new RPC endpoint to return a fee estimate insat/vbyte.
I'd like to try this.
@jrmillerwork There's already a PR up for this: #1228
Okay, thanks. How to determine that there is a PR for a given issue?
If you look above, there's a few issues/PRs referencing this issue. If you click the PR you can see that it says "Fixes #1212" 😄