1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

Merge pull request #358 from kanoi/api

api use a dynamic io buffer, truncated before it reaches the current ~64...
This commit is contained in:
Con Kolivas 2012-12-10 23:18:57 -08:00
commit d3aed9fe90
2 changed files with 528 additions and 405 deletions

View File

@ -386,7 +386,17 @@ miner.php - an example web page to access the API
Feature Changelog for external applications using the API:
API V1.21
API V1.22
Enforced output limitation:
all extra records beyond the output limit of the API (~64k) are ignored
and chopped off at the record boundary before the limit is reached
however, JSON brackets will be correctly closed and the JSON id will be
set to 0 (instead of 1) if any data was truncated
----------
API V1.21 (cgminer v2.10.0)
Added API commands:
'usbstats'

921
api.c

File diff suppressed because it is too large Load Diff