Kano
5e9676c23c
Allow dynamic to adjust up to MAX_INTENSITY
13 years ago
Kano
63e31b4d78
Move intensity range values into miner.h
13 years ago
Con Kolivas
a992b5d89d
Allow intensity up to 14 for multiple devices as well.
13 years ago
Con Kolivas
d662c9c626
Allow intensity up to 14.
13 years ago
Kano
ec2c0b784f
Add API commands: config, switchpool, gpu settings, save
13 years ago
Con Kolivas
e15d57d729
Implement socks4 proxy support.
13 years ago
Con Kolivas
0e5b6583f1
qd_lock initialisation got dropped. Fix it.
13 years ago
Luke Dashjr
f634b68e7c
Bugfix: Only show each device once in exit summary
13 years ago
Luke Dashjr
9a0bcc8890
Bugfix: Iterate over devices rather than threads for watchdog (and ADL)
13 years ago
Con Kolivas
5179d22463
Introduce a --net-delay option which guarantees at least 250ms between any networking requests to not overload slow routers.
13 years ago
Luke Dashjr
daaa489d2c
Bugfix: -n should show GPU count, even though GPUs aren't probed yet
13 years ago
Luke Dashjr
dfeb1ef594
Restore old ugly inconsistent display of ADL information before the standard info
13 years ago
Con Kolivas
9840c12e74
Generalise locking init code.
13 years ago
Luke Dashjr
3cb7221878
Restore old ugly inconsistent display of ADL information before the standard info
13 years ago
Con Kolivas
15672b52a6
Allow invalid values to be in the configuration file, just skipping over them provided the rest of the file is valid JSON.
...
This will allow older configuration files with options no longer existing to still be portable.
13 years ago
Con Kolivas
c487383cf4
Allow CPU mining explicitly enable only if other mining support is built in.
13 years ago
Luke Dashjr
9e40e87a1e
Update documentation
13 years ago
ckolivas
52b6410fe7
Display what support is built in.
13 years ago
Luke Dashjr
5dfc8b694f
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*
13 years ago
ckolivas
69966ffe17
Update copyright dates.
13 years ago
ckolivas
332b3ca1e6
Configure out building and support of all CPU mining code unless --enable-cpumining is enabled.
13 years ago
ckolivas
86d6073ee0
Allow parsed values to be zero which will allow 0 values in the config file to work.
13 years ago
Luke Dashjr
b9d197dee8
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.
13 years ago
Con Kolivas
5d6159f55a
Don't consider a pool lagging if a request has only just been filed.
...
This should decrease the false positives for "pool not providing work fast enough".
13 years ago
Con Kolivas
12afb479d3
Invalidating work after longpoll made hash_pop return no work giving a false positive for dead pool.
...
Rework hash_pop to retry while finds no staged work until the abstime timeout really expires.
13 years ago
Luke Dashjr
a4d1fe1e5d
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.
13 years ago
Luke Dashjr
845961af66
Refactor to abstract device-specific code
13 years ago
Con Kolivas
17e8d60b5f
Adjust utility width to be constant maximum as well.
13 years ago
Steve Brecher
52d134ce2e
Add percent signs to reject ratio outputs
13 years ago
Con Kolivas
ec8501a79c
Should the donation pool fail, don't make the fallover pool behave as though the primary pool is lagging.
13 years ago
ckolivas
59c29fc63f
Use an alternative pool should the donation getwork fail.
13 years ago
Kano
7187dfa049
If api-description is specified, save it when writing the config file
13 years ago
Con Kolivas
743d81b36b
Adjust column width of A/R/HW to be the maximum of any device and align them.
13 years ago
Kano
9bf0ad18a4
Display pool in summary if only 1 pool
13 years ago
Con Kolivas
d56e5ae61b
Force fresh curl connections on any detected rpc failure in case of dead persistent connections..
13 years ago
Con Kolivas
40ea56ee6e
Continue attempting to restart every minute whether a GPU is considered sick or dead.
13 years ago
Con Kolivas
c0775734fd
Again do not attempt to restart a hung device with the every minute attempted restart.
13 years ago
Con Kolivas
c7c838d780
Give warning with donor pool so as to explain why there may be a slow startup.
13 years ago
Con Kolivas
d656c14ef8
Don't give pool slow warning if it is the donation pool.
13 years ago
Kano
5033dcd355
fix test/set of thr->pth to also work in windows
13 years ago
Con Kolivas
9f41f2f341
Try to align device outputs in curses output.
13 years ago
Con Kolivas
2257b5023a
Simplify longpoll changeover to just check which pool it should grab its next longpoll from. This should prevent locking hangs and thread cancellation
...
crashes.
13 years ago
Con Kolivas
5e2e2f282d
Only use GPU management menu item if GPU threads exist.
13 years ago
Con Kolivas
a51514d9d1
White space cleanup.
13 years ago
Con Kolivas
eee665895d
Save config options for GPUs only if there are GPU devices.
13 years ago
Con Kolivas
291f1749d0
Ensure the correct pool information goes with the longpoll work item.
13 years ago
Con Kolivas
ae78620292
Show which pool is unresponsive on startup.
13 years ago
Con Kolivas
c786ac3b2a
Prevent crash from statline dereference if cgminer is quit before setting up fully.
13 years ago
Con Kolivas
acf88e0da4
Kill off the longpoll thread in kill_work only if have_longpoll is true.
13 years ago
Con Kolivas
8c066c4257
If have_longpoll is enabled, then make it mandatory the longpoll thread is killed from the outside, avoiding the race of trying to kill off a longpoll
...
thread that has potentially exited already.
13 years ago