Can a testnet node have a separate bitcoin.conf file?

2

When running bitcoind on testnet, can I put its configuration settings in a separate bitcoin.conf file from the "real" bitcoin.conf file? I would like to be able to run two nodes concurrently, one on the live network and one on the test network, each with its own configuration settings.

Jan Hettich

Posted 2017-11-12T21:30:50.520

Reputation: 121

Answers

3

By default bitcoind will look for the file bitcoin.conf in its datadir directory, whether running on testnet or mainnet. But you could use the -conf option when starting one or both of the daemons, to point it to a different file.

Nate Eldredge

Posted 2017-11-12T21:30:50.520

Reputation: 21 420

0

No, it is currently not possible to have network specific configuration files. However there are currently open pull requests which enable such functionality.

Andrew Chow

Posted 2017-11-12T21:30:50.520

Reputation: 40 910