Skip to content

Commit ed1bbb5

Browse files
committed
Merge pull request #2158 from raistlinthewiz/development
added scrypt-n coin-algo class for sake of completeness
2 parents bdee180 + 0246fb3 commit ed1bbb5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
3+
4+
/**
5+
* We extend our CoinBase class
6+
* No need to change anything, base class supports
7+
* scrypt and sha256d
8+
*
9+
* Note: This is exactly the same as Scrypt, but it's
10+
* here to let MPOS api report the correct coin algorithm.
11+
**/
12+
class Coin extends CoinBase {
13+
protected $target_bits = 16;
14+
}
15+
16+
?>

0 commit comments

Comments
 (0)