xmrig / xmrig-proxy

Monero (XMR) Stratum protocol proxy
https://xmrig.com/proxy
GNU General Public License v3.0
610 stars 331 forks source link

Automatic Difficulty Adjustment for Each User in XMRig Proxy "Reduce worker diff" #572

Open vacSQL opened 2 months ago

vacSQL commented 2 months ago

I am currently using XMRig Proxy for solo mining. Could you please consider adding an option in XMRig Proxy to automatically adjust the difficulty for each user based on their mining hashrate? This feature would optimize mining efficiency by ensuring that miners with varying hashrates receive tasks that match their computational capabilities. Having this dynamic difficulty adjustment feature would simplify the setup process and improve overall mining performance. It would allow miners to contribute more effectively without manual adjustment of difficulty settings. Thank you for your consideration

SChernykh commented 1 month ago

once a small miner is accidentally disconnected, all previous work will be in vain

No, it will not be. Mining is a probabilistic process, it has no "memory" of previous work. Each hash has a chance to find a block, or a share with big enough difficulty. Please educate yourself: https://en.wikipedia.org/wiki/Memorylessness