0

I have created one full node bitcoind on my VPS, that one is serving application A. Now I want to create application B that has another node but on same VPS. is that possible to install multiple bitcoind on one server using different wallet? let's asume that I want application A connect to wallet.dat, application B to wallet_new.dat, with different bitcoin.conf configuration.

0

All you need to do is update the bitcoin.conf for the second port to point to a different datadir, and use a different RPC port.

Do keep in mind that this will result in double the resource use for everything. Additionally, depending on your VPS, running multiple nodes on a single machine might not be feasible.

Usually, multiple applications should be able to use a single node, and differentiate addresses etc. at an application level.

  • how about wallet ? how to point that port a (e.g 8331) is for wallet a, and port b (e.g 8332) is for wallet b ? The point is I just want using different wallet for different app, in case something bad happed to one wallet doesn't affect another app .. – Billy Adelphia Apr 4 '18 at 8:31
  • The wallet is controlled via the rpc, so simply changing the rpc port is enough. Changing the datadir ensures the second node will use a separate wallet file. – Raghav Sood Apr 4 '18 at 8:37
0

Yes it's possible, you must run each bitcoind in different port and different datadir, take a look here https://en.bitcoin.it/wiki/Running_Bitcoin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.