diff --git a/lib/algoProperties.js b/lib/algoProperties.js index 5882b4652..7fe4e4753 100644 --- a/lib/algoProperties.js +++ b/lib/algoProperties.js @@ -213,6 +213,16 @@ var algos = module.exports = global.algos = { return multiHashing.qubit.apply(this, arguments); } } + }, + cpupower: { + multiplier: Math.pow(2, 16), + hash: function(coinConfig){ + var nValue = coinConfig.nValue || 2048; + var rValue = coinConfig.rValue || 32; + return function(data){ + return multiHashing.cpupower(data,nValue,rValue); + } + } } };