getLast(); $aShares = $statistics->getRoundShares(); echo json_encode( array( 'pool_name' => $config['website']['name'], 'hashrate' => $statistics->getCurrentHashrate(), 'workers' => $worker->getCountAllActiveWorkers(), 'shares_this_round' => $aShares['valid'], 'last_block' => $aLastBlock['height'], 'network_hashrate' => '0' ) ); // Supress master template $supress_master = 1; ?>