Default location of bitcoind conf file
https://en.bitcoin.it/wiki/Data_directory
Reads the given file and construct a bitcoind
config from it
Reads the given path and construct a bitcoind
config from it
Constructs a bitcoind
config from the given string,
by splitting it on newlines
The empty bitcoind
config
If there is a bitcoin.conf
in the default
data directory, this is read.
If there is a bitcoin.conf
in the default
data directory, this is read. Otherwise, the
default configuration is returned.
Writes the config to the data directory within it, if it doesn't exist.
Writes the config to the data directory within it, if it doesn't exist. Returns the written file.