Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ShadesOfMarble on September 15, 2012, 01:59:30 PM



Title: Multiple instances of bitcoin-qt with different -datadir?
Post by: ShadesOfMarble on September 15, 2012, 01:59:30 PM
...is it possible/recommended? I.e. running the same executable, but with different data folders. I did it by accident and nothing screwed up, but i don't know if that's safe. (Usually I shut down the client and restart it with a different datadir)


Title: Re: Multiple instances of bitcoin-qt with different -datadir?
Post by: kjj on September 15, 2012, 02:22:56 PM
I know it works just fine in bitcoind, and I don't think that bitcoin-qt opens any different files, so I don't think it would be a problem.


Title: Re: Multiple instances of bitcoin-qt with different -datadir?
Post by: Stephen Gornick on September 15, 2012, 11:23:18 PM
...is it possible/recommended? I.e. running the same executable, but with different data folders. I did it by accident and nothing screwed up, but i don't know if that's safe. (Usually I shut down the client and restart it with a different datadir)

Sometimes people think this is a way to re-use the same blockchain, so just wanted to point out that this method will maintain the blockchain database in each datadir.


Title: Re: Multiple instances of bitcoin-qt with different -datadir?
Post by: ShadesOfMarble on September 16, 2012, 09:39:35 AM
Yes of course - there are blk000* files in each directory. But unless there is a -walletdir option, this looks like the only way to manage different wallets.