Post
Topic
Board Announcements (Altcoins)
Re: ★★ DigiByte ★ 极特币★★ [DGB] ✈ ✔ $250,000 Private Investment Received
by
HR
on 29/04/2017, 06:27:36 UTC

I got a PM asking about how to solo mine . . .

The abridged, super simplified, solo mining HOWTO Wink

This assumes you already have your rig built, and OS and miner installed and configured.



Solo mining, single rig

ONLY 3 THINGS TO DO:

  • set up your wallet config file
  • set up your wallet to run as a server
  • set up your miner batch file to point to your wallet



Wallet config file key items: everything, but there are less than 20 lines

Cut and paste what's posted here into your digibyte.conf file inside the same directory/folder where your wallet is found:

Code:
rpcallowip=127.0.0.1
rpcuser=yourusername
rpcpassword=yourpassword
server=1
daemon=1
txindex=1
debug=1
algo=scrypt
rpcport=14022
port=12024
addnode=216.250.125.121
addnode=74.208.230.160
addnode=69.164.206.169
addnode=192.99.215.234
addnode=96.126.114.208
addnode=54.204.36.33
addnode=192.99.41.108
addnode=199.83.128.91
addnode=199.83.132.91

Change the rpcuser and rpcpassword to something of your choosing

Save it as digibyte.conf



Create a shortcut of your DigiByte wallet, right click, click properties append --server to the end of the TARGET line
(Example: C:\Users\User\Wallets\DigiByte\digibyte-qt.exe --server)
Save it and run your DigiByte Wallet as a server using that newly created shortcut.

One other thing, don't forget to modify the algo line with the algorithm you're using.
Code:
algo=scrypt
algo=sha256d
algo=groestl
algo=qubit
algo=skein


Setup your bat/script startup file by SIMPLY CHANGING 3 THINGS: your -o -u and -p switches (everything else stays the same)

-o 127.0.0.1:14022
-u the user name that you gave to rpcuser in your digibyte.conf file
-p the password that you gave to rpcpassword in your digibyte.conf file

Save and run. You're now mining solo.




Multiple Rig Setups

All the same as above, except you need to:

Change the 127.0.0.1 in the rpcallowip line in your digibyte.conf file to the IP of your server wallet machine or of your subnet, (for example to 192.168.0.* or 192.168.1.* which are the most common - you could go with 192.168.*.* when in doubt)

If necessary, create any necessary firewall exceptions on your server wallet machine and/or router.

Change the -o switch in your bat/script startup file to the IP of your server wallet machine, followed by a colon, and the rpcport number used (for example 192.168.0.30:17772 )

And you're off and running, now solo mining using various miners together.  Grin


It's easy as 1-2-3. Good luck, and good mining!



Can this be done on baikal miners?

With Baikal you could tweek a variation of this, but you'd need to set up a stratum server.

I spent some time unsuccessfully trying to set up a stripped down very basic stratum server and gave up after posting my results. Others have been continuing with the effort, but to my knowledge, still unsuccessfully. https://bitcointalk.org/index.php?topic=604476.0

Let me know if you come across anything else that ordinary folks like us can get set up at home without too many problems, or even if you get lucky and finally get Coinium up and running.

(It's not really an urgent necessity for us though - what with the several very good pools available and listed on the OP, it's more trouble than it's worth.)