Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: davidorentol on April 03, 2017, 01:52:11 PM



Title: Bitcoin Core in pruning mode
Post by: davidorentol on April 03, 2017, 01:52:11 PM
......


Title: Re: Bitcoin Core in pruning mode
Post by: achow101 on April 03, 2017, 01:54:32 PM
Bitcoin Core will still need to download the entire blockchain. What pruning does is that not all of it is stored; it is deleted on the fly, so you will never have the entire blockchain on your computer at any given time.


Title: Re: Bitcoin Core in pruning mode
Post by: davidorentol on April 03, 2017, 01:57:40 PM
......


Title: Re: Bitcoin Core in pruning mode
Post by: NeuroticFish on April 03, 2017, 02:00:27 PM
wow  :o

So i need to download  the  entire 110 gb blockchain and thet tell the client to deleted it ???  what a BS is that ?

Any wallet needs some information about the current state of the chain.
Bitcoin Core builds that information from the blockchain. From all of it.
In prune mode it still downloads it all to create the information it needs.

If this is a problem, you better use a simple wallet like Electrum, which (from what I know) relies on 3rd party web sites to get the information it needs.


Title: Re: Bitcoin Core in pruning mode
Post by: achow101 on April 03, 2017, 02:02:52 PM
wow  :o

So i need to download  the  entire 110 gb blockchain and then tell the client to deleted it ???  what a BS is that ?
No, it will delete the blockchain as it downloads. As I said, the entire blockchain will never be on disk at any point in time.

The whole reason the blockchain must be downloaded is because Bitcoin Core is a full node which does not rely on trusting anyone; that is its security model. In order to maintain that, it must verify the entire blockchain, which means that it will have to download all of it, but it does not need to keep it, so it can delete as it downloads.


Title: Re: Bitcoin Core in pruning mode
Post by: davidorentol on April 03, 2017, 02:06:06 PM
....


Title: Re: Bitcoin Core in pruning mode
Post by: -ck on April 04, 2017, 02:52:05 AM
There is inherent safety in it downloading the entire blockchain since it doesn't need to trust anyone with the data up to that point. However if you already have a pruned copy of the data somewhere else you can simply transfer it over to the new installation without needing to download the entire blockchain. Downloading a copy from someone else though is inherently unsafe since you then have to implicitly trust the data they send you. I have many nodes scattered around the world in combinations of full nodes and pruned nodes on servers and VPSs and can copy a pruned set of data to a new home node and start it instantly without needing to download further data.