Post
Topic
Board Announcements (Altcoins)
Re: [ANN][SPR] SpreadCoin | True Decentralization (No Pools) | Logo Contest
by
tbearhere
on 09/01/2015, 11:49:21 UTC
thank you  Smiley
And how would i send my hash to the same wallet from my 2nd computer through the internet ?

Here is how:
Also you can mine to a specific address (this is useful if you are mining on several computers). To do so:
1. Use existing or better generate a new address.
2. Open debug console (Tools -> Debug Console) and enter:
Quote
dumpprivkey SYourSpreadCoinAddress
3. You will get your private key. Then open spreadcoin.conf or create it if it doesn't exist (D:\Users\\AppData\Roaming\SpreadCoin\spreadcoin.conf on Windows) and add the following line:
Quote
miningprivkey=YourPrivateKey
4. Restart your wallet if it was running.
In the Mining tab you will now see notification that all mined coins will go to this address.
Of course you need to generate address and get privkey on one computer and edit spreadcoin.conf on the other.

What is the difference between mining in one wallet with privatekey with several computers and mining with a more wallets especially?
the wallet uses electricity = $

This part confuses me - I need to open my wallet on the second computer in order to solo mine.  If I don't open the wallet I get json errors.  Does the wallet have to be open on both rigs in order to solo mine?  And at this point aren't I still burning electricity?

You only need one wallet running. On the computer running the wallet you point your miner to 127.0.0.1 and on the other computer you point it to the computer that's running the wallet.

Computer 1, with wallet: miner.exe -o 127.0.0.1:41677
Computer 2: miner.exe -o ip.of.wallet.computer:41677

Don't put gen=1 into the conf, that makes the wallet run the internal CPU miner and that's a waste of electricity at these network hash rates. Something like this would do the trick, add the miningprivkey parameter if you want, personally I don't use it.

Code:
server=1
rpcallowip=127.0.0.1
rpcallowip=192.168.1.*
rpcuser=yourrpcusername
rpcpassword=yourrpcpassword

The first rpcallowip allows RPC connections from the same computer that is running the wallet. The second rpcallowip is needed to allow connections from the other computer, change the IP to whatever your local network is.

Or you can run the wallet on both computer, as long as you don't use gen=1 it doesn't really hurt but you'll have to deal with having two separate wallets and moving coins from them separately.

Ok - so just to confirm - I do not need my wallet running on the second machine to get it to mine?  I will try this setup and see if it works - thank you.

Edit - ok I tried it without the wallet on the second machine running and it gets the json error when I open the miner.  I must be missing something?

If you are on Windows. Go to the computer with wallet and open the command window and type ipconfig then look for your IPv4 Address. Make sure you use that ip address in your bat on the non wallet computer.

Example. If wallet computer ipv4 address is 192.192.1.921 your bat should look something like this:  spreadminer -o http://192.192.1.921:41667 -u USERNAME -p PASSWORD

I also use rpcport=41667 in my config file. If you change anything in your confige file you must restart the wallet.

NOTE: I am a rookie compared to tsiv but this is how I solo mine from multiple computers to the main with the wallet. I have other steps that I must do but they are not the most secure way that I have read about how I do it but it works fine for me. Been mining at time a total of 3 computers into the one with the wallet.
Still my 3rd computer on a separate hub, will not connect to the wallet. The other 2 computers will with the bat file as stated above. My 3rd computer has to be setup to send the hash to the wallet like I would be sending it to someone elses wallet and I don't know how to do that.