zone117x / node-open-mining-portal

A scalable all-in-one easy to setup cryptocurrency mining pool and portal written entirely in Node.js.
GNU General Public License v2.0
1.01k stars 1.02k forks source link

diff, varDiff settings #409

Open Elmit2015 opened 9 years ago

Elmit2015 commented 9 years ago

Please help me to understand diff and var diff settings!

I got a miner, who claims to need high difficulty settings. My settings are yet:

"ports": {
    "4445": {
        "diff": 1024,
        "varDiff": {
            "minDiff": 512,
            "maxDiff": 32768,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercent": 30
        }
},

It seems to me, that it starts with diff (1024), goes quickly to 32768, but falls down to 10. BTW, I thought the difficulty must be a power of 2, but 10 isn't !!!!

While I am writing this, I found that config.json also includes this: "scrypt": { "enabled": true, "algorithm": "scrypt", "ports": { "4444": { "diff": 10, "varDiff": { "minDiff": 16, "maxDiff": 512, "targetTime": 15, "retargetTime": 90, "variancePercent": 30 } } } },

What is the best way to set these two diff settings?

srpatel19590 commented 5 years ago

@Elmit2015 Same confusion. Did you get clarification?