From c7008f3f6cc4b2e9a7bcdd1f726cf4f944de2a3f Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 15 Nov 2014 03:12:51 +0100 Subject: [PATCH] update readme for final 1.4.9 (fix) A dev version was released on http://cryptomining-blog.com/ Please update, the previous one has some bugs when using multiple gpus and the API format has changed! --- README.txt | 20 +++++++++++--------- api/local-sample.php | 6 ++++-- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/README.txt b/README.txt index 6add69a..9e6ac35 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -ccMiner release 1.4.9-tpruvot (Nov 2014) - "GPU Monitoring" +ccMiner release 1.4.9-tpruvot (15 Nov 2014) - "GPU Monitoring" --------------------------------------------------------------- *************************************************************** @@ -155,17 +155,19 @@ features. >>> RELEASE HISTORY <<< - Nov. 13th 2014 v1.4.9 - Support of nvml and nvapi to monitor gpus - api: Fix multi gpus stats, bump API v1.1 + Nov. 15th 2014 v1.4.9 + Support of nvml and nvapi(windows) to monitor gpus + Fix (again) displayed hashrate for multi gpus systems + Average is now made by card (30 scans of the card) + Final API v1.1 (new fields + histo command) + Add support of telnet queries "telnet 127.0.0.1 4068" + add histo api command to get performance debug details + Add a rig sample php ui using json wrapper (php) + Restore quark/jackpot previous speed (differently) Nov. 12th 2014 v1.4.8 - Add a basic API and sample php json wrapper + ui - Add Nvidia monitoring (nvapi/nvml) support + Add a basic API and a sample php json wrapper Add statsavg (def 20) and api-bind parameters - Add support of telnet queries to the api - Fix displayed hashrate for multi gpus systems - Restore quark/jackpot previous speed (differently) Nov. 11th 2014 v1.4.7 Average hashrate (based on the 20 last scans) diff --git a/api/local-sample.php b/api/local-sample.php index 62b71a8..f81e691 100644 --- a/api/local-sample.php +++ b/api/local-sample.php @@ -109,11 +109,13 @@ function request($cmd) } ob_start(); + $summary = request('summary'); $threads = request('threads'); -$histo = request('histo'); +$histo = array();//request('histo'); /* only enable it if required... */ + ob_end_clean(); -//echo ob_get_clean()."\n"; +//echo ob_get_clean()."\n"; /* allow to print protocol debug message */ header("Content-Type: application/json"); echo json_encode(compact('summary', 'threads', 'histo'))."\n";