api.c


Log

Author Commit Date CI Message
Luke Dashjr a8547790 2012-07-12T17:05:25 rpc: Use a single switch statement for both stringifications of cgpu->status
Con Kolivas 0ed757a0 2012-07-12T16:05:17 Use switch statement for cgpu->status and fix spelling.
Con Kolivas 96f3a988 2012-07-11T23:00:35 Merge pull request #264 from luke-jr/life_init Bugfix: Don't declare devices SICK if they're just busy initializing
Luke Dashjr c57c308d 2012-07-11T20:29:06 Bugfix: Don't declare devices SICK if they're just busy initializing This mainly applies to ModMiner since it takes 4-5 minutes to upload the bitstream
Zefir Kurtisi 7502af26 2012-07-08T16:25:39 fix API support for big endian machines Previously the allowed IP addresses were stored in little endian representation and caused mismatch when run on big endian machines. Allowed IPs and netmasks are now kept in network byte order and converted to little endian for matching connecting client IP with allowed ones.
Kano ff0afb94 2012-07-03T13:14:30 Add API Notify counter 'Comms Error'
Con Kolivas 8b050083 2012-07-03T11:32:42 Style police on api.c
Kano c8535133 2012-07-01T15:29:41 api.c put version up to 1.14
Kano 06f5f35a 2012-07-01T00:42:34 api.c allow NULL data displayed as (null)
Kano eab9debc 2012-06-30T23:41:22 api.c data structure - all testing attempted successful
Kano d8abfb71 2012-06-30T15:58:31 api.c data structure - tested + updated get_api_stats/driver-icarus.c
Kano 538653a5 2012-06-30T12:44:57 api.c data structure - 2nd - untested
Kano 21e4cd85 2012-06-30T02:49:01 api.c data structure rather than raw sprintf - 1st test
Kano b63a374d 2012-06-28T11:59:11 api.c ensure old mode is always available when not using --api-groups + quit() on param errors
Kano 05b8f5b0 2012-06-28T05:59:31 api.c fix json already closed
Kano 659e5043 2012-06-28T02:29:58 implement and document API option --api-groups
Kano e4f9cc4e 2012-06-27T21:21:54 api.c allow unwell devices to be enabled so they can be cured
Con Kolivas c027492f 2012-06-25T17:06:26 Make the pools array a dynamically allocated array to allow unlimited pools to be added.
Kano 195d915a 2012-06-24T16:31:11 api.c display Pool Av in json
Con Kolivas f32ffb87 2012-06-24T13:20:17 Work out a rolling average getwork delay stored in pool_stats.
Paul Sheppard 7ae22e21 2012-06-16T20:24:40 Disable OpenCL code when not available.
Con Kolivas 30bb3c62 2012-06-14T02:38:24 Merge pull request #224 from kanoi/master API add ModMinerQuad support
drizztbsd 7dcd9f3e 2012-06-13T20:31:03 Fix typo in some API messages (succeess/success)
Kano 836b76a0 2012-06-14T03:14:02 api.c MMQ stat bugs
Kano 913221c3 2012-06-14T02:57:37 API add ModMinerQuad support
Paul Sheppard 2384d0fb 2012-06-12T18:20:18 Removed idle mode... again!? Changed work_reset rate to every 100ms & use defines rather than numerics. Change total sleep time to 4300ms after performance testing/measurement (now good to 916MH/s). Changed timeout to 15s - Throttle time is 15s. Added support for 'Busy' when submitting work. Improved logging text to include device identifier. Added a thread_enable api function, called when a thread is re-enabled. ... and removed useless re-init inside scanhash. Use modminer introduced mutex.
Paul Sheppard bf4d6c34 2012-06-11T13:36:35 Merge branch 'master' of https://github.com/ckolivas/cgminer.git
Paul Sheppard 4889d7ec 2012-06-11T13:09:27 Merge branch 'master' of git@github.com:pshep/cgminer.git Conflicts: driver-bitforce.c
Paul Sheppard 3347f806 2012-06-10T23:14:51 Merge branch 'master' of git://github.com/ckolivas/cgminer.git
Paul Sheppard 820d662c 2012-06-10T23:11:59 Removed idle mode. Added watchdog thread BFL temperature monitoring.
Paul Sheppard ebeaf15f 2012-06-09T19:30:32 Added idle mode Idle is only set by pgadisable, so GPU/CPU is unaffected. For Icarus/Ztex, in scanhash the thread is immediately set disabled then returns.
Kano fdcd72b9 2012-06-10T11:19:21 API add stats for pool getworks
Con Kolivas 71378a4b 2012-06-01T22:12:08 Merge pull request #209 from kanoi/977aecc4a60928d05719e3b0b534335b1f82effa API save default config file if none specified
Kano 977aecc4 2012-05-31T23:30:38 API update version to V1.11 and document changes
Kano 3cb3f09a 2012-05-31T23:18:55 API save default config file if none specified
Kano fd9285eb 2012-05-31T22:46:43 api.c save success incorrectly returns error
Kano a0936815 2012-05-31T22:41:04 api.c replace BUFSIZ (linux/windows have different values)
Paul Sheppard cebd647f 2012-05-22T08:10:00 Messing with BFL code
Con Kolivas 84f3bf99 2012-05-06T15:49:40 Use correct pool enabled enums in api.c.
Kano 00158c3a 2012-05-05T16:25:19 API 'stats' allow devices to add their own stats also for testing/debug
Kano 976e27c4 2012-05-05T15:04:15 API add getwork stats to cgminer - accesable from API 'stats'
Kano a8619ad6 2012-05-04T20:54:11 API support new pool status
Kano 44fc6987 2012-05-04T00:13:42 API add last share time to each pool
Kano afa3fa56 2012-05-02T22:22:09 API bool's and 1TBS fixes
Kano 524e2fb8 2012-05-02T16:11:11 api.c V1.9 add 'restart' + redesign 'quit' so thread exits cleanly
Kano 01c93bc1 2012-05-02T12:23:32 api.c bug - remove extra ']'s in notify command
Con Kolivas d5d8c2cc 2012-05-03T10:35:30 Implement an older header fix for a label existing before the pthread_cleanup macro.
Con Kolivas 06bf44b0 2012-04-28T13:41:18 Restarting cgminer leads to a socket that can't be bound for 60 seconds, so increase the interval that API binding waits to 30 seconds to minimise the number of times it will retry, spamming the logs.
Kano b249d72e 2012-04-26T01:45:04 api.c include zTex in the FPGA support list
Kano 9febdb5a 2012-04-26T00:35:15 api.c ensure 'devs' shows PGA's when only PGA code is compiled
Kano c4567ee6 2012-04-26T00:08:36 api.c combine all pairs of sprintfs()
Kano 87a5f0d8 2012-04-25T22:39:22 api.c uncomment and use BLANK (and COMMA)
Kano 6962514e 2012-04-25T19:23:10 api.c 'devdetails' list static details of devices
Kano 7e651269 2012-04-23T22:01:36 api.c fix unused variable compile warning
Con Kolivas 9b5615d5 2012-04-21T17:20:33 Shut down the api cleanly when the api thread is cancelled. This should allow the api socket to be closed successfully to next be reopened with app_restart.
Luke Dashjr b8778839 2012-04-21T02:36:19 Merge branch 'master' into unify_drivers Conflicts: cgminer.c
Kano 2e1d2017 2012-04-21T03:15:41 API add removepool like the screen interface
Kano eec7c1a9 2012-04-20T23:50:27 api.c escape required characters in return strings + pools returns the username
Kano 3fa3f60b 2012-03-30T00:03:29 api.c new commands: pgaenable pgadisable
Kano 0699061a 2012-03-28T10:50:28 api.c devicecode/osinfo incorrectly swapped for json
Kano 25f914a3 2012-03-24T23:20:48 api.c miner.php add a '*' to the front of all notify counters - simplifies future support of new counters
Kano 25ca0687 2012-03-23T10:00:23 api.c notify should report disabled devices also - of course
Kano 18a8b550 2012-03-23T03:17:20 API returns the simple device history with the 'notify' command
Kano 8747a472 2012-03-22T20:33:17 api.c Report an OS string in config to help with device issues
Kano 6be50fab 2012-03-22T19:50:15 api.c fix Log Interval - integer in JSON
Kano 6e35503e 2012-03-22T19:47:23 api.c config 'Device Code' to show list of compiled devices + README
Kano 3dee2763 2012-03-22T18:57:30 api.c increase buffer size close to current code allowable limit
Luke Dashjr e131dfab 2012-03-13T12:18:23 Unify drivers as driver-*.c and add driver name to API
Kano 1f118078 2012-03-04T14:51:11 api.c: correct error messages
Kano cb3323b7 2012-02-29T21:17:10 Add API support for Icarus and Bitforce
Kano c9b7a223 2012-02-27T12:58:35 Next API version is 1.4 (1.3 is current)
Kano b4c7c56f 2012-02-27T12:02:14 README/api.c add "When" the request was processed to STATUS
Kano 0abac0b5 2012-02-24T03:00:01 API implement addpool command
Kano 54ef2d95 2012-02-23T23:53:15 API return the untouched Total MH also (API now version 1.3)
Kano 60c5ac68 2012-02-23T16:10:17 API new commands enablepool and disablepool (version already incremented)
Con Kolivas d1cddf8b 2012-02-21T22:23:07 Update licensing to GPL V3.
Kano de40e6df 2012-02-21T20:04:00 Modify API debug messages to say API instead of DBG
Kano e3281c26 2012-02-21T20:03:13 When API shuts down cgminer don't kill itself
Kano dd233ec2 2012-02-21T11:08:29 API add 'privileged' command so can verify access level
Kano 60b7c01e 2012-02-20T20:10:21 API restrict access to all non display commands by default
Kano c25aead8 2012-02-20T19:15:22 Update API version to 1.2 for new 'Log Interval'
Kano 3bd16acf 2012-02-20T19:12:46 API add --log Interval to 'config' reply
Kano 3955fefe 2012-02-20T19:03:25 --api-allow special case 0/0 means all
Con Kolivas 02295c69 2012-02-19T20:19:47 Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal temperatures and --no-restart has not been set.
Con Kolivas 86a53824 2012-02-16T21:15:58 Delete unused variable.
Con Kolivas 18853748 2012-02-11T22:01:51 Merge pull request #112 from luke-jr/jansson_compat Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
Luke Dashjr fdadb0b5 2012-02-11T15:46:08 Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
zefir 713e8be6 2012-02-04T14:22:47 move CPU chipset specific optimization into device-cpu
Con Kolivas 405a2120 2012-02-11T20:11:18 Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog().
Con Kolivas 8c609579 2012-02-10T19:07:53 Merge pull request #107 from kanoi/master Allow API to restrict access by IP address + other commits
Con Kolivas b54d462c 2012-02-09T21:56:07 Missing include to build on newer mingw32.
Kano dab9b7e4 2012-02-08T19:55:29 Define in_addr_t in windows if required
Kano f19e67fe 2012-02-08T19:06:24 Allow API to restrict access by IP address
Kano 4a714cb1 2012-02-04T22:42:28 Bug intensity always shows GPU 0
Kano 1f0a8a69 2012-02-04T19:35:12 Display accepted share pool/time for CPUs
Kano 09694640 2012-02-04T19:24:48 Return last accepted share pool/time for devices
Kano 42fcbf7c 2012-02-04T18:19:30 Remove most compiler warnings from api.c
Con Kolivas 10b697f0 2012-01-30T23:56:54 Revert "Fix compile warnings in api.c" This reverts commit 8a90f1a756b60914afe61b2ea7362313026a9f1a. Breaks windows build.
Kano 8a90f1a7 2012-01-29T23:13:23 Fix compile warnings in api.c
Kano 63e31b4d 2012-01-26T14:00:52 Move intensity range values into miner.h