From d262f87bad77966a026ec62a192346c927ba898d Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Fri, 20 May 2016 21:32:27 +0200 Subject: [PATCH] stratum/stats: handle the benchmark miner user and update benchmarks instructions --- stratum/client.cpp | 3 --- web/yaamp/modules/site/benchmarks.php | 23 +++++++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/stratum/client.cpp b/stratum/client.cpp index 1b8d0df..9460a05 100644 --- a/stratum/client.cpp +++ b/stratum/client.cpp @@ -308,10 +308,7 @@ bool client_ask_stats(YAAMP_CLIENT *client) { int id; if (!client->stats) return false; - if (!strstr(client->password, "stats")) return false; - id = client_ask(client, "client.get_stats", "[]"); - //id = client_ask(client, "client.get_version", "[\"stats\"]"); return true; } diff --git a/web/yaamp/modules/site/benchmarks.php b/web/yaamp/modules/site/benchmarks.php index aa4c25c..35e97ad 100644 --- a/web/yaamp/modules/site/benchmarks.php +++ b/web/yaamp/modules/site/benchmarks.php @@ -10,19 +10,26 @@ -o stratum+tcp://:<PORT> -a <algo> -u <wallet_adress> -p stats -

You can download the compatible version of ccminer here :

- - -

With this option enabled, the stratum will ask for device stats each 50 shares (for 4 times max).

-You can combine this miner option with other ones, like the pool difficulty with a comma. +You can combine this miner option with other ones, like the pool difficulty with a comma.
+
+You can also use the generic username 'benchmark' if you don't have a valid address,
+but in this case you will mine without reward (like a donator).

+

+Please note only the first device stats will be submitted on multi gpus systems.
+If you want to monitor a different card with ccminer, use the --device parameter, like -d 1 +

+ +

You can download compatible versions of ccminer here :

+ +