Solo Mining Digibytes
NVIDIA ccminer
I've seen different guides on how to solo mining
DigiBytes, but none of them was explaining how to do it with
ccminer. The following guide is based on several forum threads and few researches and tries.
It is quite simple and assuming to start from scratch this is what you should do (the guide is based on what I’ve done on Windows 10 x64, but it should work also with a different OS).
1. Download the official
Wallet V6.14.2 from
https://digibyte.co/digibyte-wallets2. Install the Wallet
3. Launch the Wallet (to allow the generation of all the required files such as wallet.dat etc.), but do not synchronize
4. Close the Wallet
5. Open your Wallet link and add the “
--server” parameter (in my case the target is "C:\Program Files\DigiByte\digibyte-qt.exe" --server)
6. Download the
Digibyte blockchain (.zip file) from
http://cryptochainer.com/dir/ (this is to speed up the synchronization of the wallet)
7. Copy the .zip file to the Digibyte folder, located in
/Users/%YOUR_USER%/AppData/Roaming/DigiByte8. Create backup of
wallet.dat file (this is your actual wallet)
9. Delete all files & folders, except for wallet.dat and the .zip file
10. Unzip the .zip file directly into the folder
11. Delete the .zip file
If the original wallet.dat was moved, copy wallet.dat back to the DigiByte folder. Always make backups of your wallet.dat files.
12. From Windows Explorer create a new text file in the Digibyte folder (/Users/%YOUR_USER%/AppData/Roaming/DigiByte) and rename it as
DigiByte.conf13. In the DigiByte.conf file add the following parameters:
daemon=1
port=12024
server=1
listen=1
rpcport=14022
rpcallowip=127.0.0.1
algo=groestl
rpcauth=user:1335d15a52c8c24ef246b73bf4b9741$44d37ba0cb46191f11749c3217c7e497da5e01f8e8e01bd501bb35fbfcc0c9ba
addnode=24.17.180.135
addnode=130.240.22.202
addnode=176.31.126.191
addnode=37.187.27.4
addnode=185.128.41.158
addnode=104.238.187.114
addnode=76.169.57.92
addnode=89.212.214.29
addnode=217.120.129.169
addnode=104.131.142.198
addnode=45.79.2.70
addnode=46.4.66.6
addnode=67.198.30.16
addnode=120.24.185.169
addnode=81.169.208.246
addnode=209.54.13.222
addnode=68.55.199.104
addnode=87.98.159.143
addnode=73.221.241.33
addnode=62.152.54.44
addnode=188.165.194.146
addnode=52.41.9.64
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
addnode=69.164.198.161
addnode=66.228.56.115
addnode=104.200.17.141
addnode=45.79.149.192
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.132.91
addnode=104.237.137.28
addnode=45.33.7.79
addnode=45.79.10.59
From the above parameters, you may change the “
algo” if you want to run something different from myr-groestl and you can also change the “
rpcallowip” if you are running the wallet on a machine different from your rig. You can also change “
rpcauth”, but you will need to run the python script (
https://github.com/digibyte/digibyte/tree/6.14.0/share/rpcuser) to calculate the
auth code, so you can simply leave the values like they are here.
14. Save the file
15. Launch the Wallet (through the link with the “--server” parameter)
Let the wallet synchronize (it should not take long since you have already downloaded a good portion of the blockchain). Once the wallet is synchronized you have a ready-to-solo-mine wallet.
At this point you need a version of ccminer that supports the “
--no-getwork” and “
--coinbase-addr=” parameters. I found that the “ccminer-nanashi v1.7.6 r6” fork is working well, but if you find any other version supporting the same parameters than you are still ok.
16. Download “
ccminer-nanashi v1.7.6 r6” from
https://github.com/nicehash/ccminer-nanashi/releases17. Create a new
ccminer-solo.bat file and copy the below launch string
ccminer.exe -a myr-gr --url=127.0.0.1:14022 -u user -p l147_CovTnVvV4P0W5p8qa1B5Gs88EDqMo5OI9Fmo8Y= -i 20 --no-stratum --no-extranonce --no-getwork --coinbase-addr=D8Bf9PpGvMhXw72XqvqAnyQaPqPvLwgDSH
Of course, change the coinbase-addr with the address you can find from your wallet (File > Receiving Addresses…) and you can also change the IP in case you are running the wallet on a different machine. Also, you can change the intensity. I’m using “-i 20” with the 1080ti, but you can set the same intensity you use while mining on pools. Username and Password are already set to match the key you configured in the DigiByte.conf file, if you generated the key on a different username using the python script, then you need to change also username and password here.
18. Only when the wallet is completely synchronized launch the ccminer-solo.bat file
19. Done!
You are solo mining DigiBytes!If you overclocked or changed the settings of the GPUs, remember that the stability can change, so monitor the miner and the GPUs. In my case I had to reduce of 20 points the OC from +180 to +160 to avoid crashes, but that depends on many different variables, so check again the stability of your GPUs.
If it happens,
don’t bother about the “JSON key ‘data’ not found” error message that pops out constantly, it is only because during the block switch there is no actual data to work on.
To slightly increase the hash rate you can try also the following steps:
20. Create a new
pump-the-beast.bat file with the following text
21. Launch the pump-the-beast.bat file (it does nothing but increasing the I/O load of your machine, not sure why, but on my Windows 10 x64 machine increases the hash rate of some points)
If you feel like rewarding me with your first solo block do not hesitate to donate DigiBytes to my address “
D8Bf9PpGvMhXw72XqvqAnyQaPqPvLwgDSH”. It would be really appreciated.