Bitcoin Forum
May 05, 2024, 04:36:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mainnet-node and testnet-node on the same server - how?  (Read 133 times)
Many Coins (OP)
Member
**
Offline Offline

Activity: 266
Merit: 11

Lord Shiva


View Profile
March 09, 2018, 12:11:25 AM
 #1

I want to create two bitcoind-nodes (for mainnet and testnet) on one server (VPS), how can I do it?

Becouse if I rename bitcoind to bitcoindtestnet and run - it using the same bitcoin.conf?

Thank you!
1714883796
Hero Member
*
Offline Offline

Posts: 1714883796

View Profile Personal Message (Offline)

Ignore
1714883796
Reply with quote  #2

1714883796
Report to moderator
1714883796
Hero Member
*
Offline Offline

Posts: 1714883796

View Profile Personal Message (Offline)

Ignore
1714883796
Reply with quote  #2

1714883796
Report to moderator
1714883796
Hero Member
*
Offline Offline

Posts: 1714883796

View Profile Personal Message (Offline)

Ignore
1714883796
Reply with quote  #2

1714883796
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714883796
Hero Member
*
Offline Offline

Posts: 1714883796

View Profile Personal Message (Offline)

Ignore
1714883796
Reply with quote  #2

1714883796
Report to moderator
1714883796
Hero Member
*
Offline Offline

Posts: 1714883796

View Profile Personal Message (Offline)

Ignore
1714883796
Reply with quote  #2

1714883796
Report to moderator
1714883796
Hero Member
*
Offline Offline

Posts: 1714883796

View Profile Personal Message (Offline)

Ignore
1714883796
Reply with quote  #2

1714883796
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
March 09, 2018, 01:36:31 AM
 #2

Renaming a program is not going to change the behavior of the program, which is what you want to do (change it from using mainnet to using testnet).

To start bitcoind in testnet mode, use -testnet.

That they use the same bitcoin.conf file is known, you can use the -conf option to choose a different config file for one of your nodes.

Many Coins (OP)
Member
**
Offline Offline

Activity: 266
Merit: 11

Lord Shiva


View Profile
March 09, 2018, 04:15:54 PM
 #3

Renaming a program is not going to change the behavior of the program, which is what you want to do (change it from using mainnet to using testnet).

To start bitcoind in testnet mode, use -testnet.

That they use the same bitcoin.conf file is known, you can use the -conf option to choose a different config file for one of your nodes.

Way! Its working!!  Cool

Thank you!
jrian
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
March 10, 2018, 12:59:15 PM
 #4

or,  you can run your bitcoind under another user Smiley
Many Coins (OP)
Member
**
Offline Offline

Activity: 266
Merit: 11

Lord Shiva


View Profile
March 10, 2018, 01:31:16 PM
 #5

or,  you can run your bitcoind under another user Smiley



You, you are very good you!

 Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!