How do i remove this prune mode??
How do i remove this prune mode?
There is documentation which says
To enable block pruning set prune=<N> on the command line or in bitcoin.conf, where N is > the number of MiB to allot for raw block & undo data.
A value of 0 disables pruning. The minimal value above 0 is 550.
I want to add more details on this problem, with the actual hype of Bitcoin there are a lot of people that make bad tutorials with copy and paste on the web, and this makes a lot of confusion.
I additional explanation that I want to add to the answer is the motivation that this error happens.
The pruning mode is the unique mode to store only the partial data of Bitcoin blockchain, you can found the data stored from Bitcoin core on the directory
path/bitcoin/blocks by default the
path/bitcoin si in the home directory and the name of it is
When you use the
-txindex you are telling the Bitcoin core to be ready to receive any type of query with RPC commands. If you want to use Bitcoin core as a normal wallet you can avoid the option
prune=XXX are mutually exclusive, this means that can not stay together in the same configuration, because you are telling the Bitcoin core to be ready for any type of query but you are also telling that you don't want that Bitcoin core store a lot of data on you PC. With partial data
-txindex can not work.
P.s: Noted also that if you remove the option
prune=XXX, you need to re-scan the entire blockchain, and also the space on the disk required is very large.