Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: tcpdump on June 23, 2015, 05:43:54 PM



Title: [solved] few bitcoind on one server
Post by: tcpdump on June 23, 2015, 05:43:54 PM
Hi all. I have Ubuntu Server with bitcoind in full-node mode, for my web-application. But both branches of my product (dev and  production) in one server. Can I run 2 different bitcoin cores (full node for prod and testnet node for dev branches) in one server?

Update. Solved, great thanks to all


Title: Re: few bitcoind on one server
Post by: cr1776 on June 23, 2015, 05:51:18 PM
Hi all. I have Ubuntu Server with bitcoind in full-node mode, for my web-application. But both branches of my product (dev and  production) in one server. Can I run 2 different bitcoin cores (full node for prod and testnet node for dev branches) in one server?

You should just need to specify the directory for each instance to use.

See eg:
https://bitcointalk.org/index.php?topic=771930.0


Title: Re: few bitcoind on one server
Post by: Cryptowatch.com on June 24, 2015, 02:39:40 AM
Afaik, you can run bitcoin-core in both normal and testnet mode on the same server without issues. Testnet had it's own directory within the ~/.bitcon directory that's called ~/.bitcoin/testnet3 (for 0.10.0) You might want to specify a config file for testnet, if you use a file other than the standard config, see "-conf"-flag.


Title: Re: few bitcoind on one server
Post by: jonnybravo0311 on June 24, 2015, 02:59:22 AM
Assuming you'e on some flavor of Linux...

Prod:
Code:
./bitcoind -datadir=~/.bitcoin_prod

Dev:
Code:
./bitcoind -testnet -datadir=~/.bitcoin_dev

If you ever want to run multiple production instances, you'll have to bind them each to different ports as well.  You can get away with what I showed above because production runs on different ports than testnet.