jlopp/bitcoin-core-config-generator

The option 'conf' should not be used inside the bitcoin.conf file

Closed this issue · 3 comments

I found this out the hard way, unrelated to this awesome bitcoin.conf file generator.

I should've know better, because it's in the core documentation.

All command-line options (except for -?, -help, -version and -conf) may be specified in a configuration file

source: https://github.com/bitcoin/bitcoin/blob/master/doc/bitcoin-conf.md

So if you want to have your bitcoin.conf file at a different location, have a bitcoin.conf file at the default location which only specifies includeconf pointing to the different location, relative to the data directory.

jlopp commented

Correct, though what do you propose I change? I guess I should just remove this option from the generator? The includeconf option is down a bit lower.

Yeah, just remove the option from the generator.

Off topic: Your op-ed on CW for Bitcoin Magazine is an amazing piece of work. Thank you for that.

jlopp commented

Great, thanks!