Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Create a default bitcoin.conf in the correct location. #10746
Comments
laanwj
added the
Docs and Output
label
Jul 5, 2017
That's because the data directory is not known at the time of the installation process. It's chosen on first run.
If you are using the GUI, there's a button in the debug window to open it, also the path of the data directory can be found there.
Indeed, this part is OS/distro-specific. There is no requirement that the configuration file is writable (by the user that the daemon runs at) at all. A common setup for system-wide daemons is to put the configuration file somewhere under |
kek-coin
commented
Jul 5, 2017
•
|
@laanwj fair points, would an acceptable solution be to try to create the default config file (including the appropriate directories) if |
kek-coin commentedJul 5, 2017
A recurring problem when helping new users getting started with running Bitcoin Core is the config file location; a lot of uncertainty is caused by the config file and the folders it should go in not being created automatically by the installation process.
It does not even have to be the full sample as found in contrib, just having an empty config file (or one with a minimal comment directing people to the sample file) created by default would ease the assisting of users on OSes one is not familiar with, as it would be easier for them to verify that they are putting their OS-agnostic configuration in the correct OS-specific location without some unnecessary trial-and-error.