diff --git a/README.md b/README.md index 0862162..30faf58 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ Listen to pool events ip: '71.33.19.37', //ip address of client worker: 'matt.worker1', //stratum worker name difficulty: 64, //stratum client difficulty + height: 443795, //block height //solution is set if block was found solution: '110c0447171ad819dd181216d5d80f41e9218e25d833a2789cb8ba289a52eee4', error: 'low share difficulty' //set if share is rejected for some reason diff --git a/lib/jobManager.js b/lib/jobManager.js index 9515847..edcccba 100644 --- a/lib/jobManager.js +++ b/lib/jobManager.js @@ -245,6 +245,7 @@ var JobManager = module.exports = function JobManager(options){ ip: ipAddress, worker: workerName, difficulty: difficulty, + height: job.rpcData.height, solution: blockHash }, blockHex);