php-mpos/include/classes/coins/coin_sha256d.class.php
Sebastian Grewe a7a731dcf1 [UPDATE] Working coin precision system
* [ADDED] New option to coin class to change coin value precision
* [UPDATE] SQL Transactions table from double to decimal(50,30)
* [REMOVED] Admin setting for coin value precision
* [UPDATE] JS files to honor coin precision
2014-07-19 09:10:21 +02:00

15 lines
298 B
PHP

<?php
$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
**/
class Coin extends CoinBase {
protected $target_bits = 32;
protected $coin_value_precision = 20;
}
?>