Noel Maersk
|
5b977125fa
|
misc: Replace many (but not all) instances of 'cgminer' with 'sgminer'.
Just ran a `sed -i 's/cgminer/sgminer/'` on several files.
|
2014-01-15 15:36:19 +02:00 |
|
Kano
|
65518d3712
|
api.c no decref if not json
|
2014-01-15 14:32:31 +02:00 |
|
Tim Bateman
|
0a187bdd41
|
Fixed one byte stack overflow in mcast recvfrom.
The actual overflow happens when enforcing the NULL termination shortly
after the recvfrom.
|
2014-01-15 13:43:10 +02:00 |
|
Con Kolivas
|
65d9136dd5
|
Fix json parsing in api.c
|
2014-01-15 13:39:51 +02:00 |
|
Con Kolivas
|
39b7bc26cb
|
Silence irrelevant warning.
|
2014-01-15 13:34:31 +02:00 |
|
Con Kolivas
|
ebeb710375
|
Decrement json references in api.c to not leak memory.
The json_val in api.c is a borrowed reference, not a new one so don't decref it.
|
2014-01-15 13:22:28 +02:00 |
|
Kano
|
89000ffb1a
|
api.c trylock() add missing locklock
|
2014-01-15 12:48:11 +02:00 |
|
Maksym Borodin
|
d976abe12d
|
api.c: Release apisock on error in api()
|
2014-01-15 12:45:51 +02:00 |
|
Maksym Borodin
|
7383e19a9d
|
api.c: Release io_data->ptr when releasing io_data in io_free()
|
2014-01-15 12:45:29 +02:00 |
|
Noel Maersk
|
83e52dfe78
|
api: remove references to FPGAs and ASICs.
|
2014-01-11 23:01:02 +02:00 |
|
Noel Maersk
|
199cb10e18
|
HAVE_OPENCL is mandatory, remove checks form code an build system.
|
2013-12-05 20:49:18 +02:00 |
|
Noel Maersk
|
323af83fdb
|
Remove define-clauses for USE_SCRYPT.
|
2013-11-24 19:52:14 +02:00 |
|
Noel Maersk
|
95586f72f0
|
Squash-merge branch dead-end with unnecessary check removals.
|
2013-11-24 16:18:10 +02:00 |
|
Con Kolivas
|
c3854378e1
|
Display works completed in summary and API data.
|
2013-11-03 01:01:24 +11:00 |
|
Con Kolivas
|
448b1fae64
|
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.
|
2013-11-02 22:25:45 +11:00 |
|
Con Kolivas
|
25d4f16727
|
Add the ability to add uint8 and uint16 entities to api data.
|
2013-10-31 16:37:43 +11:00 |
|
Con Kolivas
|
c4542f2b96
|
Merge branch 'master' into hfa
Conflicts:
Makefile.am
api.c
configure.ac
miner.h
|
2013-10-31 12:29:59 +11:00 |
|
Con Kolivas
|
6bcd60a931
|
Add KNC to api
|
2013-10-28 11:50:42 +11:00 |
|
Con Kolivas
|
669bcac36c
|
Merge branch 'master' into hashfast
|
2013-10-23 12:06:20 +11:00 |
|
Kano
|
d9449b2578
|
api ... the code related to device elapsed
|
2013-10-22 19:27:44 +11:00 |
|
Con Kolivas
|
f5baf9f57a
|
Merge branch 'master' into hashfast
Conflicts:
usbutils.h
|
2013-10-18 19:12:13 +11:00 |
|
Kano
|
514b3c424f
|
API add 'MHS %ds' to 'summary'
|
2013-10-17 20:24:09 +11:00 |
|
Kano
|
d3d3fc1316
|
Optional lock tracking and stats via the API
|
2013-10-17 20:24:02 +11:00 |
|
Con Kolivas
|
e06e495ab8
|
Merge branch 'master' into hashfast
|
2013-10-14 15:07:32 +11:00 |
|
Con Kolivas
|
9b5c534911
|
Merge branch 'master' into hashfast
Conflicts:
api.c
configure.ac
miner.h
usbutils.c
usbutils.h
|
2013-10-13 16:41:53 +11:00 |
|
Kano
|
da7223f1b4
|
api incorrect message name
|
2013-10-12 11:30:57 +11:00 |
|
Con Kolivas
|
b537976036
|
Make pthread conditional timeouts handle all bulk usb transfer timeouts performing libusb_cancel_transfer, disabling timeouts within libusb itself.
|
2013-10-11 23:06:40 +11:00 |
|
Con Kolivas
|
d34279b226
|
Remove unused variables.
|
2013-10-08 20:48:26 +11:00 |
|
Con Kolivas
|
f80c900336
|
Merge branch 'master' into async
Conflicts:
api.c
cgminer.c
miner.h
usbutils.c
util.c
|
2013-10-08 20:46:36 +11:00 |
|
ckolivas
|
6cd7f0f1be
|
Remove unmaintained broken ztex driver.
|
2013-10-07 23:33:13 +11:00 |
|
Kano
|
e11b6d7d55
|
api.c missing Klondike from ASIC list
|
2013-10-07 23:33:11 +11:00 |
|
Con Kolivas
|
998182fc35
|
Add API output displaying USB cancellations.
|
2013-10-07 23:32:54 +11:00 |
|
ckolivas
|
052e434846
|
Remove unmaintained broken ztex driver.
|
2013-10-04 12:00:41 +10:00 |
|
Kano
|
521ee0a97f
|
api.c missing Klondike from ASIC list
|
2013-10-03 23:21:03 +10:00 |
|
Con Kolivas
|
064c0ddf15
|
Display stats regarding locking delays in API.
|
2013-10-02 14:35:53 +10:00 |
|
Con Kolivas
|
f49a3c7657
|
Merge branch 'master' into hashfast
Conflicts:
Makefile.am
api.c
cgminer.c
configure.ac
miner.h
usbutils.c
usbutils.h
|
2013-09-30 08:43:29 +10:00 |
|
Con Kolivas
|
5e1ebd5070
|
Deuglify use of _PARSE_COMMANDS macro expansions.
|
2013-09-29 13:54:16 +10:00 |
|
Con Kolivas
|
55f29b8179
|
Use the driver add commands macros in api.c to avoid individually listing them.
|
2013-09-29 12:33:52 +10:00 |
|
ckolivas
|
8875197466
|
Create a macro list of drivers to enable easier addition of further drivers.
|
2013-09-28 10:25:48 +10:00 |
|
Con Kolivas
|
ce285ba602
|
Implement basic API stats for BF1 and increase array of results to check for the rare straggling result.
|
2013-09-26 11:46:09 +10:00 |
|
Con Kolivas
|
118f9038a0
|
Merge branch 'master' into hashfast
|
2013-09-22 20:18:18 +10:00 |
|
Con Kolivas
|
466d3beca0
|
Provide a --disable-libcurl config option to build support for stratum mining only.
|
2013-09-21 22:49:28 +10:00 |
|
Con Kolivas
|
456431de29
|
Add hashfast to api calls.
|
2013-09-19 17:21:52 +10:00 |
|
Con Kolivas
|
a76b09e4fc
|
Find the greatest common denominator in quotas and use the smallest number of consecutive work items per pool in quota load balance mode to smooth hashrate across pools with large quotas. Give excess quota to priority pool 0 instead of pool 0.
|
2013-09-13 13:51:15 +10:00 |
|
Con Kolivas
|
d0a70eb0ee
|
Add API commands and modify output to support pool quota displaying and changing.
|
2013-09-07 18:20:06 +10:00 |
|
Kano
|
76185ede38
|
API mcast add a description option with miner.php
|
2013-09-01 00:23:26 +10:00 |
|
Kano
|
5b338b2f93
|
api.c remove unused reply string
|
2013-08-23 22:48:31 +10:00 |
|
Kano
|
bdac0633ab
|
api.c fix mcast debug message bug
|
2013-08-23 17:06:35 +10:00 |
|
Kano
|
55e7f31425
|
API mcast only reply to remote IP's that are allowed access
|
2013-08-22 23:38:57 +10:00 |
|
Kano
|
14ac6fa5ab
|
Initial API Multicast response v0.1 to find cgminer APIs
|
2013-08-22 21:31:32 +10:00 |
|
Con Kolivas
|
eeac9d81fc
|
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
|
2013-08-20 19:23:49 +10:00 |
|
Kano
|
6b62c402fa
|
API/miner.php add some % fields
|
2013-08-14 10:42:52 +10:00 |
|
Con Kolivas
|
2b171f7fae
|
Limit intensity range according to whether scrypt is in use or not.
|
2013-08-09 15:12:57 +10:00 |
|
Kano
|
802737e8dd
|
BTB voltage management via the API - and set default on startup
|
2013-08-07 23:47:19 +10:00 |
|
Kano
|
369a45431d
|
api correct timeout stat display
|
2013-07-21 06:44:10 +10:00 |
|
Kano
|
759ce6e7d2
|
usb timeouts - min/max also
|
2013-07-21 06:43:26 +10:00 |
|
Kano
|
2dffc96e3c
|
log USB timeouts in API stats
|
2013-07-20 12:56:57 +10:00 |
|
Kano
|
fc89f170a3
|
usbutils add delay API stats
|
2013-06-25 22:23:06 +10:00 |
|
Kano
|
34bedf88c6
|
set MSG_ASCUSBNODEV always defined
|
2013-06-23 07:16:46 +10:00 |
|
Kano
|
a73ed9665a
|
API V1.26 update ASIC support
|
2013-06-22 21:17:23 +10:00 |
|
Kano
|
d2cb412931
|
record and report USB pipe errors via API stats
|
2013-06-16 21:58:01 +10:00 |
|
Kano
|
b5bf34dc85
|
applog/quit fix GPU errors created
|
2013-06-16 16:54:42 +10:00 |
|
Kano
|
84ffcbc51b
|
Use mining start time for device MH/U calculations
|
2013-06-14 01:09:50 +10:00 |
|
ckolivas
|
065d4aabf6
|
Fix build.
|
2013-06-09 13:29:38 +10:00 |
|
Kano
|
65af59b754
|
api correct applog typing
|
2013-05-02 23:34:14 +10:00 |
|
Con Kolivas
|
965129b5b7
|
Duplicate the name string always in api_add_data_full to not need persistent storage for names passed to it.
|
2013-05-02 17:26:59 +10:00 |
|
Con Kolivas
|
412ef440b3
|
Use sock_blocks in api.c
|
2013-04-24 23:08:22 +10:00 |
|
Con Kolivas
|
f4b2790761
|
Remove all CPU mining code.
|
2013-04-22 14:35:43 +10:00 |
|
Con Kolivas
|
293b94c7ed
|
Add API support for Avalon.
|
2013-04-07 01:39:20 +11:00 |
|
Con Kolivas
|
fd87825bf9
|
Convert the ch_lock to cg_lock.
|
2013-03-12 22:17:08 +11:00 |
|
Con Kolivas
|
0bbaaa9723
|
Convert the control_lock to a cg_lock.
|
2013-03-12 22:07:06 +11:00 |
|
Kano
|
efb2403a38
|
API no longer ignore send() status
|
2013-03-08 15:07:41 +11:00 |
|
Kano
|
1eca0476f1
|
API make the main socket non-static
|
2013-03-08 11:54:41 +11:00 |
|
Kano
|
0eafc8b9fe
|
API add 'Network Difficulty' to 'coin'
|
2013-03-07 07:40:05 +11:00 |
|
Kano
|
540f3e89bc
|
Setup BFLSC support
|
2013-03-07 00:00:31 +11:00 |
|
Kano
|
419083a7d2
|
API use control_lock when switching pools
|
2013-03-06 21:19:02 +11:00 |
|
Kano
|
2f6660e83f
|
configure - set USE_USBUTILS when usbutils is required and use it in the code
|
2013-03-05 18:33:43 +11:00 |
|
Kano
|
120e9a072d
|
make rw locks: mining_thr_lock and devices_lock
|
2013-03-04 22:46:34 +11:00 |
|
Kano
|
f8e7012d73
|
api.c fix MSG overlap
|
2013-03-04 17:29:58 +11:00 |
|
Kano
|
be8cadbc46
|
Hotplug - allow setting interval via --hotplug or API
|
2013-03-04 17:26:11 +11:00 |
|
Kano
|
41f099edff
|
API - return Last Valid Work
|
2013-03-03 19:53:34 +11:00 |
|
Kano
|
c14f2ec642
|
API V1.25 - add 'Last Valid Work' time for each device
|
2013-03-03 19:33:20 +11:00 |
|
Kano
|
f56a0fb719
|
API always report failed send() replies
|
2013-03-01 16:57:22 +11:00 |
|
Kano
|
6fb32f7b5d
|
convert sleep(const) to nmsleep()
|
2013-02-08 02:32:27 +11:00 |
|
Kano
|
bc5755233c
|
call a separate get_devices() with locking, as required
|
2013-02-08 02:12:09 +11:00 |
|
Kano
|
983fe2b0c0
|
usbutils hotplug v0.1
|
2013-02-08 01:42:36 +11:00 |
|
Con Kolivas
|
5d122cad93
|
Provide wrappers for grabbing of thr value under the mining_thr_lock.
|
2013-02-03 23:41:41 +11:00 |
|
Kano
|
7abf30b2c0
|
distinguish between drv and it's id enum now called drv_id
|
2013-02-03 22:51:05 +11:00 |
|
Kano
|
61ec1fe91f
|
mutex all access to mining_thr
|
2013-02-02 20:14:55 +11:00 |
|
Kano
|
212f32e5e0
|
Split thr_info array into control_thr and mining_thr pointers so more mining threads can be added later
|
2013-02-02 20:14:53 +11:00 |
|
Kano
|
7fbc3770b4
|
USB move usbdev info that needs to stay around into usbinfo
|
2013-02-02 20:14:36 +11:00 |
|
Kano
|
c1eae36f7b
|
API stats - include pool network bytes + in miner.php
|
2013-02-02 20:14:33 +11:00 |
|
Kano
|
24525edbef
|
api.c update copyright year
|
2013-02-02 20:14:30 +11:00 |
|
Kano
|
34bcc1c66d
|
USB automatically handle losing the device and report nodev in the API
|
2013-02-02 20:14:29 +11:00 |
|
Kano
|
0b3d8c89c2
|
API zero - zero statistics - all or bestshare - with optional on screen summary
|
2013-02-02 20:14:27 +11:00 |
|
Kano
|
bd5f20ebf5
|
api.c pgaenable not re-enabling the device - plus related debug
|
2013-02-02 20:14:25 +11:00 |
|
Kano
|
a344deb6ac
|
rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
|
2013-02-02 20:14:19 +11:00 |
|
Kano
|
1ce817d4df
|
Merge branch 'api'
|
2013-01-03 21:48:22 +11:00 |
|
Kano
|
abaaf93c8d
|
Correct API version to match docs
|
2013-01-02 21:52:38 +11:00 |
|
Kano
|
03f626e68d
|
Remember best share per pool and return in API pools
|
2013-01-02 21:51:09 +11:00 |
|