|
44fc6987
|
2012-05-04T00:13:42
|
|
API add last share time to each pool
|
|
a4f1af17
|
2012-05-03T15:35:13
|
|
Detect pools that have issues represented by endless rejected shares and disable them, with a parameter to optionally disable this feature.
|
|
5081c182
|
2012-05-03T09:24:25
|
|
Limit the number of curls we recruit on communication failures and with delaynet enabled to 5 by maintaining a per-pool curl count, and using a pthread conditional that wakes up when one is returned to the ring buffer.
|
|
d4405de7
|
2012-05-03T08:56:42
|
|
Generalise add_pool() functions since they're repeated in add_pool_details.
|
|
85008a78
|
2012-05-02T10:12:07
|
|
Reap curls that are unused for over a minute.
This allows connections to be closed, thereby allowing the number of curl handles to always be the minimum necessary to not delay networking.
|
|
7d288eac
|
2012-05-01T19:59:37
|
|
Implement a scaleable networking framework designed to cope with any sized network requirements, yet minimise the number of connections being reoped.
Do this by create a ring buffer linked list of curl handles to be used by getwork, recruiting extra handles when none is immediately available.
|
|
89053c78
|
2012-05-01T19:12:37
|
|
There is no need for the submit and getwork curls to be tied to the pool struct.
|
|
1ab318d0
|
2012-04-27T13:11:19
|
|
Start longpoll only after we have tried to extract the longpoll URL.
|
|
eda38299
|
2012-04-27T11:58:47
|
|
Create one longpoll thread per pool, using backup pools for those pools that don't have longpoll.
Use the work created from the longpoll return only if we don't have failover-enabled, and only flag the work as a longpoll if it is the current pool.
This will work around the problem of trying to restart the single longpoll thread on pool changes that was leading to race conditions.
It will also have less work restarts from the multiple longpolls received from different pools.
|
|
4cd97326
|
2012-04-26T23:29:21
|
|
Create discrete persistent submit and get work threads per pool, thus allowing all submitworks belonging to the same pool to reuse the same curl handle, and all getworks to reuse their own handle.
Use separate handles for submission to not make getwork potentially delay share submission which is time critical.
This will allow much more reusing of persistent connections instead of opening new ones which can flood routers.
This mandated a rework of the extra longpoll support (for when pools are switched) and this is managed by restarting longpoll cleanly and waiting for a thread join.
|
|
4648330c
|
2012-04-24T21:46:48
|
|
Support for share logging
|
|
f5f089f5
|
2012-04-23T17:40:47
|
|
Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails.
|
|
730849c9
|
2012-04-21T03:01:42
|
|
Make a union for cgpu device handles, and rename "device" to "device_ztex" since it's Ztex-specific
|
|
657716e5
|
2012-04-21T02:52:20
|
|
Merge branch 'master' into ztex
|
|
b8778839
|
2012-04-21T02:36:19
|
|
Merge branch 'master' into unify_drivers
Conflicts:
cgminer.c
|
|
c7cc2e42
|
2012-04-21T14:03:41
|
|
Merge branch 'master' into ztex
|
|
2e1d2017
|
2012-04-21T03:15:41
|
|
API add removepool like the screen interface
|
|
c3bda2b7
|
2012-03-14T10:34:29
|
|
adding path to libusb include
|
|
99a188f9
|
2012-03-11T00:49:25
|
|
initial commit with some support for ztex 1.15x board.
This version is just a rough draft, but it does alredy mine.
Conflicts:
cgminer.c
configure.ac
|
|
dc70fe9c
|
2012-04-14T17:38:31
|
|
Do a complete cgminer restart if the ATI Display Library fails, as it does on windows after running for some time, when fanspeed reporting fails.
|
|
0be2b9e9
|
2012-03-30T21:58:15
|
|
Increase max devices to 64 (for FPGA support)
|
|
18a8b550
|
2012-03-23T03:17:20
|
|
API returns the simple device history with the 'notify' command
|
|
eeec9809
|
2012-03-23T01:50:45
|
|
code changes for supporting a simple device history
|
|
eca99654
|
2012-03-18T21:39:20
|
|
CGPU API for device kernel name
|
|
f05a319e
|
2012-03-18T21:06:47
|
|
CGPU API for device names
|
|
303dbf46
|
2012-03-18T20:09:03
|
|
Abstract add_cgpu function, to handle device id numbering and devices array
|
|
e131dfab
|
2012-03-13T12:18:23
|
|
Unify drivers as driver-*.c and add driver name to API
|
|
f4df8c82
|
2012-02-22T21:56:48
|
|
Merge pull request #135 from kanoi/master
API new commands enablepool and disablepool
|
|
60c5ac68
|
2012-02-23T16:10:17
|
|
API new commands enablepool and disablepool (version already incremented)
|
|
4458f3d5
|
2012-02-23T13:58:33
|
|
Modify cgminer.c pool control to allow API to call it
|
|
527e611b
|
2012-02-23T01:27:36
|
|
Fix !HAVE_OPENCL build.
|
|
93efb726
|
2012-02-22T19:38:01
|
|
Allow multiple different kernels to be chosen per device.
|
|
deff55c6
|
2012-02-22T16:54:06
|
|
Allow different vectors to be set per device.
|
|
2ca8d38e
|
2012-02-21T02:49:25
|
|
Merge pull request #124 from kanoi/master
API commits - IP 0/0 means all, add "Log Interval" to config, restrict access to modify commands
|
|
e3281c26
|
2012-02-21T20:03:13
|
|
When API shuts down cgminer don't kill itself
|
|
f4284a21
|
2012-02-21T09:20:31
|
|
Set the lp_sent variable under lock since there will almost always be a race on setting this variable, potentially leading to multiple LPs being sent
out.
|
|
3cdac04f
|
2012-02-19T23:13:02
|
|
Flag the pool that is the longpoll thread to avoid sending multiple longpolls during the slight delays between requesting and setting the lp_sent flag.
|
|
79e95dd9
|
2012-02-19T22:15:55
|
|
Store whether a work item is the result of a longpoll or not in struct work and use it to help determine block changes directly from the work longpoll
bool.
|
|
39906718
|
2012-02-19T22:07:31
|
|
Keep track of when a longpoll has been sent for a pool and if the current pool is requesting work but has not sent a longpoll request, convert one of
the work items to a longpoll as we may have switched pools but still be using the longpoll from the previous pool.
|
|
f85b85d2
|
2012-02-19T21:28:23
|
|
Re-check for a longpoll supporting pool every 30 seconds if none is found initially.
|
|
02295c69
|
2012-02-19T20:19:47
|
|
Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal
temperatures and --no-restart has not been set.
|
|
fa4ce8da
|
2012-02-18T22:29:12
|
|
Keep track of intended engine clock speed and only adjust up if it's higher than the last intended speed. This avoids setting the clock speed to one
relative to a lower profile one by mistake.
|
|
06721957
|
2012-02-18T16:34:06
|
|
Freeze the queues on all threads that are sent the pause message to prevent them trying to start up again with saved pings in their queues.
|
|
83dde50f
|
2012-02-18T15:17:50
|
|
Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de>
|
|
29f0b271
|
2012-02-15T08:51:59
|
|
The amount of work scanned can fluctuate when intensity changes and since we do this one cycle behind, we increment the work more than enough to prevent repeating work.
|
|
07c2ee53
|
2012-02-12T17:00:44
|
|
Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for adl.c.
|
|
e0fec357
|
2012-02-11T19:31:34
|
|
modularized logging, support for priority based logging
Functions related to logging are extracted into dedicated source files
for better maintainability.
The existing low-level logging API is extended with a generalized scheme
providing log functions log_{error, warning, notice, info, debug} that
log messages based on a global opt_log_level.
opt_log_level for now is set to LOG_NOTICE and might be modified via
command line options or config files in future releases.
|
|
713e8be6
|
2012-02-04T14:22:47
|
|
move CPU chipset specific optimization into device-cpu
|
|
52bb99c3
|
2012-02-11T21:42:02
|
|
Fix double definition of A0 B0 to zeroA zeroB.
|
|
543265d6
|
2012-01-24T14:34:17
|
|
Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs
|
|
8c609579
|
2012-02-10T19:07:53
|
|
Merge pull request #107 from kanoi/master
Allow API to restrict access by IP address + other commits
|
|
59d3d011
|
2012-02-10T14:33:40
|
|
Implement diablo kernel support and try to make it work.
|
|
95a989da
|
2012-02-10T13:18:16
|
|
Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
|
|
033913ca
|
2012-02-08T15:40:10
|
|
First working port of the diakgcn kernel.
|
|
cb7145b1
|
2012-02-08T13:45:56
|
|
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
|
|
2270b4e0
|
2012-02-10T14:33:40
|
|
Implement diablo kernel support and try to make it work.
|
|
02c94272
|
2012-02-10T13:18:16
|
|
Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
|
|
f19e67fe
|
2012-02-08T19:06:24
|
|
Allow API to restrict access by IP address
|
|
53d33c75
|
2012-02-08T15:40:10
|
|
First working port of the diakgcn kernel.
|
|
a6c6866a
|
2012-02-08T13:45:56
|
|
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
|
|
de4c6c29
|
2012-02-06T18:12:22
|
|
Provide support for the submitold extension on a per-pool basis based on the value being detected in a longpoll.
|
|
e57ac017
|
2012-02-05T22:43:42
|
|
Remove unused get_dondata function.
|
|
294ac0b6
|
2012-02-05T22:33:58
|
|
Stagger the restart of every next thread per device to keep devices busy ahead of accessory threads per device.
|
|
42fcbf7c
|
2012-02-04T18:19:30
|
|
Remove most compiler warnings from api.c
|
|
0ebc0c9d
|
2012-02-04T17:49:49
|
|
Add last share's pool info in cgpu_info
|
|
7d97ed6d
|
2012-02-04T10:18:29
|
|
Fix various build issues.
|
|
10b697f0
|
2012-01-30T23:56:54
|
|
Revert "Fix compile warnings in api.c"
This reverts commit 8a90f1a756b60914afe61b2ea7362313026a9f1a.
Breaks windows build.
|
|
98d789bd
|
2012-01-30T15:23:23
|
|
Merge remote-tracking branch 'conman/master'
|
|
09184720
|
2012-01-30T15:09:58
|
|
As share submission is usually staggered, and delays can be costly, submit shares without delay even when --net-delay is enabled.
|
|
430a1954
|
2012-01-30T08:06:00
|
|
Revert "Read off lpThermalControllerInfo from each ADL device."
This reverts commit 2d29cdb6117be29ff6353d94a6be0784a588fdb6.
|
|
8a90f1a7
|
2012-01-29T23:13:23
|
|
Fix compile warnings in api.c
|
|
82af288e
|
2012-01-29T22:57:29
|
|
Revert "Fix various harmless warnings."
This reverts commit a4b67f030fc0c7e2b18e79114a441c1e1617d5f8.
|
|
a4b67f03
|
2012-01-29T21:06:17
|
|
Fix various harmless warnings.
|
|
5a0b4f62
|
2012-01-28T01:56:12
|
|
Map GPU devices to virtual devices in their true physical order based on BusNumber.
|
|
06fd9c4a
|
2012-01-26T23:27:10
|
|
Detect dual GPU cards by iterating through all GPUs, finding ones without fanspeed and matching twins with fanspeed one bus ID apart.
|
|
63e31b4d
|
2012-01-26T14:00:52
|
|
Move intensity range values into miner.h
|
|
9549dacf
|
2012-01-25T01:19:58
|
|
Detect dual GPU cards via the indirect information of - 1st card has a fan controller. 2nd card does not have a fan controller, cards share the same
device name, and are one bus ID apart. Use this information to create paired devices, displaying the fan speed on both devices and using the hottest
temperature from either GPU to control the overall fanspeed.
|
|
4ae7baf0
|
2012-01-24T01:23:31
|
|
BitForce: Need to use CreateFile and low-level (descriptor-based) C APIs on Windows, since fopen doesn't work with serial ports
|
|
2d29cdb6
|
2012-01-23T09:25:53
|
|
Read off lpThermalControllerInfo from each ADL device.
|
|
ec2c0b78
|
2012-01-22T18:24:55
|
|
Add API commands: config, switchpool, gpu settings, save
|
|
e15d57d7
|
2012-01-22T09:36:21
|
|
Implement socks4 proxy support.
|
|
2d5bbc77
|
2012-01-22T01:40:29
|
|
Provide nanosleep() equivalent for windows.
|
|
1b0b7e4a
|
2012-01-20T22:02:07
|
|
Merge pull request #78 from luke-jr/bugfix_adl
Bugfix: Iterate over devices rather than threads for watchdog (and ADL)
|
|
9a0bcc88
|
2012-01-20T17:29:52
|
|
Bugfix: Iterate over devices rather than threads for watchdog (and ADL)
|
|
5179d224
|
2012-01-20T15:36:42
|
|
Introduce a --net-delay option which guarantees at least 250ms between any networking requests to not overload slow routers.
|
|
9840c12e
|
2012-01-20T14:47:17
|
|
Generalise locking init code.
|
|
3cb72218
|
2012-01-19T21:57:08
|
|
Restore old ugly inconsistent display of ADL information before the standard info
|
|
5dfc8b69
|
2012-01-08T19:56:15
|
|
BitForce FPGA support
cgminer will scan for and mine BitForce FPGAs on USB ports by providing the
new --scan-serial <device> option, or autodetect them by searching
/dev/serial/by-id for *BitFORCE_SHA256*
|
|
b9d197de
|
2012-01-17T16:29:01
|
|
Refactor the CPU scanhash_* functions to use a common API. Fixes bugs.
- Before, some returned bool, and others returned int (which was then turned
into a bool with a comparison); now, everything returns a bool
- Before, some set hashes_done to nonce - 1 when a share was found and others
set it to nonce + 1 or 2. This caused some algorithms to scan/submit shares
twice with the new cpu_scanhash function. Now, it has all been replaced with
last_nonce, which is set to the final nonce checked by the scanhash_* func.
- VIA needs the full data, and cannot use midstate. All the others were
expecting midstate and data+64 for their parameters. Now, we pass midstate
and the full data pointer, and let the scanhash_* function choose which to
use.
|
|
a4d1fe1e
|
2012-01-07T02:56:27
|
|
Refactor miner_thread to be common code for any kind of device
This expands on the device API, by taking the actual main thread out of the
device's code, and calling the API only for specific tasks. This brings
various changes that were made to the GPU thread code into the CPU miner.
It also fixes a bug where shares found on old GPU work were discarded when
it switched to a new work.
|
|
845961af
|
2012-01-05T19:26:01
|
|
Refactor to abstract device-specific code
|
|
5033dcd3
|
2011-12-27T18:33:49
|
|
fix test/set of thr->pth to also work in windows
|
|
2257b502
|
2011-12-27T11:37:30
|
|
Simplify longpoll changeover to just check which pool it should grab its next longpoll from. This should prevent locking hangs and thread cancellation
crashes.
|
|
b69aa234
|
2011-12-26T10:49:27
|
|
Use control_lock to protect thr->pth for thread creation/destruction.
|
|
50a08922
|
2011-12-04T00:24:26
|
|
2.0.8x Full GPU stats, descriptive field names and --api-description
|
|
45068ced
|
2011-11-29T11:07:27
|
|
Version 2.0.8w (windows changes)
|
|
45ebf2c5
|
2011-11-24T20:41:31
|
|
Fix threading issues and bugs
|
|
d234b857
|
2011-11-24T12:59:30
|
|
API v0.2 Added GPU commands and improved messages
|
|
df3fad3d
|
2011-11-23T22:22:10
|
|
Add API options for port and listen mode
|
|
49532277
|
2011-11-23T17:01:45
|
|
Add summary command
|