Can someone please help me setup solo mining? I know a little about setting it up on 1 machine as there are many guides but i dont see any info on setting up multiple workers. 5 i need to hook up to be exact.I think i could probably do allot better solo Mining but need some help setting it up.
Thank You in advance for any help and hope you all had a happy holiday.
MybadOmen
You probably found it by now, if you managed to ignore all the bitiching that is
But if not, here goes again, shamelessly reposting my previous post on this for the 2nd time, forgive me
Assuming this is in windows:
- Set up your earthcoin wallet (download from original thread)
- Run it, then quit
- Find and open the earthcoin data directory (open start and in the searchbox type '%appdata/roaming% ' without the quotes, that should point you to the roaming directory where you should find an earthcoin directory, note that if you don't find it you most likely have system folders hidden enabled and you need to change that 1st)
- create a 'earthcoin.conf' file (without quotes) with notepad (watch that notepad does not name it 'earthcoin.conf.txt') and add the following lines in bold to it:
listen=1
daemon=1
server=1
rpcuser=**Yourusername**
rpcpassword=**Yourpassword**
rpcport=15678
rpcconnect=127.0.0.1
addnode=77.244.7.167
addnode=188.194.13.44- now replace the **Yourusername** and **Yourpassword** with your specifics (doesn't matter at all what it is, just as long as you call on exactly that when you start cgminer)
- save earthcoin.conf
- run earthcoin wallet and let it sync (update the blockchain, solo mining won't work if it is not updated)
- now find your cgminer directory (don't know how to do this for other miners so download cgminer if you don't have it)
- make a new batchfile with notepad and name it 'cgminersoloearth.bat' (or something like that) and again watch out that notepad does not add a .txt extension or it won't work
- edit the 'cgminersoloearth.bat'file and add the following bold lines
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer.exe --scrypt -o localhost:15678 -u **Yourusername** -p **Yourpassword** -o **Yourpoolurl**:**Yourpoolport** -u **Yourpoolusername** -p **Yourpoolpassword** --config cgminersoloearth.conf
pause- replace **Yourusername** and **Yourpasswprd** with exactly what you chose earlier for the earthcoin.conf file
- replace **Yourpoolurl** and **Yourpoolport** with your pool information (check start post if you don't have a pool and have singed up, you need a worker configured on most pools or it will not work)
- replace **Yourpoolusername** and **Yourpoolpassword** with your earthcoin pool login info (note this step is so that you can take advantage of the longpoll function that the pool provides while solo mining, it prevents you from working on already solved blocks while solo mining and thereby wasting a lot of time and kh/s)
- save the cgminersoloearth.bat file in the cgminer.exe directory
- now make a 'cgminersoloearth.conf' file in the same directory (or edit if it already exists) and put any GPU tuning script lines in there - can't tell you what those are because it differs per card and personal setup but it should be things like thread_concurrency, vectors, intensity and about 50 other variables you can set to tune your kh/s performance - read the cgminer docs and google a lot)
- start earthcoin wallet if it is not already running and let it sync
- start the 'cgminersoloearth.bat' file from the cgminer directory
- you will see cgminer load with and after a few seconds show you the 'normal' screen with kh/s per card, accepted and rejected shares and all that other stuff
- likely a couple of lines above that it will say something like 'connected to localhost diff XXX (whatever number) with LP (means longpoll, if it says without LP check back after a few minutes) as user **Yourusername**
Succes, this means you are mining solo succesfully!
Now for the nasty part, you will not see much else for hours most likely, except your kh/s slightly changing every few seconds.
Accepted, Rejected values per GPU wiil stay 0 for a long time since you don't submit shares like when mining on a pool.
Only when you actually solve a block you will see a message like 'Solved blablabla BLOCK' and your values will change.
Most other times you will see either 'Network diff set to X (any number)' or 'Stratum from pool 1 detected new block' or 'Block change for localhost:15678 detection via **Yourpoolurl** stratum' (that last one to notice you that the block you are solo solving at that moment has been solved already and your miner should move on and stop wasting time)
That's about it. Hope I didn't f-up, checked it twice but there might be an error in here, point it out and I'll correct it.
Sorry for the horrible formatting, don't do these forum things very often
If this works and helps feel free to tip me for a beer
@coinfingers
eo97FjVZkx5SwFDTnYfFssPjG59q85PEPu
You may have to change rpcconnect to 192.168.*.* if you have your rigs in a home network. I had to in my set up.