Post
Topic
Board Announcements (Altcoins)
Re: ★★ DigiByte ★ 极特币★★ [DGB] ✈ ✔ $250,000 Private Investment Received
by
lankyman
on 09/06/2017, 15:11:33 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!



==================
I cant get mine to work
===================

How do you solo mine?
I get this error:

[15:44:31] Log date is now 2017-06-09
[15:44:31] Started cgminer 3.7.3
[15:44:31] Log date is now 2017-06-09
[15:44:31] Started cgminer 3.7.3
[15:44:32] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[15:44:32] CL Platform 0 name: AMD Accelerated Parallel Processing
[15:44:32] CL Platform 0 version: OpenCL 2.0 AMD-APP (2117.14)
[15:44:32] Platform 0 devices: 2
[15:44:32] 0 Ellesmere
[15:44:32] 1 Ellesmere
[15:44:32] GPU 0 Radeon (TM) RX 470 Graphics hardware monitoring enabled
[15:44:32] GPU 0 BIOS partno.: 113-D0000301_101, version: 015.050.000.000, date: 2016/09/30 00:06
[15:44:32] Failed to ADL_Overdrive5_ODPerformanceLevels_Get
[15:44:32] GPU 1 Radeon (TM) RX 470 Graphics hardware monitoring enabled
[15:44:32] GPU 1 BIOS partno.: 113-1E3470U.O60, version: 015.050.000.000, date: 2016/09/22 00:01
[15:44:32] Failed to ADL_Overdrive5_ODPerformanceLevels_Get
[15:44:32] Probing for an alive pool
[15:44:32] Testing Pool 0
[15:44:32] HTTP request failed: The requested URL returned error: 401
[15:44:32] HTTP request failed: The requested URL returned error: 401
[15:44:32] JSON decode failed(1): '[' or '{' expected near 'HTTP'
[15:44:32] JSON decode failed(1): '[' or '{' expected near 'HTTP'
[15:44:32] Closing socket for stratum Pool 0
[15:44:32] Pool 0 slow/down or URL or credentials invalid

My digibyte.conf file looks like so :
rpcuser=digiuser
rpcpassword=digipass
rpcallowip=127.0.0.1
rpcport=14022
p2pport=12024
daemon=1
server=1
listen=1
gen=0
#algo=scrypt
#algo=sha256d
#algo=groestl
#algo=qubit
algo=skein
addnode=74.208.230.160
addnode=31.220.25.91
addnode=184.155.218.183

my command looks like so:
cgminer --skein -o 127.0.0.1:14022 -u digiuser -p digipass --verbose


it doesnt start mining, i dont understand why
F:\Users\imrepc\Desktop\Cgminer_Skein>cgminer --version
cgminer 3.7.3

Please help me