Bitcoin Forum
April 26, 2024, 03:19:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Two Computers Soloing  (Read 4558 times)
worldinacoin (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 02, 2011, 08:17:13 AM
 #1

I have a current computer which I intend to setup soloing for bitcoin.   Am building another computer which I want it to help the other computer in the soloing efforts. So for the host instead of localhost, what should I put?  Any configuration changes in the original computer?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714144740
Hero Member
*
Offline Offline

Posts: 1714144740

View Profile Personal Message (Offline)

Ignore
1714144740
Reply with quote  #2

1714144740
Report to moderator
RyNinDaCleM
Legendary
*
Offline Offline

Activity: 2408
Merit: 1009


Legen -wait for it- dary


View Profile
October 03, 2011, 02:41:18 AM
 #2

Subbing, because I'd like to know this too!


phorensic
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
October 03, 2011, 06:23:27 AM
 #3

If you want your computers to work together you would have to set up your own pool using pushpool or poolserverJ.  Otherwise they are just separate solo instances and would take even longer, statistically, to find a block.
JL421
Hero Member
*****
Offline Offline

Activity: 812
Merit: 510


View Profile
October 04, 2011, 06:12:00 AM
Last edit: October 04, 2011, 06:26:15 AM by JL421
 #4

I may be in the wrong here, but wouldn't you just put the ip address of the computer that you are running a bitcoin server on as your second machine's host? Then login with the same username and password. You'd have to make sure the firewall ports were open on your local network, but that should work.

Actually here's the thread with the solution: https://bitcointalk.org/index.php?topic=10266.0

I think what you're looking to do is solo mine with 2 computers from the same bitcoin.exe client, hosted on one computer right?

To do that, set up your bitcoin.exe and guiminer on one computer. In Guiminer set the bitcoin.exe client path on that computer from the "solo utilities." Create the solo username and password (from solo utilities), this will let your other computer connect.

I found this easiest, but on the bitcoin.exe shortcut you use to launch the program, right click and hit properties. in "target" go to the end of the line, add a space, then put

-server

This will make bitcoin.exe start up as a server.

On computer #2, you only need guiminer. Set the server to "solo." For the host, input the ip address of your first computer, if its on a lan, use its 192.168.1.xxx address. Port is 8332, then use the username and password you created on your first computer. Set the device and flags, then hit start mining.

If you cant connect, you might have to go into your router your first computer is on and forward port 8332 to allow connections.

There need to more write to  bitcoin.conf

rpcuser=yourusername
rpcpassword=yourpassword
rpcallowip=192.168.1.*
rpcport=8332


And after a quick test on my own network, I can confirm this works...yay, now I have a computer manufactured in 2003 cpu mining for me with an outstanding rate of 1.4 Mhash/s...
worldinacoin (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 04, 2011, 06:35:36 AM
 #5

If I need a few connection is this the way to setup?

rpcallowip=192.168.1.* , 123.456.789.0, 123.456.789.1



I may be in the wrong here, but wouldn't you just put the ip address of the computer that you are running a bitcoin server on as your second machine's host? Then login with the same username and password. You'd have to make sure the firewall ports were open on your local network, but that should work.

Actually here's the thread with the solution: https://bitcointalk.org/index.php?topic=10266.0

I think what you're looking to do is solo mine with 2 computers from the same bitcoin.exe client, hosted on one computer right?

To do that, set up your bitcoin.exe and guiminer on one computer. In Guiminer set the bitcoin.exe client path on that computer from the "solo utilities." Create the solo username and password (from solo utilities), this will let your other computer connect.

I found this easiest, but on the bitcoin.exe shortcut you use to launch the program, right click and hit properties. in "target" go to the end of the line, add a space, then put

-server

This will make bitcoin.exe start up as a server.

On computer #2, you only need guiminer. Set the server to "solo." For the host, input the ip address of your first computer, if its on a lan, use its 192.168.1.xxx address. Port is 8332, then use the username and password you created on your first computer. Set the device and flags, then hit start mining.

If you cant connect, you might have to go into your router your first computer is on and forward port 8332 to allow connections.

There need to more write to  bitcoin.conf

rpcuser=yourusername
rpcpassword=yourpassword
rpcallowip=192.168.1.*
rpcport=8332


And after a quick test on my own network, I can confirm this works...yay, now I have a computer manufactured in 2003 cpu mining for me with an outstanding rate of 1.4 Mhash/s...
JL421
Hero Member
*****
Offline Offline

Activity: 812
Merit: 510


View Profile
October 04, 2011, 07:05:08 AM
 #6

On the rpcallowip line, the * is a wildcard, meaning that anything in the 192.168.1.0-192.168.1.255 will be accepted. So if you're trying to connect two computers with an ip address of 192.168.1.5 and say 192.168.2.8, then all you need to do is enter rpcallowip=192.168.*.*
RyNinDaCleM
Legendary
*
Offline Offline

Activity: 2408
Merit: 1009


Legen -wait for it- dary


View Profile
October 05, 2011, 03:00:29 AM
 #7

Otherwise they are just separate solo instances and would take even longer, statistically, to find a block.

This isn't the case!
1000Mh/s from one rig is the same as 2x500Mh/s rigs working together.

If you make 1BTC/day with the 1000Mh machine, you'd also make .5BTC/day for each 500Mh machine! It all comes out the same in the end.

RandyFolds
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
October 05, 2011, 03:17:47 AM
 #8

Otherwise they are just separate solo instances and would take even longer, statistically, to find a block.

This isn't the case!
1000Mh/s from one rig is the same as 2x500Mh/s rigs working together.

If you make 1BTC/day with the 1000Mh machine, you'd also make .5BTC/day for each 500Mh machine! It all comes out the same in the end.

Agreed.

phorensic is basically claiming that it will take my rig 'statistically' longer to find a block if I fire up another rig beside it. Hashes are hashes, each with equal probability of solving a block.
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
October 11, 2011, 10:06:39 AM
 #9

After reading a thread about solo mining filled with anti-solo trolls this is a nice change.  I just wanted to stop and mention solo merged mining if you hadn't come across it.  It would take a little more setting up but your expected return would rise significantly.

Personally I like the idea of having a single wallet on one machine and pointing all the others to it.  Pooled mining software would only be required if you wanted each computer to get it's fair share but didn't want the higher variance of each computer solo mining (a rather strange desire in my mind).
worldinacoin (OP)
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
October 11, 2011, 10:33:37 AM
 #10

Maybe you can give more information on how to do such merged mining?  That would be deeply appreciated.
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
October 11, 2011, 11:12:10 AM
 #11

Maybe you can give more information on how to do such merged mining?  That would be deeply appreciated.

I'm afraid all I know is that it is apparently quite a bit easier to do than setting up a merged mining pool.  There was a merged mining testnet running for a fair while before merged mining was officially rolled out for the main block chains.  Also, it is much easier to find information on Namecoin sites and forums than on Bitcoin ones.

I've not looked into it myself because I'm happy with pooled mining right now (simplecoin.us PPLNS for its decent promotions and server stability).  Good luck with your operation though.  I'm a fan of solo mining myself and only moved to pooled mining a month or so ago as PPLNS started to become popular.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
October 13, 2011, 03:51:05 AM
 #12

Why do you need to "link" multiple solo computers?

Keep it simple:
Give each computer their own wallet and start them hashing.

Linking the computers provides no performance benefit and creates a single point of failure.

Remember the coinbase transaction includes the receiving address and extra nonce (random) so even if you had 1 million solo computers they aren't going to be duplicating work.
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
October 13, 2011, 09:37:59 AM
 #13

Why do you need to "link" multiple solo computers?

Keep it simple:
Give each computer their own wallet and start them hashing.

Linking the computers provides no performance benefit and creates a single point of failure.

Remember the coinbase transaction includes the receiving address and extra nonce (random) so even if you had 1 million solo computers they aren't going to be duplicating work.

+1

This is exactly what I'd do.  It's not as if you're going to get blocks very often.  The network link and configuration to make both computers use one wallet is just another thing to go wrong.  You might find that two instances of bitcoind will end up using more bandwidth than one but I would only address this if it becomes a problem.
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!