Solomining on new Digibyte core wallet v6.14.2
In Digibyte v6.14.2 "getwork" is gone. It now uses getblocktemplate.
So if you want to mine on the new wallet you have to change your configs!
These instructions are for people that already know how to solo mine.
LINUX:Step 1. Generate an rpcauth code to put in your digibyte.conf file by going to this link
https://github.com/digibyte/digibyte/tree/6.14.0/share/rpcuser and download and put the file in your digibyte root folder.
Step 2. Run it by typing “python ./rpcuser.py [user]” ([user] can be what you choose to put in)It will show you something like this.
“String to be appended to digibyte.conf:
rpcauth=user:1335d15a52c8c24ef246b73bf4b9741$44d37ba0cb46191f11749c3217c7e497da5e01f8e8e01bd501bb35fbfcc0c9ba
Your password: l147_CovTnVvV4P0W5p8qa1B5Gs88EDqMo5OI9Fmo8Y= “
Step 3. Remove rpcuser/rpcpassword from your existing digibyte.conf file.
Step 4. Put the rpcauth=user:1335d15a52c8c24ef246b73bf4b9741$44d37ba0cb46191f11749c3217c7e497da5e01f8e8e01bd501bb35fbfcc0c9ba in your digibyte.conf file
Use the password for your mining rig for example.
-u user -p l147_CovTnVvV4P0W5p8qa1B5Gs88EDqMo5OI9Fmo8Y=
WINDOWS:Step 1. You cant generate an rpcauth code because you need to install python first. So the easiest way ist to use existing rpcauth.
Step 2. Remove rpcuser/rpcpassword from your existing digibyte.conf file.
Step 3. Put the rpcauth=user:1335d15a52c8c24ef246b73bf4b9741$44d37ba0cb46191f11749c3217c7e497da5e01f8e8e01bd501bb35fbfcc0c9ba in your digibyte.conf file
This is the digibyte.conf:
server=1
listen=1
rpcport=14022
rpcallowip=192.168.222.0/24
algo=qubit
rpcauth=user:1335d15a52c8c24ef246b73bf4b9741$44d37ba0cb46191f11749c3217c7e497da5e01f8e8e01bd501bb35fbfcc0c9ba
rpcallowip=192.168.222.0/24 => You can change this to your Network or only one IP in your LAN!
algo=qubit => change algo you want to mine
digibyte.conf file has to be in your digibyte folder. => C:\Users\accountname\AppData\Roaming\DigiByte
Step 4. Change your bat or config for your miner!
At this example i use algo=qubit so i want to mine qubit.
I use the cpuminer.
If you use other algo and other miners just read the help.txt which comes with your miningsoftware!
This is the mining.bat for cpuminer:
cpuminer -a qubit --url=192.168.222.202:14022 -u user -p l147_CovTnVvV4P0W5p8qa1B5Gs88EDqMo5OI9Fmo8Y= --no-stratum --no-getwork --no-extranonce --coinbase-addr=D8i1mDnjqpXGwyCrFJT9qbSYuYtdoW7bJc
Use the gernerated password and the user with the name user!
-u user -p l147_CovTnVvV4P0W5p8qa1B5Gs88EDqMo5OI9Fmo8Y=
INFO:
-n, --nfactor neoscrypt N-Factor
--coinbase-addr=ADDR payout address for solo mining
--coinbase-sig=TEXT data to insert in the coinbase when possible
--no-longpoll disable long polling support
--no-getwork disable getwork support
--no-gbt disable getblocktemplate support
--no-stratum disable X-Stratum support
--no-extranonce disable Stratum extranonce support
--no-redirect ignore requests to change the URL of the mining server
p.s. big thx to twebit!