From d7802bcbd3b5fedfc0ddc7b810cbfa3197e92fd3 Mon Sep 17 00:00:00 2001 From: Christopher Franko Date: Sat, 21 Jun 2014 14:32:32 -0400 Subject: [PATCH] Updated to add Scypt-og For aidencoin --- lib/algoProperties.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/algoProperties.js b/lib/algoProperties.js index a1b84e0..f08e2f8 100644 --- a/lib/algoProperties.js +++ b/lib/algoProperties.js @@ -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){