Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: trogdorjw73 on April 10, 2013, 03:50:36 AM



Title: Building a "Solo Mining Pool"
Post by: trogdorjw73 on April 10, 2013, 03:50:36 AM
So I have a question: how do you build a "solo mining pool" where you can get stats and such? Right now I have the Litecoin client running on one system, and I have a bunch of other systems connected to it and mining. However, I can't get any stats this way (at least, not that I know of). Is there some software out there that's prebuilt and free, or is this something that the pool operators have put together on their own? One aspect I'd like to have control over is the difficulty of work unit assignments, as I have CPU miners doing 20kHash/s while other GPU miners are cranking out 600kHash/s. In the end, I'd like to be able to get a list of all the connected machines, allowing me to verify which ones are active and what their actual kHash rate is.

And before you ask, no, I'm not looking to make a new LTC mining pool; this is purely for use in my own network. Second, I do have a fair amount of hashing power available (over 5000kHash/s), so on average I should be able to find an LTC block every few days. The reason I don't like the mining pools is that what they pay does now appear to match my hashing power, plus the frequent DDoS attacks and pools that aren't accepting registration make me want to go solo for a while. This Litecoin Calculator (http://www.litecoinpool.org/calc) for instance gives me an estimated 21.5 LTC per day for 5000kHash/s, but my actual LTC at a couple different pools has worked out to more like 12LTC.

I may be adding some additional hashing power as well, so it just seems like if you have enough hashing power to make solo mining worthwhile (which for me I take as being the ability to mine a block in less than two days on average), solo mining at present can still be the best route. Plus, it helps make the network more secure -- not that I see anyone doing a 51% attack any time soon, but making the network more diverse is still a good thing in my book.

Anyway, if someone has some good recommended reading for setting up a more complex solo mining pool, please let me know!


Title: Re: Building a "Solo Mining Pool"
Post by: cdog on April 10, 2013, 05:07:53 AM
Kh/s doesnt always equate with pool results or blocks, because if you have a ton of invalids or stales they wont count as shares.


Title: Re: Building a "Solo Mining Pool"
Post by: GForce on April 10, 2013, 05:50:25 AM
Get yourself P2Pool, this is a solo mining pool.


Title: Re: Building a "Solo Mining Pool"
Post by: trogdorjw73 on April 10, 2013, 08:37:48 AM
Get yourself P2Pool, this is a solo mining pool.
Ah, that should help. In the meantime, a question: with a bunch of PCs "mining" off of my one Litecoin instance, is there any way to know that work is being done? Not surprisingly, I haven't found a block yet, but there's part of me that wonders if the communication is all going on properly -- I could be hashing nonsense in a way that will never create a block right now and not know it! Hahaha... Maybe I should just go ahead and stop Litecoin local for a bit and let everything go to the pools. It's roughly $50 per day that I'm missing right now.


Title: Re: Building a "Solo Mining Pool"
Post by: Tesla71 on April 10, 2013, 09:52:00 AM
I did it that way: set up cgminer for mining in a pool, watched if shares are getting accepted and counted.
Then changed only the adress to 127.0.0.1:<port> (of course litecoin.ini needs to match) and looked at the output of cgminer if it can connect and showed nearly the same hasrate