api.c


Log

Author Commit Date CI Message
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.
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
Con Kolivas d5d8c2cc 2012-05-03T10:35:30 Implement an older header fix for a label existing before the pthread_cleanup macro.
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 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