|
|
@ -578,6 +578,7 @@ function recordShareData(miner, job, shareDiff, blockCandidate, hashHex, shareTy
|
|
|
|
global.database.storeBlock(job.height, global.protos.Block.encode({
|
|
|
|
global.database.storeBlock(job.height, global.protos.Block.encode({
|
|
|
|
hash: hashHex,
|
|
|
|
hash: hashHex,
|
|
|
|
difficulty: blockTemplate.difficulty,
|
|
|
|
difficulty: blockTemplate.difficulty,
|
|
|
|
|
|
|
|
unlockHeight: blockTemplate.unlockHeight,
|
|
|
|
shares: 0,
|
|
|
|
shares: 0,
|
|
|
|
timestamp: Date.now(),
|
|
|
|
timestamp: Date.now(),
|
|
|
|
poolType: miner.poolTypeEnum,
|
|
|
|
poolType: miner.poolTypeEnum,
|
|
|
|