* [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
15 lines
298 B
PHP
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;
|
|
}
|
|
|
|
?>
|