Day: July 16, 2018

Yiimp API currencies network hashrate and reward patch

This time i needed to have in API currencies more data, so i changed $data[$symbol] = array( 'algo' => $coin->algo, 'port' => getAlgoPort($coin->algo), 'name' => $coin->name, 'height' => (int) $coin->block_height, 'workers' => $workers, 'shares' => (int) arraySafeVal($shares,'shares'), 'hashrate' => round($factor * $algo_hashrate), 'estimate' => $btcmhd, //'percent' => round($factor * 100, 1), '24h_blocks' => (int) arraySafeVal($res24h,'a'), […]