From 858621bb0c18a55d87ee61e5cc2aad28eda0b84b Mon Sep 17 00:00:00 2001 From: Ario Date: Sun, 15 Sep 2019 00:53:25 +0200 Subject: [PATCH] stats off --- include/block.inc.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/block.inc.php b/include/block.inc.php index bd04714..c7e45bd 100755 --- a/include/block.inc.php +++ b/include/block.inc.php @@ -298,7 +298,7 @@ class Block * * * */ - +/* $res = $db->run( "SELECT 1 FROM networkstats" ); @@ -324,6 +324,14 @@ class Block while ($i < ($rewardR) ) { $denominator = $denomine * $i; + + print_r($i); + + if ($i > 216) { + //inak + print_r('216' . $i ); + } + $rewardD = $rewardD + (($startline - $denominator) * 10800); @@ -339,6 +347,10 @@ class Block if ($reward < 1) {$reward = 1000;} + if ($height > 216000) { + + } + $data = $json['data']; $bind = [ @@ -357,7 +369,7 @@ class Block $bind ); } - +*/ return true; }