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

nakamoto can not estimate fee after restarts #20

Open
vincenzopalazzo opened this issue Apr 16, 2023 · 2 comments
Open

nakamoto can not estimate fee after restarts #20

vincenzopalazzo opened this issue Apr 16, 2023 · 2 comments
Assignees
Labels
brainstorming bug Something isn't working

Comments

@vincenzopalazzo
Copy link
Contributor

Nakamoto has an ongoing PR cloudhead/nakamoto#139 that is not able to keep persistent the fee estimated, maybe because I missed something in the nakamoto architecture

But, at the end of the day after the restart for now nakamoto needs to run a little bit to be able to estimate all the fee that core lightning need (up to 100 blocks), but I think the solution is that nakamoto need to be able to store the fee in some cache with the block information.

@vincenzopalazzo
Copy link
Contributor Author

Tracking issue cloudhead/nakamoto#141

@vincenzopalazzo vincenzopalazzo self-assigned this Apr 16, 2023
@vincenzopalazzo
Copy link
Contributor Author

vincenzopalazzo commented Dec 29, 2023

Currently, we are using esplora, but we can use also the neutrino API, but for now, esplora works nicely because we have to fetch also the information about the utxo (but nakamoto can do it too we need just to support it)

The API are there https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorming bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant