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

Prune Node Rescan Project Tracking #29183

Open
7 of 18 tasks
furszy opened this issue Jan 4, 2024 · 6 comments
Open
7 of 18 tasks

Prune Node Rescan Project Tracking #29183

furszy opened this issue Jan 4, 2024 · 6 comments

Comments

@furszy
Copy link
Member

furszy commented Jan 4, 2024

This issue will be edited frequently to reflect the current status of the project.

What should I review now?


👇 👇 👇 👇
-- #30118 --
☝️ ☝️ ☝️ ☝️

The goal of this project is to enable complete blockchain rescan capability on prune nodes, allowing these storage-limited nodes to import new wallet descriptors and update existing ones at any time, as well as loading external and un-synced wallets with a birth-time older than 48 hours. This, in turn, enables the monitoring of new addresses/scripts and tracking balance changes without the need to repeatedly download the entire blockchain.

The first project milestone introduces the feature for prune nodes that construct and maintain a local block filters set database. The node will request and keep track of the missing historical blocks that match the wallet scripts filters set to subsequently perform the rescan.

The following sections are ordered by their PRs dependencies:

Net: Single Block Requests Tracking System and On Download Failure Retry Mechanism
Indexes Stability and Performance Improvements
Wallet Rescan (depends on the net section)

Issues Solved By This Work

@chrisguida
Copy link

Does scanblocks work on pruned nodes yet? If not, does this project aim to add that capability?

@furszy
Copy link
Member Author

furszy commented Jan 23, 2024

Does scanblocks work on pruned nodes yet? If not, does this project aim to add that capability?

scanblocks always worked on pruned nodes. Just need to enable -blockfilterindex since the node's inception.

@chrisguida
Copy link

Excellent, thanks!!

@chrisguida
Copy link

What's the process for building the blockfilterindex on an already-synced pruned node? Enable blockfilterindex, reindex?

@furszy
Copy link
Member Author

furszy commented Jan 24, 2024

What's the process for building the blockfilterindex on an already-synced pruned node? Enable blockfilterindex, reindex?

Yes. For further node support, please come to IRC or use bitcoin.stackexchange. This is a project tracking issue.

@shovas
Copy link

shovas commented Feb 8, 2024

Here from #27188. I'm presently experimenting with wallets for bitcoin, litecoin, dogecoin, and bitcoin cash using linux cli tools so if I can help I'll try.

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

3 participants