api.c


Log

Author Commit Date CI Message
Con Kolivas a1367607 2014-10-14T18:24:42 Implement generic inet_pton for windows
Con Kolivas 8a7ee643 2014-10-14T11:26:51 Fix warnings
Con Kolivas 5dead599 2014-10-14T11:24:35 Merge branch 'temp' of https://github.com/Canaan-Creative/cgminer into Canaan-Creative-temp
Jason Zong d54bd59d 2014-10-14T02:01:57 Merge remote-tracking branch 'upstream/master'
Con Kolivas e254b5f5 2014-10-13T22:50:20 Update API documentation
Con Kolivas 8da23aa7 2014-10-13T22:46:04 Add pool number to response from addpool to the API
Con Kolivas b57f04b3 2014-10-13T22:36:21 Make the restart and quit API commands valid json responses
archang ac1a48dc 2014-10-08T10:36:01 Fix error when using v6 without mask in api-allow
archang 7c447395 2014-10-08T09:34:48 Support ipv6 multicast
naituida a2e33b4f 2014-09-15T15:07:15 Add BlockErupter Driver
archang 6ad44906 2014-09-30T11:54:31 Fix client ip address output
archang c045884e 2014-09-28T13:54:52 Free addrinfo garbage
archang c04302c0 2014-09-26T18:12:12 Add ipv6 support for api listen
Vitalii Demianets 71a67b5e 2014-07-25T11:16:36 Revert "Increase the internal buffer for API response," This reverts commit 1c4a768abe0ffde73616f042867d8c76c03002fc.
Con Kolivas e89b5059 2014-07-19T18:23:04 Initial import and conversion of hashratio driver to direct USB
Vitalii Demianets 1c4a768a 2014-07-17T19:27:40 Increase the internal buffer for API response, as "stats" command response can grow greater than 8K
Con Kolivas 6a34476d 2014-07-17T13:11:08 We only use the jansson in our source tree so no need for special case handling of older versions
zvisha 6327c77b 2014-07-10T17:59:27 sp30
Con Kolivas f8fbb374 2014-06-21T11:20:46 Move icarus driver to being seen as an asic
kanoi 8edb93d5 2014-05-26T04:05:12 API - lcd all-in-one brief summary
kanoi 4b55ab7e 2014-05-20T15:46:57 AntS2 code conversion and addition of optional noncedup check
kanoi 7b7f2ae1 2014-05-08T00:50:17 api - howoldsec is only used for USB
Con Kolivas 5dba5d78 2014-05-02T17:20:13 Revert "Revert "upgrade some int to int64_t to avoid overflows in reporting"" This reverts commit d3b358dede30fc16099bff53c5ee33228bcd53c1.
Con Kolivas d3b358de 2014-05-02T17:08:47 Revert "upgrade some int to int64_t to avoid overflows in reporting" This reverts commit 36802ace37ad6bbcfd995d041b2add3906f8f98b.
Kano 36802ace 2014-05-02T15:11:57 upgrade some int to int64_t to avoid overflows in reporting
Con Kolivas 2191ce0c 2014-04-10T20:13:55 Merge spondoolies driver patch
Con Kolivas c443ccb5 2014-03-25T21:57:04 Add 3 rolling average hashrates to API output for summary and devs.
Con Kolivas c8620009 2014-03-13T20:46:58 Fix gcc longjmp warning in api.c
Kano 5ad542f9 2014-03-13T06:30:59 API - put edevstatus where it was supposed to be
Kano 279f4438 2014-03-12T16:13:20 API - add edevs and estats - to only show enabled devices
Kano fe8012c8 2014-03-07T12:25:33 api version update for HEX32
Kano 85337270 2014-03-07T12:18:24 api.c - HEX32 type needs quotes
kanoi 6cd6a1a2 2014-03-02T14:11:26 Merge pull request #557 from kanoi/master Ant S1 Driver
Kano d5b8d73f 2014-03-02T00:13:59 Enable Bitmain Ant S1 code and make it conform to cgminer requirements
Con Kolivas dbc4dcda 2014-03-01T14:25:26 Add api_add_int16 to API functions.
Kano e73d6e41 2014-02-27T13:35:56 api - buffer size off by 1 for joined commands
Con Kolivas b3b1ddff 2014-02-21T07:52:38 Merge branch 'avalon2' of https://github.com/xiangfu/cgminer into xiangfu-avalon2 Conflicts: api.c configure.ac
Zefir Kurtisi 60534e57 2013-12-24T00:33:42 Initial import of Bitmine.ch A1 SPI driver This initial driver was designed around an FPGA based emulator board which provides 2 chained chips with 4 hashing engines each, running at 10% of the A1's nominal speed. Driver has been tested on RasPi. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@gmail.com>
Kano 85cbefaa 2014-02-14T15:24:36 api.c avoid incorrect gcc warning
Con Kolivas 69d67af1 2014-02-12T20:46:44 Add driver for cointerra devices.
Xiangfu 7c5b0b84 2014-02-11T14:00:04 Add Avalon2 (2U size machine) support Signed-off-by: Xiangfu <xiangfu@openmobilefree.net>
Con Kolivas 6b38a1f6 2014-02-03T12:17:20 Merge pull request #543 from jimjag/upstream These may not be longs (eg: OSX)... fo a safe cast to ensure.
Jim Jagielski 0d3a3a9c 2014-02-03T08:13:14 These may not be longs (eg: OSX)... fo a safe cast to ensure.
Kano 5a811ec3 2014-01-29T10:23:53 API allow multiple commands/replies in one request
Con Kolivas 5542761f 2014-02-01T23:36:25 Add the ability to display a hexadecimal 32 bit unsigned integer to the API.
Con Kolivas 1eb7f30a 2014-01-25T17:01:59 Store when the last getwork was retrieved and display it in the API summary.
ckolivas 2cdaafac 2014-01-24T16:20:24 Remove unused variable.
ckolivas 302d087f 2014-01-24T15:38:53 Provide a helper function for determining dev runtime and use it in the hashmeters used.
Kano d9440866 2014-01-18T09:36:51 Modify thread naming to make them easier to identify
Kano cb0536af 2014-01-15T13:34:34 api.c 2014
Kano 96e94776 2014-01-14T13:42:34 api allow any size stats data
Kano 482017d7 2014-01-06T09:50:07 api.c correct DEVICECODE and ordering
Kano 7acf38b3 2014-01-05T21:34:43 api add data type AVG float 3 decimal
Kano 7017ec52 2014-01-04T23:58:20 api.c set the actual version number to 3.0
Kano e9454817 2014-01-04T23:56:44 API V3.0 unlimited socket reply size
Kano 828e80ed 2013-12-31T15:29:09 Add minion driver into cgminer
Kano 68f7ff4a 2013-12-23T18:04:55 drillbit asic - enable in api.c
Kano 9c288a3a 2013-12-22T21:20:44 api.c no decref if not json
Tim Bateman b382ad9b 2013-12-03T10:46:32 Fixed one byte stack overflow in mcast recvfrom. The actual overflow happens when enforcing the NULL termination shortly after the recvfrom.
Con Kolivas b6a61ca0 2013-11-30T18:33:09 Fix json parsing in api.c
Con Kolivas 45950890 2013-11-22T10:02:56 Silence irrelevant warning.
Con Kolivas 009511c9 2013-11-19T22:29:14 The json_val in api.c is a borrowed reference, not a new one so don't decref it.
Con Kolivas a3df3a85 2013-11-19T22:21:18 Decrement json references in api.c to not leak memory.
Con Kolivas efc38401 2013-11-14T15:02:24 Merge pull request #521 from mborodin/upstream Some meory leaks fixed
Henrik Nordström 8ae1fae4 2013-11-13T16:32:31 Merge pull request #1 from mborodin/v3.7.2-knc-memleak Memory leaks fixed
Kano 98329cb3 2013-11-14T01:17:57 api.c trylock() add missing locklock
Maksym Borodin b1c3af57 2013-11-13T11:42:33 api.c: Release apisock on error in api()
Maksym Borodin 1a672cd6 2013-11-13T11:36:12 api.c: Release io_data->ptr when releasing io_data in io_free()
Maksym Borodin d22bbe1a 2013-11-13T11:42:33 api.c: Release apisock on error in api()
Maksym Borodin b90fcb4d 2013-11-13T11:36:12 api.c: Release io_data->ptr when releasing io_data in io_free()
Kano 04fe870f 2013-11-10T20:54:35 api update verison to 2.0 and remove GPU form API-README
Kano 0a0ce3b8 2013-11-10T20:42:35 api.c remove all GPU/gpu references and correct code as required
Con Kolivas ec9cf3ca 2013-11-10T20:20:45 Rudimentary removal of GPU OpenCL and Scrypt features from api.c
Kano f792b1be 2013-11-10T11:18:37 Configure source for a new BaB driver
Con Kolivas c3854378 2013-11-03T01:01:24 Display works completed in summary and API data.
Con Kolivas 448b1fae 2013-11-02T22:25:45 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.
Con Kolivas 25d4f167 2013-10-31T16:37:07 Add the ability to add uint8 and uint16 entities to api data.
Con Kolivas c4542f2b 2013-10-31T12:29:59 Merge branch 'master' into hfa Conflicts: Makefile.am api.c configure.ac miner.h
Con Kolivas 6bcd60a9 2013-10-28T11:50:42 Add KNC to api
Con Kolivas 669bcac3 2013-10-23T12:06:20 Merge branch 'master' into hashfast
Kano d9449b25 2013-10-22T19:27:44 api ... the code related to device elapsed
Con Kolivas f5baf9f5 2013-10-18T19:12:13 Merge branch 'master' into hashfast Conflicts: usbutils.h
Kano 514b3c42 2013-10-17T19:45:20 API add 'MHS %ds' to 'summary'
Kano d3d3fc13 2013-10-17T16:14:45 Optional lock tracking and stats via the API
Kano 55e233d5 2013-10-17T19:45:20 API add 'MHS %ds' to 'summary'
Kano c2073f09 2013-10-17T16:14:45 Optional lock tracking and stats via the API
Con Kolivas e06e495a 2013-10-14T15:07:32 Merge branch 'master' into hashfast
Con Kolivas 9b5c5349 2013-10-13T16:41:53 Merge branch 'master' into hashfast Conflicts: api.c configure.ac miner.h usbutils.c usbutils.h
Kano da7223f1 2013-10-12T11:30:57 api incorrect message name
Con Kolivas b5379760 2013-10-11T23:06:40 Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
Con Kolivas d34279b2 2013-10-08T20:48:26 Remove unused variables.
Con Kolivas f80c9003 2013-10-08T20:46:36 Merge branch 'master' into async Conflicts: api.c cgminer.c miner.h usbutils.c util.c
ckolivas 6cd7f0f1 2013-10-04T12:00:41 Remove unmaintained broken ztex driver.
Kano e11b6d7d 2013-10-03T23:21:03 api.c missing Klondike from ASIC list
Con Kolivas 998182fc 2013-10-07T23:32:54 Add API output displaying USB cancellations.
Con Kolivas 023ca6a1 2013-10-07T17:17:20 Remove devlock lock contention statistics since transfers are all done under read lock now.
Con Kolivas 3b266594 2013-10-07T14:57:08 Merge branch 'master' into libusbx Conflicts: api.c miner.h usbutils.c
ckolivas 052e4348 2013-10-04T12:00:41 Remove unmaintained broken ztex driver.
Kano 521ee0a9 2013-10-03T23:21:03 api.c missing Klondike from ASIC list
Con Kolivas e40b1c17 2013-10-03T12:07:36 Add API output displaying USB cancellations.