Updated readme for switching config
This commit is contained in:
parent
4413bfd7e6
commit
f47b023bd7
73
README.md
73
README.md
|
@ -212,43 +212,66 @@ Explanation for each field:
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
/* In a proxy configuration, you can setup ports that accept miners for work based on a
|
/* With this switching configuration, you can setup ports that accept miners for work based on
|
||||||
specific algorithm instead of a specific coin. Miners that connect to these ports are
|
a specific algorithm instead of a specific coin. Miners that connect to these ports are
|
||||||
automatically switched a coin determined by the server. The default coin is the first
|
automatically switched a coin determined by the server. The default coin is the first
|
||||||
configured pool for each algorithm and coin switching can be triggered using the
|
configured pool for each algorithm and coin switching can be triggered using the
|
||||||
cli.js script in the scripts folder.
|
cli.js script in the scripts folder.
|
||||||
|
|
||||||
Please note miner address authentication must be disabled when using NOMP in a proxy
|
Miners connecting to these switching ports must use their public key in the format of
|
||||||
configuration and that payout processing is left up to the server administrator. */
|
RIPEMD160(SHA256(public-key)). An address for each type of coin is derived from the miner's
|
||||||
"proxy": {
|
public key, and payments are sent to that address. */
|
||||||
"sha256": {
|
"switching": {
|
||||||
|
"switch1": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"port": "3333",
|
"algorithm": "sha256",
|
||||||
"diff": 10,
|
"ports": {
|
||||||
"varDiff": {
|
"3333": {
|
||||||
"minDiff": 16, //Minimum difficulty
|
"diff": 10,
|
||||||
"maxDiff": 512, //Network difficulty will be used if it is lower than this
|
"varDiff": {
|
||||||
"targetTime": 15, //Try to get 1 share per this many seconds
|
"minDiff": 16,
|
||||||
"retargetTime": 90, //Check to see if we should retarget every this many seconds
|
"maxDiff": 512,
|
||||||
"variancePercent": 30 //Allow time to very this % from target without retargeting
|
"targetTime": 15,
|
||||||
|
"retargetTime": 90,
|
||||||
|
"variancePercent": 30
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scrypt": {
|
"switch2": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"port": "4444",
|
"algorithm": "scrypt",
|
||||||
"diff": 10,
|
"ports": {
|
||||||
"varDiff": {
|
"4444": {
|
||||||
"minDiff": 16, //Minimum difficulty
|
"diff": 10,
|
||||||
"maxDiff": 512, //Network difficulty will be used if it is lower than this
|
"varDiff": {
|
||||||
"targetTime": 15, //Try to get 1 share per this many seconds
|
"minDiff": 16,
|
||||||
"retargetTime": 90, //Check to see if we should retarget every this many seconds
|
"maxDiff": 512,
|
||||||
"variancePercent": 30 //Allow time to very this % from target without retargeting
|
"targetTime": 15,
|
||||||
|
"retargetTime": 90,
|
||||||
|
"variancePercent": 30
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scrypt-n": {
|
"switch3": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"port": "5555"
|
"algorithm": "x11",
|
||||||
|
"ports": {
|
||||||
|
"5555": {
|
||||||
|
"diff": 0.001
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"profitSwitch": {
|
||||||
|
"enabled": false,
|
||||||
|
"updateInterval": 600,
|
||||||
|
"depth": 0.90,
|
||||||
|
"usePoloniex": true,
|
||||||
|
"useCryptsy": true,
|
||||||
|
"useMintpal": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
````
|
````
|
||||||
|
|
Loading…
Reference in New Issue