Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jza on July 05, 2016, 12:07:59 AM



Title: Any tutorial on how to prune bitcoind?
Post by: jza on July 05, 2016, 12:07:59 AM
I've been looking for a nice tutorial on how to get bitcoind configured for VPS consumtotiuon, something like a Digitalocean-type or something more dedicated like Google Apps / OpenShift.

Tutorial for pruning bitcoind to be optimized for a small VPS consumption and maybe the development of a checkout either on PHP, NodeJS or Python/Django/Flask.

Regards.


Title: Re: Any tutorial on how to prune bitcoind?
Post by: achow101 on July 05, 2016, 01:13:23 AM
It's super easy to prune a bitcoind. Just add
Code:
prune
to the bitcoin.conf file.


Title: Re: Any tutorial on how to prune bitcoind?
Post by: jza on July 05, 2016, 02:38:05 AM
Awesome, great stuff...


Title: Re: Any tutorial on how to prune bitcoind?
Post by: belcher on July 06, 2016, 10:59:20 AM
It's super easy to prune a bitcoind. Just add
Code:
prune
to the bitcoin.conf file.

It's

prune=550

Read these two links too
https://bitcoin.org/en/release/v0.12.0#wallet-pruning
https://github.com/bitcoin/bitcoin/blob/v0.11.0/doc/release-notes.md#block-file-pruning


Title: Re: Any tutorial on how to prune bitcoind?
Post by: jza on July 06, 2016, 02:00:11 PM
Thanks that clears it up.


Title: Re: Any tutorial on how to prune bitcoind?
Post by: cloverme on July 08, 2016, 12:52:33 AM
This will come in handy for sure... up to 81gb now. Either a new ssd drive or this command I suppose  ;D


Title: Re: Any tutorial on how to prune bitcoind?
Post by: Decoded on July 08, 2016, 11:18:14 AM
Just to clarify, to what does the pruning command prune to? Will it basically start syncing from the time you start it up, 500 blocks back, 5 blocks back? Or until all confirmed txs have 1 condo or something?


Title: Re: Any tutorial on how to prune bitcoind?
Post by: Relnarien on July 08, 2016, 02:31:01 PM
Just to clarify, to what does the pruning command prune to? Will it basically start syncing from the time you start it up, 500 blocks back, 5 blocks back? Or until all confirmed txs have 1 condo or something?

Here you go.

https://bitcoin.org/en/release/v0.11.0

Near the beginning is the part where pruning is discussed.