Post
Topic
Board Bitcoin Technical Support
Re: Bitcoin core is again downloading the whole blockchain
by
BitMaxz
on 24/01/2024, 18:07:39 UTC
BitMaxz, thanks, but it didn't work. I added this text inside the bitcoin.conf file but after restarting, Bitcoin Core won't start at all anymore. It says "Error reading configuration file: parse error on line 2: -datadir=$HOME/Library/Application Support/Bitcoin/blocks, options in configuration file must be specified without leading - "
Sorry the above parameter is wrong.

Remove the "-" on the datadir it should look like this datadir=yourblockdatafolder and then save.
It should look like this

Code:
datadir=$HOME/Library/Application Support/Bitcoin/

or replace it with this if you just want to point it to downloaded blocks.

Code:
blocksdir=$HOME/Library/Application Support/Bitcoin/blocks