Solo Mining Digibytes - NVIDIA ccminersteemCreated with Sketch.

in digibytes •  7 years ago  (edited)

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-wallets
  2. 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/DigiByte
  8. 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.

  1. From Windows Explorer create a new text file in the Digibyte folder (/Users/%YOUR_USER%/AppData/Roaming/DigiByte) and rename it as DigiByte.conf
  2. In the DigiByte.conf file add the following parameters:
    Code:
    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.

  1. Save the file
  2. 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.

  1. Download “ccminer-nanashi v1.7.6 r6” from https://github.com/nicehash/ccminer-nanashi/releases
  2. Create a new ccminer-solo.bat file and copy the below launch string
    Code:
    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.

  1. Only when the wallet is completely synchronized launch the ccminer-solo.bat file
  2. Done! You are solo mining DigiBytes!

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:

  1. Create a new pump-the-beast.bat file with the following text
    Code:
    @echo off
    :loop
    goto loop

  2. 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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I've done as following your instruction but I always get the message:
"JSON key 'data' not found
JSON invalid data (len 0 <> 128)"
I don't know it is the error message you mentioned or not. Or I did something wrong. Any suggestion?

  ·  7 years ago (edited)

ignore the error, it's what I described, but please if you don't have a good hashrate do not expect to mine 100 blocks a day... normally with difficulty around 3K and 0.5GH/s you can mine 2 or 3 blocks a day depending on luck.

Congratulations @theminer! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You made your First Comment

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Good post. I fully understand what you're talking about. The trustworthiness of the crypto is based on: A solid team, product, advisors, preferably VC investors, etc. Sell all cryptos that don't have this solid background. It's a waiste of money. I found this amazing platform: https://www.coincheckup.com. They seem to give this complete indepth analysis of all cryptocoins. For example: https://www.coincheckup.com/coins/DigiByte#analysis For the DigiByte Report.

Congratulations @theminer! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!
  ·  7 years ago Reveal Comment