Bitcoin Forum
December 03, 2016, 02:43:26 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Can I safely run multiple identical bitcoind instances ?  (Read 1280 times)
gusti
Legendary
*
Offline Offline

Activity: 1102


View Profile
February 02, 2011, 01:53:21 AM
 #1

Hi :

I'm cloning many linux machines for mining purposes, having each one exactly the same bitcoind install and wallet.
Though I do not intend to use them for doing any transactions, can that be harmful or inconvenient to bitcoin network ?

Best Regards
Gustavo

If you don't own the private keys, you don't own the coins.
1480733006
Hero Member
*
Offline Offline

Posts: 1480733006

View Profile Personal Message (Offline)

Ignore
1480733006
Reply with quote  #2

1480733006
Report to moderator
1480733006
Hero Member
*
Offline Offline

Posts: 1480733006

View Profile Personal Message (Offline)

Ignore
1480733006
Reply with quote  #2

1480733006
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480733006
Hero Member
*
Offline Offline

Posts: 1480733006

View Profile Personal Message (Offline)

Ignore
1480733006
Reply with quote  #2

1480733006
Report to moderator
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
February 02, 2011, 04:21:56 AM
 #2

Giving them all the same starting wallet is a bad idea; they will start out with the same keys, but will eventually each generate their own, so their balances will drift out of sync.

In theory everything should work out, but in practice using the same wallet on multiple machines hasn't been tested much (I fixed a couple of bugs in the last couple of weeks related to a wallet shared between machines).

So before cloning, delete the wallet.dat (assuming it has no bitcoins in it) and let the clones automatically generate a new wallet the first time they start.

How often do you get the chance to work on a potentially world-changing project?
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2492


View Profile
February 02, 2011, 04:52:04 AM
 #3

It shouldn't be a problem if they truly do no transactions, though. (Generating 50 BTC for themselves would be a transaction.)

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



View Profile
February 02, 2011, 04:53:53 AM
 #4

On a related note, if I have multiple mining machines behind a NAT and firewall (no inbound 8333), what is the best strategy for the getwork server?  The options are:

  • bitcoind running on each miner
  • bitcoind running on one miner on the LAN, the other machines requesting getwork from it
  • bitcoind running on another machine elsewhere on the internet without firewall restrictions

When I tried the third option, bitcoind repeatedly locks after several hours requiring a kill -9.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!