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: use GetBlockHeader() when possible, once added to lndclient #404

Closed
jharveyb opened this issue Jul 14, 2023 · 1 comment
Closed

Comments

@jharveyb
Copy link
Collaborator

We do have a GetBlockHeader() method for every chain backend. The reason we can't use it here is because there currently is no RPC in lnd that exposes the call. I agree that we'll want to add this as an optimization. I'll see if I can get a PR in for 0.17.

Originally posted by @guggero in #396 (comment)

@jharveyb
Copy link
Collaborator Author

Actually resolved with a block timestamp cache added for v0.3.

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

1 participant