Author

Topic: [solved] few bitcoind on one server (Read 654 times)

legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
June 23, 2015, 09:59:22 PM
#4
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.
full member
Activity: 196
Merit: 103
June 23, 2015, 09:39:40 PM
#3
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.
legendary
Activity: 4228
Merit: 1313
June 23, 2015, 12:51:18 PM
#2
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://bitcointalksearch.org/topic/how-to-run-testnet-and-bitcoind-on-same-server-771930
newbie
Activity: 6
Merit: 0
June 23, 2015, 12:43:54 PM
#1
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
Jump to: