mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-02 11:54:01 +01:00
Merge pull request #49 from Didrole/wolf-xmr-miner-support
Generate smaller job ids.
This commit is contained in:
+1
-1
@@ -445,7 +445,7 @@ function Miner(id, login, pass, ipAddress, startingDiff, messageSender, protoVer
|
|||||||
|
|
||||||
|
|
||||||
let newJob = {
|
let newJob = {
|
||||||
id: uuidV4(),
|
id: crypto.pseudoRandomBytes(21).toString('base64'),
|
||||||
extraNonce: activeBlockTemplate.extraNonce,
|
extraNonce: activeBlockTemplate.extraNonce,
|
||||||
height: activeBlockTemplate.height,
|
height: activeBlockTemplate.height,
|
||||||
difficulty: this.difficulty,
|
difficulty: this.difficulty,
|
||||||
|
|||||||
Reference in New Issue
Block a user