Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add -chainstatedir and -blocksdir in bitcoin.conf #14595
I am running a bitcoin core node on my macbook with datadir on an external hard drive. The sync performance wasn't great so I searched to improve it and I found this thread #10647 (comment)
Peter is suggesting to keep the chainstate on internal disk but only moving blocks on external disk. My question is, is there some plans to let user the possibility to specify that in the config file instead of creating symlink, having chainstatedir and blocksdir parameters in addition to datadir?
spec: Bitcoin 0.17.0, Mac OSX
@hebasto Oh ok I didn't know that, thank you.
I have an additional issue with regtest. I want to keep the default data directory but when I run bitcoind, it will create an empty blocks folder at the root of the bitcoin directory in addition to a blocks folder in the regtest directory. It seems that bitcoind in regtest will first search for a blocks dir as if it was on mainnet. It forces me to plug my external hard drive even if I work on regtest.
Can you provide your
The #14409 patch fixes this issue.
referenced this issue
Nov 5, 2018
Here is my bitcoin conf file.