From 3c3f347c889abbc11c1ebc77994a8e18fa30adef Mon Sep 17 00:00:00 2001 From: Alexander Blair Date: Tue, 4 Jul 2017 13:55:24 -0700 Subject: [PATCH] Update to make it so proxies aim for 1 second share times, rather than 3. --- lib/pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pool.js b/lib/pool.js index 6002a2b..212bbdf 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))) * global.config.pool.targetTime/10); + newDiff = Math.floor(Math.floor(this.hashes / (Math.floor((Date.now() - this.connectTime) / 1000)))); } else { newDiff = Math.floor(this.hashes / (Math.floor((Date.now() - this.connectTime) / 1000))) * global.config.pool.targetTime; }