Updated to add Scypt-og
For aidencoin
This commit is contained in:
parent
d2354063ac
commit
d7802bcbd3
@ -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': {
|
'scrypt-jane': {
|
||||||
multiplier: Math.pow(2, 16),
|
multiplier: Math.pow(2, 16),
|
||||||
hash: function(coinConfig){
|
hash: function(coinConfig){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user