Set 5 second share target for the proxies.
This commit is contained in:
parent
a807706a0e
commit
ec01e5e05a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue