api.c


Log

Author Commit Date CI Message
Con Kolivas f4b27907 2013-04-22T14:35:43 Remove all CPU mining code.
Con Kolivas 293b94c7 2013-04-07T01:39:20 Add API support for Avalon.
Con Kolivas fd87825b 2013-03-12T22:17:08 Convert the ch_lock to cg_lock.
Con Kolivas 0bbaaa97 2013-03-12T22:07:06 Convert the control_lock to a cg_lock.
Kano efb2403a 2013-03-08T15:07:41 API no longer ignore send() status
Kano 1eca0476 2013-03-08T11:54:41 API make the main socket non-static
Kano 0eafc8b9 2013-03-07T07:40:05 API add 'Network Difficulty' to 'coin'
Kano 540f3e89 2013-03-07T00:00:31 Setup BFLSC support
Kano 419083a7 2013-03-06T21:19:02 API use control_lock when switching pools
Kano 2f6660e8 2013-03-05T18:33:43 configure - set USE_USBUTILS when usbutils is required and use it in the code
Kano 120e9a07 2013-03-04T22:46:34 make rw locks: mining_thr_lock and devices_lock
Kano f8e7012d 2013-03-04T17:29:58 api.c fix MSG overlap
Kano be8cadbc 2013-03-04T17:26:11 Hotplug - allow setting interval via --hotplug or API
Kano 41f099ed 2013-03-03T19:53:34 API - return Last Valid Work
Kano c14f2ec6 2013-03-03T19:33:20 API V1.25 - add 'Last Valid Work' time for each device
Kano f56a0fb7 2013-03-01T16:57:22 API always report failed send() replies
Kano 6fb32f7b 2013-02-08T02:32:27 convert sleep(const) to nmsleep()
Kano bc575523 2013-02-08T02:12:09 call a separate get_devices() with locking, as required
Kano 983fe2b0 2013-02-02T09:51:47 usbutils hotplug v0.1
Con Kolivas 5d122cad 2013-02-03T23:41:41 Provide wrappers for grabbing of thr value under the mining_thr_lock.
Kano 7abf30b2 2013-02-03T22:51:05 distinguish between drv and it's id enum now called drv_id
Kano 61ec1fe9 2013-01-30T15:02:25 mutex all access to mining_thr
Kano 212f32e5 2013-01-29T23:44:09 Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later
Kano 7fbc3770 2013-01-22T21:46:21 USB move usbdev info that needs to stay around into usbinfo
Kano c1eae36f 2013-01-15T01:13:00 API stats - include pool network bytes + in miner.php
Kano 24525edb 2013-01-14T11:40:02 api.c update copyright year
Kano 34bcc1c6 2013-01-14T11:30:11 USB automatically handle losing the device and report nodev in the API
Kano 0b3d8c89 2013-01-10T11:08:12 API zero - zero statistics - all or bestshare - with optional on screen summary
Kano bd5f20eb 2013-01-08T16:30:51 api.c pgaenable not re-enabling the device - plus related debug
Kano a344deb6 2013-01-05T23:47:26 rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
Kano 1ce817d4 2013-01-03T21:48:22 Merge branch 'api'
Kano abaaf93c 2013-01-02T21:52:38 Correct API version to match docs
Kano 03f626e6 2013-01-02T21:51:09 Remember best share per pool and return in API pools
Kano 07db1ed6 2013-01-01T00:29:17 BFL USB api.c usbstats
Kano e931b727 2012-12-19T10:43:27 API V1.23 - new pgaset command, to be used soon
Kano 454bc4c3 2012-12-13T18:30:51 API show if pool has GBT (so people know not to use that pool)
Kano 800ea016 2012-12-13T01:09:03 API stats - display pool byte transfer stats
Kano a58933dc 2012-12-11T15:43:24 api use a dynamic io buffer, truncated before it reaches the current ~64k limit
Con Kolivas f3b96b8d 2012-12-10T10:51:40 Do not do any setup if opt_api_listen is disabled in api.c.
Kano e55fe73f 2012-12-03T23:08:11 API add Best Share to summary
Kano a67e96c3 2012-12-03T11:36:15 API lock access to some summary statistics (and copy them)
Kano 152e7e36 2012-12-02T21:48:37 mmq usb v0.4 + api usb stats
Kano 29484e84 2012-10-21T17:04:15 API - add Stratum information to pools
Con Kolivas 0a902071 2012-10-07T13:22:17 Merge branch 'master' into stratum
Con Kolivas c113534f 2012-10-04T15:35:28 Begin support for mingw stratum build. Conflicts: configure.ac
Kano 6d6692ce 2012-09-30T17:38:27 api.c DEBUG message has no paramter
Con Kolivas f6f43500 2012-09-27T09:06:56 Detect stratum in common place when adding urls, and use a bool to tell us when it's active.
Con Kolivas 144a0160 2012-09-24T16:50:04 Add data structures to pool struct for socket communications.
Con Kolivas b3cdd802 2012-09-24T16:27:47 Put all socket definitions in util.h to allow reusing by added socket functions to be used in util.c.
Kano 7c32562d 2012-09-24T11:34:50 API stats add some pool getwork difficulty stats
Kano 17973c59 2012-09-21T11:25:43 API don't change 'Diff1 Shares' - backward compatability FTW
Kano a6bf276f 2012-09-19T01:14:43 API - Add last share difficulty for devices and pool
Kano 89b6989f 2012-09-19T00:54:55 Store and report Accepted,Rejected,Stale difficulty in the summary and API
Kano a2cc588c 2012-09-18T14:12:32 api.c remove compile warnings
Kano bd3c98aa 2012-09-15T14:04:57 Optional WorkTime details with each Accepted/Rejected work item
Kano ade940bc 2012-09-13T09:44:58 api.c all STATUS messages automatically escaped
Kano fd2fa260 2012-09-12T23:27:48 api.c add missing escape for comma in MSG_PGAUNW
Kano 99f0607f 2012-09-12T23:26:43 API add display of and setting queue,scantime,expiry
Kano cef9731f 2012-09-12T07:44:00 CURL support for individual proxy per pool and all proxy types
Kano 9950cff5 2012-09-04T12:57:22 API pgaidentify - unsupported message should be a warning
Kano 9487ba05 2012-09-04T12:52:11 API/BFL identify a device - currently only BFL to flash the led
Kano 7a2407f1 2012-09-04T02:26:17 BFL add throttle count to internal stats + API
Kano 93555e27 2012-09-04T01:23:32 API add device diff1 work
Kano 381478e6 2012-09-02T08:05:50 api.c Correct diff1 field name
Kano 568b0fed 2012-09-01T18:21:08 API allow full debug settings control
Kano d5f485c5 2012-08-23T19:20:12 Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php
Kano b3e9858c 2012-08-20T16:07:20 API new command 'coin' with mining information
Kano 9210abdf 2012-08-19T15:09:45 API V1.17 show Work Utility and Diff1 Shares
Kano 70c57e7d 2012-08-14T12:58:08 api.c typo
Kano 95dff736 2012-08-14T12:54:27 API allow display/change failover-only setting
Kano b33ea267 2012-08-06T01:05:21 api.c update API start message and include port number
Kano 56f06e1e 2012-08-04T16:55:55 API remove unused warning in non-GPU compile
Kano ede0dd6a 2012-08-04T16:48:55 api.c in linux allow to open a closed socket in TIME_WAIT
Kano 70cba2ae 2012-07-30T07:34:06 Style
Kano 51940ec7 2012-07-29T23:40:01 api.c verify poolpriority parameters before changing pools
Kano 854a80ff 2012-07-29T23:15:20 api.c poolpriority changes
kanoi fe23dfd3 2012-07-29T04:16:29 Merge pull request #2 from luke-jr/rpc_poolpriority RPC: New "poolpriority" command to set the order of pool priorities
Con Kolivas e87ff7c1 2012-07-29T13:15:39 Keep a counter of enabled pools and use that instead of iterating over the pool list. Use that value to ensure we don't set the last remaining active pool to the rejecting state.
Luke Dashjr 5ef9c139 2012-07-27T20:53:59 Bugfix: API: Report errors from poolpriority command
Luke Dashjr 8326d2dc 2012-07-27T20:03:25 RPC: New "poolpriority" command to set the order of pool priorities
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.