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

Improvements for the chain package and the especially the pruned block fetcher. #904

Open
ziggie1984 opened this issue Jan 25, 2024 · 1 comment

Comments

@ziggie1984
Copy link
Contributor

  1. The PrunedBlockDispatcher should be improved by using the getBlockFromPeer rpc call for new bitcoind versions (>=23 iirc).

  2. Improve TestCoverage in general but especially for GetBlock.

  3. Potentially move the blockcache currently residing in the LND package to the btcwallet package because the block fetching happens here too (still to be discussed).

  4. Remove peers used for pruned block fetching when their connectivity (ping time) deteriorates over time. Ties to query: implement likelihood sampling based peer scheduling and add work stealing across peers lightninglabs/neutrino#292, which includes the implementation of a better worker-selection algorithm by taking the latency of peers into account, consequently removing them if the are becoming too bad.

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