Snipa22 / xmr-node-proxy

221 stars 209 forks source link

Better explanation of config value and vardiff pools #94

Open aleqx opened 6 years ago

aleqx commented 6 years ago

Hi,

Thanks for this proxy! I'm trying to use it with Hashvault which says I can set the username to wallet+DIFF to fix the difficulty of the shares (which I don't think it works, it seems to be vardiff regardless). I'd like to understand how to best configure the proxy.

Let's assume for the sake of the argument that I have 700 miners, each doing 70 H/s connected to the proxy, and that I use a single pool, hence I set share: 100 in config.json

A side question: how could I actually determine the difficulty of the job sent by the pool? I'm trying to use user=wallet+DIFF on Hashvault in order to fix the difficulty (as they say here https://electroneum.hashvault.pro/en/#!/ports) but the rate at which the proxy is submitting shares changes after the second job is received, suggesting the pool has changed the difficulty ...

Also, is there a way to set failover pools in config.json? That is, configure 2 pools in config.json, but use the second pool only if the first goes offline (rather than always send shares to both).

Many thanks in advance

NoleA1 commented 6 years ago

I would love to know this as well. Have 300 miners, each running 800 hs.

bobbieltd commented 6 years ago

I don’t think those affect much the efficiency. Only shareTargetTime that you can try to reduce. I think proxy works with fixed diff if the pool supports it.