0

How do i remove this prune mode??

1
  • Do you know how to find your bitcoin.conf?
    – MCCCS
    Jan 28, 2021 at 12:08

3 Answers 3

1

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.


Related

1

My 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 .bitcoin.

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 -txindex.

The options -txindex and 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.

1

add this to bitcoin.conf prune=0 txindex=1 reindex=1 ( this will start to download the entire blockchain again if you have already downloaded it before). Ignore this line if you're going to run the core for the first time. If you use this code to reindex the blockchain then make sure to remove it later on when the reindexing is done.

Good luck

p.s.: i copied that from another forum. but it worked :)

after it started you can already remove reindex, as the change starts after reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.