Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Tommo_Aus on October 01, 2013, 05:11:54 AM



Title: SHA256 Pool setup for TGR, ZET and so on
Post by: Tommo_Aus on October 01, 2013, 05:11:54 AM
Hi all,

Is anyone able to give me a run down on how to setup mmcfe + stratum for TGR/ZET or other SHA256 coins?

I've been trying for some time but haven't found a solution. I've setup many scrypt based mmcfe + stratum combinations without issues but I'm lost with SHA256.

All I'm after are some basic pointers on what mmcfe fork/etc to use along with stratum and anything special that has to be done.

I've tried using the PoS fork of stratum by moopless (https://github.com/moopless/stratum-mining-litecoin/tree/PoS) but all I get are invalid shares with the error "Share is above target". If I comment out this validation code then shares submit but I never see any valid blocks even though with the hashing power I've tried using over a day it should've found many blocks.

I've found mmcfe + stratum based pools for SHA256 coins such as ZET so its possible, what am I missing?

Really really really hope someone is able to comment on this!


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: Tommo_Aus on October 01, 2013, 10:42:17 PM
*BUMP*


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: dfox101 on October 01, 2013, 11:09:42 PM
It will be great to have a pool that can jointly mine TGC, ZET, ASC etc together  :)


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: Tommo_Aus on October 02, 2013, 12:34:25 AM
The plan is to add the SHA256 coins to Multipool so you could, for instance, GPU mine scrypt coins on one Tompool multipool port and ASIC mine SHA256 coins on another port. Just need to get a working SHA256 pool with stratum that uses mmcfe database design.


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: Tommo_Aus on October 02, 2013, 12:37:45 PM
Figured it out :) I modified the scrypt stratum code to SHA256 and now its all working!


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: bob131313 on October 02, 2013, 01:44:01 PM
Figured it out :) I modified the scrypt stratum code to SHA256 and now its all working!

Mind sharing your code? I have been interested in setting up a private pool for all of these.


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: captainfuture on October 02, 2013, 01:51:33 PM
It will be great to have a pool that can jointly mine TGC, ZET, ASC etc together  :)

You ever tried coineX pools?

we have TGC, ZET, ASC, BTE, PPC, BFC and TRC


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: dfox101 on October 02, 2013, 04:40:18 PM
It will be great to have a pool that can jointly mine TGC, ZET, ASC etc together  :)

You ever tried coineX pools?

we have TGC, ZET, ASC, BTE, PPC, BFC and TRC

but can we do joint mining?

I like SHA256 coins, but want to find a way to joint mine them


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: Tommo_Aus on October 03, 2013, 12:28:56 AM
I like SHA256 coins, but want to find a way to joint mine them

I don't quite understand the joint mining terminology, what exactly is it?

Mind sharing your code? I have been interested in setting up a private pool for all of these.

Yep just grab the latest moopless stratum from here:

https://github.com/moopless/stratum-mining-litecoin

Then replace the lib/template_registry.py file with this one:

http://ctompo.dyndns.org/template_registry.py

And in your config.py set SOLUTION_BLOCK_HASH = True

When your pool finds a block you'll see the output "Final job validation failed!" in the stratum logs but everything works. I might try and figure out how to make the validation pass but it works how it is, and I don't know python very well :P

That should be it, and I won't charge you 1 BTC for it like others on here...


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: koltz on October 07, 2013, 05:20:09 PM
Thanks for the steps. I am trying to get this working for PPC which is SHA256 based and I can't get stratum running. I keep gettig a "ERROR mining # Litecoind Error: Invalid mode" in my stratum log. Anything else that may have changed or even post your config.py file (without personal data of course)?

Thanks


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: Tommo_Aus on October 17, 2013, 01:55:51 AM
Totally forgot about this!

I can't say I've seen that error before, but take a look at this config:

http://ctompo.dyndns.org/sample.py

Hope this helps!


Title: Re: SHA256 Pool setup for TGR, ZET and so on
Post by: kisrap on August 09, 2014, 01:19:40 PM
i have also found it useful thanks