Skip to content

Commit

Permalink
Changed cn/4 to cn/r
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Feb 22, 2019
1 parent a2927e7 commit b90bcbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Options:
--port=<number>: defines port that will be used for miner connections (3333 by default)
--user=<wallet> (-u): <wallet> to use as pool user login (will be taken from the first miner otherwise)
--pass=<miner_id>: <miner_id> to use as pool pass login (will be taken from the first miner otherwise)
--perf_<algo_class>=<hashrate> Sets hashrate for perf <algo_class> that is: cn/2, cn/4, cn, cn/half, cn/gpu, cn/wow, cn-pico, cn-lite, cn-heavy
--perf_<algo_class>=<hashrate> Sets hashrate for perf <algo_class> that is: cn/2, cn/r, cn, cn/half, cn/gpu, cn/wow, cn-pico, cn-lite, cn-heavy
--algo_min_time=<seconds> Sets <seconds> minimum time pool should keep our miner on one algo (0 default, set higher for starting miners)
--miner=<command_line> (-m): <command_line> to start smart miner that can report algo itself
--<algo>=<command_line>: <command_line> to start miner for <algo> that can not report it itself
Expand All @@ -42,7 +42,7 @@ Check https://github.com/xmrig/xmrig-proxy/blob/master/doc/STRATUM_EXT.md#14-alg
"gulf.moneroocean.stream:10001"
],
"algos": {
"cn/4": "./xmrig --config=config.json",
"cn/r": "./xmrig --config=config.json",
"cn/0": "./xmrig --config=config.json",
"cn/1": "./xmrig --config=config.json",
"cn/2": "./xmrig --config=config.json",
Expand All @@ -61,7 +61,7 @@ Check https://github.com/xmrig/xmrig-proxy/blob/master/doc/STRATUM_EXT.md#14-alg
"cn-pico/trtl": "./xmrig --config=config-pico.json"
},
"algo_perf": {
"cn/4": 34,
"cn/r": 34,
"cn/2": 37.4,
"cn": 36.3,
"cn/half": 73.5,
Expand Down
6 changes: 3 additions & 3 deletions mm.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const hashrate_regexes = [

// basic algo for each algo class that is used for performance measurements
const algo_perf_algo = {
"cn/4": "cn/4",
"cn/r": "cn/r",
"cn/2": "cn/2",
"cn": "cn/1",
"cn/half": "cn/half",
Expand All @@ -67,7 +67,7 @@ function algo_perf_class(algo) { // converts algo to algo class
if (algo.indexOf("wow") > -1) return "cn/wow";
if (algo.indexOf("pico") > -1) return "cn-pico";
if (algo.indexOf("cn/2") > -1) return "cn/2";
if (algo.indexOf("cn/4") > -1) return "cn/4";
if (algo.indexOf("cn/r") > -1) return "cn/r";
return "cn";
}

Expand All @@ -83,7 +83,7 @@ let c = {
pools: [],
algos: {},
algo_perf: {
"cn/4": 0,
"cn/r": 0,
"cn/2": 0,
"cn": 0,
"cn/half": 0,
Expand Down

0 comments on commit b90bcbd

Please sign in to comment.