Skip to content

Commit

Permalink
improved jobtemplate standards
Browse files Browse the repository at this point in the history
  • Loading branch information
LPHuynh committed Feb 20, 2019
1 parent 295521f commit 07b3736
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,10 @@ Miner.prototype = {
this.cachedJob = {
pre_pow: blob,
height: newJob.height,
algo: "cuckaroo",
edgebits: 29,
proofsize: 32,
noncebytes: 4,
job_id: newJob.id,
difficulty: difftarget,
id: this.id
Expand Down Expand Up @@ -673,7 +677,12 @@ function handleMinerMethod(method, params, ip, portData, sendReply, pushMessage,
id: minerId,
pre_pow:job.pre_pow,
height: job.height,
job_id:minerId,
algo: "cuckaroo",
edgebits: 29,
proofsize: 32,
noncebytes: 4,
height: job.height,
job_id:job.job_id,
difficulty: job.difficulty,
status: 'OK'
},'getjobtemplate');
Expand Down

0 comments on commit 07b3736

Please sign in to comment.