Browse Source

update readme and config.json for the 1.4.8

2upstream 1.4.8-tpruvot
Tanguy Pruvot 10 years ago
parent
commit
1118d6c3db
  1. 1
      README.txt
  2. 1
      api.c
  3. 5
      example-cfg.json

1
README.txt

@ -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

@ -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;
} }
} }

5
example-cfg.json

@ -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",

Loading…
Cancel
Save