[MPOS] pass share difficulty to MySQL ++ (#602)
Additionally to the changes on master we are removing the MPOS difficulty multiplier here. MPOS has been updated (currently development branch) to handle low difficulties nicely.
This commit is contained in:
parent
67254f63ba
commit
e41cb8d8f4
@ -85,7 +85,7 @@ module.exports = function(logger, poolConfig){
|
||||
shareData.worker,
|
||||
isValidShare ? 'Y' : 'N',
|
||||
isValidBlock ? 'Y' : 'N',
|
||||
shareData.difficulty * (poolConfig.coin.mposDiffMultiplier || 1),
|
||||
shareData.shareDiff,
|
||||
typeof(shareData.error) === 'undefined' ? null : shareData.error,
|
||||
shareData.blockHash ? shareData.blockHash : (shareData.blockHashInvalid ? shareData.blockHashInvalid : '')
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user