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

BitCoin BlockChain Download Alternate #27026

Closed
ahmed-naeem1012 opened this issue Feb 2, 2023 · 5 comments
Closed

BitCoin BlockChain Download Alternate #27026

ahmed-naeem1012 opened this issue Feb 2, 2023 · 5 comments

Comments

@ahmed-naeem1012
Copy link

please anyone out there having knowledge help me that How can I deploy a node and start transactions on BTC Core without downloading the complete blockchain, as its more than 350GB Right now.

I want to know if there is any possible solution to it?
Screenshot 2023-02-02 at 8 06 19 PM

@jarolrod
Copy link
Member

jarolrod commented Feb 2, 2023

Pruning is enabled in your screenshot of the gui intro window. You’ll go through an IBD’s worth of network bandwidth, but storage on disk will be limited to your prune target.

@ahmed-naeem1012
Copy link
Author

does this mean that just only the data indicated in pruning will be downloaded or will it initially download the complete history and then proceed?

@jarolrod
Copy link
Member

jarolrod commented Feb 2, 2023

@ahmed-naeem1012 storage on disk will not exceed the prune target.

@ahmed-naeem1012
Copy link
Author

@jarolrod what about the time period and what work structure does that follow to not exceed the prune target and still run our nodes?

@john-moffett
Copy link
Contributor

@ahmed-naeem1012 Roughly speaking, the node will download less than 2 GB worth of blocks starting from the Genesis block, and while it downloads newer ones, it will delete the older ones it already downloaded and processed. When the node processes a block, it maintains the things it needs to fully validate new blocks (the UTXO set), so it no longer needs the full original blocks. It will only keep several days' worth of original blocks in your storage, not to exceed 2 GB.

The entire process will take a while to reach the current chaintip -- the exact time depends on many factors including your network speed and specific hardware. It generally ranges from several hours to a couple days.

I agree that the message is a bit ambiguous about exactly when the data gets deleted. To be clear, it does not store all ~450 GB and only then delete all but 2 GB. It will delete them as it goes.

@maflcko maflcko closed this as completed Feb 8, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants