api.c

Branch


Log

Author Commit Date CI Message
Johnson-Fan c6cb9cca 2018-11-01T18:55:57 Merge branch 'avalon8-dev' Conflicts: api.c configure.ac
James Hilliard f749b22a 2018-08-18T18:27:06 Use normal cgminer api.
Con Kolivas e7128f35 2018-04-30T17:02:01 Import Dragonmint T1 driver and version rolling AKA asicboost support.
Con Kolivas 8e0b18a3 2018-03-09T15:29:32 Do not give out API description to random probes to inappopriately open ports.
Con Kolivas 1d98bf52 2018-03-09T14:19:53 Avoid potential buffer overflows in api.c
Mikeqin 61465763 2017-09-27T10:27:42 Fix api warning without miner enable
xzx 6786bbd2 2017-09-11T18:12:19 Add Avalon8 support
Alexander I. Mogilny e9e317b0 2017-01-06T18:28:09 initial import of BITFURY16 driver
Mikeqin 04e6a4b9 2016-07-29T15:39:08 Add Avalon7 support
Con Kolivas 7bcb28b5 2016-09-20T13:16:42 Fix clobbered by ‘longjmp’ or ‘vfork’ warning
James Hilliard 51301e86 2016-04-05T21:31:31 Show Current Block Version under pools api
James Hilliard 225097e1 2016-04-05T18:58:00 Show Current Block Height under pools api
Mikeqin 359be2e6 2015-11-16T15:43:29 Merge remote-tracking branch 'ck/master' into avalon4 * Merge 3f70e48cc7a590b4dac407fd002159bab2428ccd
Mikeqin 11894ad3 2015-11-16T11:52:33 Merge avalon miner
Mikeqin b1f60da5 2015-11-06T17:00:27 Display stratum difficulty in pool api
kanoi 2a473727 2015-08-14T12:01:30 API add Work Difficulty to pools
Con Kolivas afd93099 2015-06-12T10:52:38 Deprecate failover only option in anticipation of removing getwork
Con Kolivas c6308885 2015-06-12T10:40:54 Deprecate expiry option and fix it to 10 minutes, replacing all deprecated config calls in the API with a deprecated message
Con Kolivas 04e7acf0 2015-06-12T10:28:30 Deprecate scan-time which is irrelevant with ASIC speed mining
Con Kolivas 2341d0bd 2015-06-12T10:22:52 Deprecate opt_queue since all mining is now local work generation which is rapid and it serves no useful purpose to generate work that is potentially stale, increasing CPU usage to check it before using it
kanoi f08c6d2e 2015-06-09T19:04:39 add pool block quality to api
kanoi b8593020 2015-06-04T07:59:44 AntS3 - initial S3 merge basic support
kanoi b3b1fc3f 2015-05-22T20:24:19 API - restore IPv4 address .0 padding and update copyright dates
Mikeqin 92644427 2015-05-15T15:22:26 Rename to Avalon miner
Mikeqin ec421917 2015-04-23T18:54:54 Support Avalon4 mini
Con Kolivas f3b6ec47 2015-03-05T09:28:06 Use alloc helpers in api.c
Chris Ross e06e4848 2014-12-16T22:39:04 Basic ability to compile and run on FreeBSD 10. Only tested compilation with avalon, avalon2, bflsc, and icarus; only tested functionality of bflsc and icarus.
Xiangfu c6b20a12 2014-12-10T23:37:39 Add Avalon4 support
archang 8f3f15d6 2014-11-18T14:27:42 Fix ignoring unprefixed v6 address in api allow list
archang ef83f6aa 2014-11-18T14:27:42 Fix ignoring unprefixed v6 address in api allow list
archang d7ad932c 2014-10-23T12:02:50 Reset ipv6 flag to false in every api-allow loop
James Hilliard 6c19066e 2014-10-22T15:28:39 undeclared identifier 'IPV6_ADD_MEMBERSHIP' fix for apple
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()