Author

Topic: Running another instance of bitcoin-qt dedicated to testnet/regtest? (Read 1093 times)

sr. member
Activity: 507
Merit: 253
I just ran "bitcoin-qt -regtest," and it launched with a green icon, distinguishing it from my already-running red one! Nice!
sr. member
Activity: 507
Merit: 253
Just start your testnet instance with the "-testnet" flag and it will create another instance of Bitcoin-qt on the testnet network.
Oh, I didn't know it was that easy! thank you!

I also discovered the "datadir" flag, which was just what I was looking for, although it seems testnet/regtest make their directories. At least regtest does, according to the Bitcoin Developer Examples documentation:

Quote
Regtest wallets and block chain state (chainstate) are saved in the regtest subdirectory of the Bitcoin Core configuration directory.
staff
Activity: 3458
Merit: 6793
Just writing some code
Just start your testnet instance with the "-testnet" flag and it will create another instance of Bitcoin-qt on the testnet network.
sr. member
Activity: 285
Merit: 250
Turning money into heat since 2011.
And in one of the configs, add testnet=1 in the bitcoin.conf file.
sr. member
Activity: 315
Merit: 250
It should work the same way, just configuring two bitcoin-qt clients to use different configurations.

See this: https://bitcointalksearch.org/topic/m.2649295
sr. member
Activity: 507
Merit: 253
Is it possible to run another instance of `bitcoin-qt` dedicated to testnet/regtest? If so, how do i do this?

My question is similar to the "Running two bitcoind instances for different nets" question and "How to run testnet and bitcoind on same server" thread here, but I want to associate `bitcoin-qt`, not just `bitcoind`, with the testnet/regtest.

(cf. the related StackExchange question)
Jump to: