Bitcoin Forum
November 09, 2024, 04:17:52 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I safely run multiple identical bitcoind instances ?  (Read 1539 times)
gusti (OP)
Legendary
*
Offline Offline

Activity: 1099
Merit: 1000


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.
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652
Merit: 2301


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: 5376
Merit: 13407


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: 726
Merit: 500



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:  

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