From 1118d6c3dbbb1d6b5a153ea380c943d7b31f9d87 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Wed, 12 Nov 2014 17:46:02 +0100 Subject: [PATCH] update readme and config.json for the 1.4.8 --- README.txt | 1 + api.c | 1 - example-cfg.json | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index ac695fe..416fb5c 100644 --- a/README.txt +++ b/README.txt @@ -157,6 +157,7 @@ features. Nov. 12th 2014 v1.4.8 Add a basic API and sample php json wrapper + Add statsavg (def 20) and api-bind parameters Fix displayed hashrate for multi gpus systems Nov. 11th 2014 v1.4.7 diff --git a/api.c b/api.c index 45355fc..8d65616 100644 --- a/api.c +++ b/api.c @@ -314,7 +314,6 @@ static bool check_connect(struct sockaddr_in *cli, char **connectaddr, char *gro if ((client_ip & ipaccess[i].mask) == ipaccess[i].ip) { addrok = true; *group = ipaccess[i].group; - applog(LOG_BLUE, "ip accepted %x", ipaccess[i].ip); break; } } diff --git a/example-cfg.json b/example-cfg.json index f6f848a..10971ed 100644 --- a/example-cfg.json +++ b/example-cfg.json @@ -5,7 +5,12 @@ "intensity": 19, "diff": 0.5, + "api-bind": "0.0.0.0:4068", + "statsavg": 20, + "quiet" : false, + "debug" : false, + "protocol": false, "url" : "stratum+tcp://www.hashharder.com:9585", "user" : "NaEcVrdzoCWHUYXb7X8QoafoKS9UV69Yk4",