Con Kolivas
e502fde52b
Remove the ability to disable longpoll. It is not a useful feature and will conflict with planned changes to longpoll code.
13 years ago
Luke Dashjr
90c5ef1fa7
Bugfix: Make initial_args a const char** to satisfy exec argument type warning (on Windows only)
13 years ago
Con Kolivas
4cd973264f
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.
13 years ago
Kano
b3ac249e71
cgminer.c sharelog code consistency and compile warning fix
13 years ago
Luke Dashjr
4648330c9d
Support for share logging
13 years ago
Con Kolivas
f5f089f5b4
Add a --gpu-map option which will allow arbitrarily mapping ADL devices to OpenCL devices for instances where association by enumeration alone fails.
13 years ago
Con Kolivas
99331991ba
Increase upper limit on number of extra items to queue as some FPGA code can't yet reliably keep many devices busy.
13 years ago
Con Kolivas
d6edd07c4a
Display configuration file information when -c option is passed and only when file exists on loading default config file.
13 years ago
Con Kolivas
6ffdbc3aeb
Display configuration file loaded, if any, and debug output if configuration file parsing failed.
13 years ago
Con Kolivas
86671f80a8
Make the status window and log window as large as can fit on startup, rechecking to see if it can be enlarged after the fact. This allows any number of devices to be displayed provided the window is made long enough without corrupting the output.
13 years ago
Kano
2e1d2017de
API add removepool like the screen interface
13 years ago
ckolivas
b80d22b9d2
Increase maximum number of displayed devices to 14, beyond which the screen becomes corrupted.
13 years ago
nelisky
7fe7d18dba
removing unused libusb_context pointer
13 years ago
nelisky
608a520573
Tweaks to make ztex work on a tp-link router with openwrt
13 years ago
nelisky
c3bda2b709
adding path to libusb include
13 years ago
nelisky
99a188f94f
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
13 years ago
Con Kolivas
7c6090fbaf
Cache the initial arguments passed to cgminer and implement an attempted restart option from the settings menu.
13 years ago
Con Kolivas
f3e4305620
Disable per-device status lines when there are more than 8 devices since screen output will be corrupted, enumerating them to the log output instead at startup.
13 years ago
Con Kolivas
dceaa71a7b
Make sure to disable devices with any status not being DEV_ENABLED to ensure that thermal cutoff code works as it was setting the status to DEV_RECOVER.
13 years ago
Con Kolivas
0a4a2d9d65
Damping small changes in hashrate so dramatically has the tendency to always make the hashrate underread so go back to gentle damping instead.
13 years ago
Kano
f9af5acf13
When using '-m' on linux, send the forked process a SIGTERM on exit
13 years ago
Con Kolivas
88ff55e70e
Use a time constant 0.63 for when large changes in hashrate are detected to damp change in case the large change is an aliasing artefact instead of a real change.
13 years ago
Con Kolivas
a1879c8057
Only increment stale counter if the detected stales are discarded.
13 years ago
ckolivas
35de9d1e07
Use slightly more damping on the decay time function in the never-ending quest to smooth off the hashmeter.
13 years ago
Con Kolivas
ef1eafa40a
Provide locking around updates of cgpu hashrates as well to prevent multiple threads accessing data fields on the same device.
13 years ago
Con Kolivas
fa5e0675d6
Display the beginning of the new block in verbose mode in the logs.
13 years ago
Kano
eeec98098f
code changes for supporting a simple device history
13 years ago
Luke Dashjr
f05a319e01
CGPU API for device names
13 years ago
Luke Dashjr
303dbf4664
Abstract add_cgpu function, to handle device id numbering and devices array
13 years ago
Luke Dashjr
03c94c02e9
Bugfix: Skip enabling curses, if --real-quiet or listing devices
13 years ago
Luke Dashjr
e131dfab31
Unify drivers as driver-*.c and add driver name to API
13 years ago
Luke Dashjr
b6ae200dad
Ignore reduntant-with-build options --disable-gpu, --no-adl, and --no-restart
13 years ago
Luke Dashjr
ed8382c88d
Make curses TUI support optional at compile-time.
13 years ago
Luke Dashjr
3a003b9ab8
Bugfix: Allow enabling CPU even without OpenCL support
13 years ago
Con Kolivas
daf1eff13c
Change failed-to-mine number of requested shares messge to avoid segfault on recursive calling of quit().
13 years ago
Con Kolivas
0412ac7c21
Only send out extra longpoll requests if we want longpolls.
13 years ago
Con Kolivas
dbb04a6922
Increase the speed of hashrate adaptation.
13 years ago
Con Kolivas
de944dfd17
Only send out extra longpoll requests if we want longpolls.
13 years ago
Con Kolivas
50a33aa6a3
Consider extra longpoll work items as staged_extra so as to make sure we queue more work if queueing regular work items as longpolls.
13 years ago
Con Kolivas
553d53fcee
Reset all hash counters at the same time as resetting start times to get accurate hashrates on exiting which is mandatory for benchmarking.
13 years ago
Con Kolivas
88a9d83e19
Report thread in during getting of work in benchmark mode.
13 years ago
Con Kolivas
49ba39627c
Report thread out before it starts to avoid being flagged as sick when waiting for the first work item.
13 years ago
Kano
60c5ac6844
API new commands enablepool and disablepool (version already incremented)
13 years ago
Kano
4458f3d5c7
Modify cgminer.c pool control to allow API to call it
13 years ago
Kano
ca2b2d9b9a
Don't save 'include' when saving the configuration
13 years ago
Kano
915c72d8e7
Allow configuration file to include another recursively
13 years ago
Con Kolivas
527e611b74
Fix !HAVE_OPENCL build.
13 years ago
ckolivas
0db998c5d0
Add a --benchmark feature which works on a fake item indefinitely to compare device performance without any server or networking influence.
13 years ago
ckolivas
d3ad87f5d2
Allow writing of multiple worksizes to the configuration file.
13 years ago
ckolivas
1b1fa5cd89
Allow writing of multiple vector sizes to the configuration file.
13 years ago