From 33560ec19df2acdb1f6f4bfbd40148e46ae43cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Uslu?= Date: Wed, 30 Apr 2014 16:34:10 +0300 Subject: [PATCH 1/2] added scrypt-n coin-algo class for sake of completeness --- public/include/classes/coins/coin_scryptn.class.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 public/include/classes/coins/coin_scryptn.class.php diff --git a/public/include/classes/coins/coin_scryptn.class.php b/public/include/classes/coins/coin_scryptn.class.php new file mode 100644 index 00000000..bf829ab1 --- /dev/null +++ b/public/include/classes/coins/coin_scryptn.class.php @@ -0,0 +1,13 @@ + From 0246fb33ea94604e54ae5f3586473869f1c881aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20Uslu?= Date: Wed, 30 Apr 2014 16:49:08 +0300 Subject: [PATCH 2/2] Updated the coin_scryptn.class.php comment. --- public/include/classes/coins/coin_scryptn.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/include/classes/coins/coin_scryptn.class.php b/public/include/classes/coins/coin_scryptn.class.php index bf829ab1..db588f61 100644 --- a/public/include/classes/coins/coin_scryptn.class.php +++ b/public/include/classes/coins/coin_scryptn.class.php @@ -5,6 +5,9 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; * We extend our CoinBase class * No need to change anything, base class supports * scrypt and sha256d + * + * Note: This is exactly the same as Scrypt, but it's + * here to let MPOS api report the correct coin algorithm. **/ class Coin extends CoinBase { protected $target_bits = 16;