From b90bcbd46ac3dab92fd51ebf2777691851b1dac2 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Thu, 21 Feb 2019 20:03:24 -0800 Subject: [PATCH] Changed cn/4 to cn/r --- README.md | 6 +++--- mm.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c25d7ce..905c92b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Options: --port=: defines port that will be used for miner connections (3333 by default) --user= (-u): to use as pool user login (will be taken from the first miner otherwise) --pass=: to use as pool pass login (will be taken from the first miner otherwise) - --perf_= Sets hashrate for perf that is: cn/2, cn/4, cn, cn/half, cn/gpu, cn/wow, cn-pico, cn-lite, cn-heavy + --perf_= Sets hashrate for perf that is: cn/2, cn/r, cn, cn/half, cn/gpu, cn/wow, cn-pico, cn-lite, cn-heavy --algo_min_time= Sets minimum time pool should keep our miner on one algo (0 default, set higher for starting miners) --miner= (-m): to start smart miner that can report algo itself --=: to start miner for that can not report it itself @@ -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", @@ -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, diff --git a/mm.js b/mm.js index 08c1cc8..79409a1 100755 --- a/mm.js +++ b/mm.js @@ -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", @@ -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"; } @@ -83,7 +83,7 @@ let c = { pools: [], algos: {}, algo_perf: { - "cn/4": 0, + "cn/r": 0, "cn/2": 0, "cn": 0, "cn/half": 0,