Merge pull request #87 from chrisfranko/patch-1

Updated to add Scypt-og
This commit is contained in:
Matthew Little 2014-08-04 13:24:10 -06:00
commit d3e2e00b58

View File

@ -26,6 +26,19 @@ var algos = module.exports = global.algos = {
}
}
},
'scrypt-og': {
//Aiden settings
//Uncomment diff if you want to use hardcoded truncated diff
//diff: '0000ffff00000000000000000000000000000000000000000000000000000000',
multiplier: Math.pow(2, 16),
hash: function(coinConfig){
var nValue = coinConfig.nValue || 64;
var rValue = coinConfig.rValue || 1;
return function(data){
return multiHashing.scrypt(data,nValue,rValue);
}
}
},
'scrypt-jane': {
multiplier: Math.pow(2, 16),
hash: function(coinConfig){