glambeth / zecProxy

Zcash Stratum Proxy
10 stars 6 forks source link

Stratum-to-Stratum? #1

Open dlehenky opened 7 years ago

dlehenky commented 7 years ago

Hi there! Didn't know where else to ask a question. So, given current GPU miners emit stratum protocol, is this proxy stratum-to-stratum?? I'm looking for a get-work<->proxy<->stratum proxy for solo mining, with stratum on the miner side.

Also, given the python/twisted implementation, did you start with DwarlPools ETH proxy? I've used it heavily for ETH pool mining, and it was a rock!

-Thank You!

glambeth commented 7 years ago

Hey there! You actually helped me out on the Zcash forum getting optiminer to auto reboot so thanks for that :) Yup, it's just a simple stratum to stratum proxy, but I'd be more than glad to implement the functionality you need! Just to clarify the use case, I'm guessing you want to use Claymore's miner or a similar GPU miner for solo mining?

I actually used Dwarfpools eth proxy as well and it gave me some inspiration to build this! Although, I didn't base the code off it; I just wanted to learn Python/twisted for fun, but I'll implement this functionality and rewrite the stratum->stratum functionality in nodeJS since i'm more familiar later this week once i'm home! Don't forget to give a star so you get a notification when it's done :)

dlehenky commented 7 years ago

Well a get-work <-> stratum proxy would be great! I'd be happy to send you a donation! I'm using optiminer on Ubuntu 14.04 for my Nanos to solo Zclassic. I'm pleased with sammy007's proxy, except is closed-source with a devfee, and it really provides much more functionality than I want/need. I'm just looking for the protocol exchange, just get-work packets translated to stratum and vis versa. I'll be looking forward to testing it for you :)

glambeth commented 7 years ago

Why thank you! Just a poor college student so every bit helps! Awesome, can't imagine that being too difficult, so should be in contact soon :)

dlehenky commented 7 years ago

Great! I'm just a poor, old fart :) Looking forward to hearing from you!

dlehenky commented 7 years ago

Let me know how you would like your donation: BTC, ETC, ZEC, or ZCL, when you're ready :)

dlehenky commented 7 years ago

Hey George! Just wondering if there's more to come :)

glambeth commented 7 years ago

Yup but it might be a while! A lot more difficult than I first anticipated..

dlehenky commented 7 years ago

Hi George. Yes, I took a look at your current proxy and the solo mining proxy would a bit more complex. Currently you don’t need to do much with the packet payload, other than copy it. The solo proxy will require some packet decode/encode and, of course, the “get-work” protocol. I can assure you, though, it is a most worthy undertaking. :)

-Best David

On Feb 1, 2017, at 11:59 AM, George Lambeth notifications@github.com wrote:

Yup but it might be a while! A lot more difficult than I first anticipated..

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/glambeth/zecProxy/issues/1#issuecomment-276747761, or mute the thread https://github.com/notifications/unsubscribe-auth/AOexPdqnwIH93yH4axjMczPyciRADgCEks5rYNYvgaJpZM4LqioJ.

glambeth commented 7 years ago

Mind if I message you on the zcash forum? Would love to talk more about some of the specifics!

dlehenky commented 7 years ago

Sure, no problem!

On Feb 2, 2017, at 10:24 AM, George Lambeth notifications@github.com wrote:

Mind if I message you on the zcash forum? Would love to talk more about some of the specifics!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/glambeth/zecProxy/issues/1#issuecomment-277023209, or mute the thread https://github.com/notifications/unsubscribe-auth/AOexPf-dMbc-8BzGHGOL_fiAeAkbTgaUks5rYhFBgaJpZM4LqioJ.

dlehenky commented 7 years ago

Btw, I have some packet traces for both the “get-work” and stratum dialogs, if that would help.

On Feb 2, 2017, at 10:24 AM, George Lambeth notifications@github.com wrote:

Mind if I message you on the zcash forum? Would love to talk more about some of the specifics!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/glambeth/zecProxy/issues/1#issuecomment-277023209, or mute the thread https://github.com/notifications/unsubscribe-auth/AOexPf-dMbc-8BzGHGOL_fiAeAkbTgaUks5rYhFBgaJpZM4LqioJ.