I don't think I have ever seen comprehensive instructions on how to solomine a coin. I've found bits and pieces on several sites, but none that I could follow from start to finish and get the complete sequence.
Over the past few days, I decided to try it out just to see if I could get it working, and I did! If anyone else is curious about how to do it, here are the steps I followed:
(Assuming your wallet is running on a Windows computer.)
1. Shut down your wallet.
2. In the C:\Users\
\AppData\Roaming\DigiByte folder, add a file called DigiByte.conf that contains this:
rpcallowip=*
rpcuser=abc
rpcpassword=zzz
server=1
daemon=1
txindex=1
debug=1
algo=scrypt
rpcport=14022
port=12024
addnode=74.208.230.160
addnode=69.164.198.161
addnode=66.228.56.115
addnode=106.187.37.124
3. Right-click the shortcut icon of your wallet
a. choose Properties
b. click the Shortcut tab
c. in the Target, add -server to the end. (Example: "C:\Program Files\DigiByte\digibyte-qt.exe" -server)
4. Launch your wallet. It may reindex your blockchain, this can take awhile. Wait until this is done.
5. Go into the console of your wallet and type this and hit Enter: setgenerate true -1
6. Your computer is now CPU mining. It's going to use about 100% of the CPU on your computer, so it's best to run the wallet on a computer that is different from your mining rig.
7. Make note of the IP address of the computer your wallet is running on. From the Command Prompt: ipconfig
Wireless LAN adapter Wireless Network Connection 2:
Connection-specific DNS Suffix . : your.internet.provider
IPv4 Address. . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
IP Address of the computer is 192.168.1.3
8. On your mining rig, point to 192.168.1.3:14022, username abc, password zzz
You are now solo mining! Depending on your mining program, you aren't going to see any activity until you find a block. But it is working. I have my wallet running on my Windows box, and my miner running on a Linux box. I pointed my linux miner to this and it worked.
There may be some other set of instructions out there that are better than this, but part of the fun for me was trying to figure out how to do it on my own from the bits and pieces I found on the internet.
Other Algos... In the digibyte.conf file, you should be able to change the algo= line to one of the other algorithms and mine, but I haven't tested that (yet).
Nice guide. Couple of things I'd add is that theres no need to add txindex=1 into your conf feel free to leave it out. If you leave it out there's also no need to -reindex.
In the conf rather than use rpcallowip=* which opens up your wallet to connections outside your network you are far better off using rpcallowip=127.0.0.1
127.0.0.1 always points to localhost so you can use that instead of looking up your IP address with ipconfig
So Conf would become
rpcallowip=127.0.0.1
rpcuser=abc
rpcpassword=zzz
server=1
daemon=1
debug=1
algo=scrypt
rpcport=14022
port=12024
addnode=74.208.230.160
addnode=69.164.198.161
addnode=66.228.56.115
addnode=106.187.37.124
and then your mining settings would be
Pool = 127.0.0.1:14022
username = abc
password = zzz