update readme and config.json for the 1.4.8

This commit is contained in:
Tanguy Pruvot 2014-11-12 17:46:02 +01:00
parent 2e0bc5e133
commit 1118d6c3db
3 changed files with 6 additions and 1 deletions

View File

@ -157,6 +157,7 @@ features.
Nov. 12th 2014 v1.4.8 Nov. 12th 2014 v1.4.8
Add a basic API and sample php json wrapper Add a basic API and sample php json wrapper
Add statsavg (def 20) and api-bind parameters
Fix displayed hashrate for multi gpus systems Fix displayed hashrate for multi gpus systems
Nov. 11th 2014 v1.4.7 Nov. 11th 2014 v1.4.7

1
api.c
View File

@ -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) { if ((client_ip & ipaccess[i].mask) == ipaccess[i].ip) {
addrok = true; addrok = true;
*group = ipaccess[i].group; *group = ipaccess[i].group;
applog(LOG_BLUE, "ip accepted %x", ipaccess[i].ip);
break; break;
} }
} }

View File

@ -5,7 +5,12 @@
"intensity": 19, "intensity": 19,
"diff": 0.5, "diff": 0.5,
"api-bind": "0.0.0.0:4068",
"statsavg": 20,
"quiet" : false, "quiet" : false,
"debug" : false,
"protocol": false,
"url" : "stratum+tcp://www.hashharder.com:9585", "url" : "stratum+tcp://www.hashharder.com:9585",
"user" : "NaEcVrdzoCWHUYXb7X8QoafoKS9UV69Yk4", "user" : "NaEcVrdzoCWHUYXb7X8QoafoKS9UV69Yk4",