From ec01e5e05a05cd8f07de7cd2768d75164ee6b99f Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Wed, 12 Jul 2017 18:37:03 -0700 Subject: [PATCH] Set 5 second share target for the proxies. --- lib/pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pool.js b/lib/pool.js index bb1789a..cb46570 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -396,7 +396,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer if (this.hashes > 0) { let newDiff = 0; if (this.proxy) { - newDiff = Math.floor(Math.floor(this.hashes / (Math.floor((Date.now() - this.connectTime) / 1000)))); + newDiff = Math.floor(Math.floor(this.hashes / (Math.floor((Date.now() - this.connectTime) / 1000)))* 5); } else { newDiff = Math.floor(this.hashes / (Math.floor((Date.now() - this.connectTime) / 1000))) * global.config.pool.targetTime; }