mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Update for diff cycling.
This commit is contained in:
@@ -491,6 +491,10 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
|
||||
};
|
||||
} else {
|
||||
let blob = activeBlockTemplate.nextBlobWithChildNonce();
|
||||
if (this.newDiff) {
|
||||
this.difficulty = this.newDiff;
|
||||
this.newDiff = null;
|
||||
}
|
||||
this.lastBlockHeight = activeBlockTemplate.height;
|
||||
|
||||
let newJob = {
|
||||
|
||||
Reference in New Issue
Block a user