JerryWm / Stratum-Proxy-XMR

Stratum proxy
20 stars 19 forks source link

Nicehash compatibility #2

Closed kyleboddy closed 6 years ago

kyleboddy commented 6 years ago

Getting a lot of rejected shares despite checking the "emu nicehash" option. Any idea what the issue is?

JerryWm commented 6 years ago

What error does the pool send? (Click on "Reject" in the "Shares" panel)

JerryWm commented 6 years ago

Also support the miners mode of operation nicehash?

kyleboddy commented 6 years ago

Yes, I am using xmr-stak combined and have "use_nicehash" set to TRUE. The errors are nonce-specific "does your miner support nicehash?" issues. I mine on nicehash with these miners with no problem w/o proxy.

JerryWm commented 6 years ago

So do you use nicehash pool ?

JerryWm commented 6 years ago

You need to use either my miner (but it's only for cpu and the code is closed) or use 1 to 1 proxy (Max workers = 1 Emu nicehash = false)

JerryWm commented 6 years ago

https://github.com/JerryWm/Stratum-Proxy-XMR/blob/45a1c10ed092e667cea5bae9eab1c463a239e60f/src/app/StratumProxy.js#L62 There is a mistake. Incorrect parse of nonce nicehash

JerryWm commented 6 years ago

Download the source. Now everything should work. And try again this method. You need to use either my miner (but it's only for cpu and the code is closed) or use 1 to 1 proxy (Max workers = 1 Emu nicehash = false)

Thank you!

kyleboddy commented 6 years ago

So other GPU miners won't work in this setup?

xmrstak/claymore/sgminer -> stratum-proxy -> Nicehash

JerryWm commented 6 years ago

The miners do not support the proxy server and Nicehash at the same time. Since nicehash itself is a proxy server, it accumulates miners. This is due to its specification, which is supported by most miners. Because of this specification, it became possible to create a cumulative proxy that runs on conventional pools.

JerryWm commented 6 years ago

But you can proxy 1 to 1. Then it will work on nicehash

kyleboddy commented 6 years ago

So for six miners, six instances of the software running? Or six pools of nicehash in one worker with max worker = 1?

StratumProxy only supports failover, not fractional pooling though, right?

If 1 to 1 means one proxy per miner, then there's not much point in doing that.... right?

JerryWm commented 6 years ago

In order to specify proxying 1 in 1, you must specify in the pool settings [Max workers = 1 Emu nicehash = false]

JerryWm commented 6 years ago

Look. If you dig at the nicehash pool, then 6 miners will have 6 connections to the pool. All of them will be visible on the "Pools" tab.

StratumProxy only supports failover, not fractional pooling though, right? If you dig on the pool naisheesh then yes. But around a bunch of other pools, and on them you can combine up to 256 miners.

JerryWm commented 6 years ago

If 1 to 1 means one proxy per miner, then there's not much point in doing that.... right? It turns out so. ps. You can use mine cpuminer, it can be combined and with a pool of nacehash.