Add block height to data emitted on pool share
This commit is contained in:
parent
79c1a95b59
commit
57f8dc3ffa
@ -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
|
||||
|
||||
@ -245,6 +245,7 @@ var JobManager = module.exports = function JobManager(options){
|
||||
ip: ipAddress,
|
||||
worker: workerName,
|
||||
difficulty: difficulty,
|
||||
height: job.rpcData.height,
|
||||
solution: blockHash
|
||||
}, blockHex);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user