Kano
ae837a762f
API allow multiple commands/replies in one request
11 years ago
Con Kolivas
90cc93c6cc
Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
11 years ago
Con Kolivas
c31de2601b
Store when the last getwork was retrieved and display it in the API summary.
11 years ago
ckolivas
a58ef1b8c7
Provide a helper function for determining dev runtime and use it in the hashmeters used.
11 years ago
Kano
faf63ec036
Modify thread naming to make them easier to identify
11 years ago
Kano
301daae6f4
api.c 2014
11 years ago
Kano
b6c6ec5c83
api add data type AVG float 3 decimal
11 years ago
Kano
83ea44af5d
api.c set the actual version number to 3.0
...
Conflicts resolved:
api.c
11 years ago
Kano
83176cb52a
API V3.0 unlimited socket reply size
11 years ago
Noel Maersk
4e08eb41ef
api: bump API version number to indicate changes that happened after 4.0.0.
11 years ago
Markus Peloquin
bf8e37ce19
Support building in cygwin.
...
Revised the compiler platform macros. Building goes like
$ AMDAPPSDKROOT= CPPFLAGS=-I/usr/include/ncurses ./configure
11 years ago
Noel Maersk
0e8ec8d060
pools: Allow disabling pool even if it's the last one enabled.
...
Pool state machine is incomplete, and enabled_pools is not increased if
pool state is not explicitly set to "enabled" in config. However,
there is no reason why the user should not be allowed to disable
all pools.
enabled_pools is a bookkeeping variable, and bookkeeping is cumbersome.
Rather than trying to fix this regression, get rid of another place
where enabled_pools is used.
Closes https://github.com/veox/sgminer/issues/75
11 years ago
Perry Huang
8bd980dbbd
Add API_KHS endpoint.
...
Fix multiplying before double cast.
Add endpoint to response.
Fix API response function.
Fix var name.
Add KHS to API summary.
11 years ago
Noel Maersk
048c82b9b2
pools: rename 'pool->enabled' to 'pool->state'.
11 years ago
Wolf
39b9945c11
Changed API reporting of MH/s for added precision.
11 years ago
Noel Maersk
50066cf3c7
misc: Replace all remaining instances of 'cgminer' with 'sgminer'.
...
sed again.
11 years ago
Noel Maersk
5b977125fa
misc: Replace many (but not all) instances of 'cgminer' with 'sgminer'.
...
Just ran a `sed -i 's/cgminer/sgminer/'` on several files.
11 years ago
Kano
65518d3712
api.c no decref if not json
11 years ago
Tim Bateman
0a187bdd41
Fixed one byte stack overflow in mcast recvfrom.
...
The actual overflow happens when enforcing the NULL termination shortly
after the recvfrom.
11 years ago
Con Kolivas
65d9136dd5
Fix json parsing in api.c
11 years ago
Con Kolivas
39b7bc26cb
Silence irrelevant warning.
11 years ago
Con Kolivas
ebeb710375
Decrement json references in api.c to not leak memory.
...
The json_val in api.c is a borrowed reference, not a new one so don't decref it.
11 years ago
Kano
89000ffb1a
api.c trylock() add missing locklock
11 years ago
Maksym Borodin
d976abe12d
api.c: Release apisock on error in api()
11 years ago
Maksym Borodin
7383e19a9d
api.c: Release io_data->ptr when releasing io_data in io_free()
11 years ago
Noel Maersk
83e52dfe78
api: remove references to FPGAs and ASICs.
11 years ago
Noel Maersk
199cb10e18
HAVE_OPENCL is mandatory, remove checks form code an build system.
11 years ago
Noel Maersk
323af83fdb
Remove define-clauses for USE_SCRYPT.
11 years ago
Noel Maersk
95586f72f0
Squash-merge branch dead-end with unnecessary check removals.
11 years ago
Con Kolivas
c3854378e1
Display works completed in summary and API data.
11 years ago
Con Kolivas
448b1fae64
Rationalise use of current_hash to a single hex string the length of the previous block and display only the first non zero hex chars of the block in the status window.
11 years ago
Con Kolivas
25d4f16727
Add the ability to add uint8 and uint16 entities to api data.
11 years ago
Con Kolivas
6bcd60a931
Add KNC to api
11 years ago
Kano
d9449b2578
api ... the code related to device elapsed
11 years ago
Kano
514b3c424f
API add 'MHS %ds' to 'summary'
11 years ago
Kano
d3d3fc1316
Optional lock tracking and stats via the API
11 years ago
Kano
55e233d52c
API add 'MHS %ds' to 'summary'
11 years ago
Kano
c2073f0944
Optional lock tracking and stats via the API
11 years ago
Kano
da7223f1b4
api incorrect message name
11 years ago
Con Kolivas
b537976036
Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
11 years ago
Con Kolivas
d34279b226
Remove unused variables.
11 years ago
ckolivas
6cd7f0f1be
Remove unmaintained broken ztex driver.
11 years ago
Kano
e11b6d7d55
api.c missing Klondike from ASIC list
11 years ago
Con Kolivas
998182fc35
Add API output displaying USB cancellations.
11 years ago
Con Kolivas
023ca6a11d
Remove devlock lock contention statistics since transfers are all done under read lock now.
11 years ago
ckolivas
052e434846
Remove unmaintained broken ztex driver.
11 years ago
Kano
521ee0a97f
api.c missing Klondike from ASIC list
11 years ago
Con Kolivas
e40b1c176d
Add API output displaying USB cancellations.
11 years ago
Con Kolivas
064c0ddf15
Display stats regarding locking delays in API.
11 years ago
Con Kolivas
5b27981341
Display stats regarding locking delays in API.
11 years ago