Noel Maersk
bb5065b601
core: Remove two unused functions.
...
They were previously necessary to switch between SHA256d and Scrypt.
11 years ago
Noel Maersk
211da58a73
Remove a few stray ASIC defines.
11 years ago
Noel Maersk
83e52dfe78
api: remove references to FPGAs and ASICs.
11 years ago
Noel Maersk
71927bb0ba
misc: Add Martin Danielsen to AUTHORS.
11 years ago
Noel Maersk
b11ca3650a
Remove remaining references to have_opencl.
11 years ago
Noel Maersk
744e819117
Remove last references to opt_nogpu.
11 years ago
Martin Danielsen
11c20c87fa
core: Warn if GPU_MAX_ALLOC_PERCENT or GPU_USE_SYNC_OBJECTS is not set
...
...through export (Linux) or setx (Windows).
11 years ago
Martin Danielsen
31123de410
-g or --gpu-threads now support comma separated values, yaaay!
...
It is exactly what it says, now you can finally put that Frankenrig configuration in one file.
The parameter follows the same design as gpu-engine and gpu-memclock.
11 years ago
Noel Maersk
b4e36e69e8
Code cleanup after last two commits.
...
Display reject percentage in a fixed-width field.
11 years ago
Martin Danielsen
89663c7e94
Display reject percentage instead of absolute accepted/rejected values
...
Changed GPU status line from "A:xxxxx R:xxx" to "R:0.0%". It shows (rejected/(accepted+rejected))*100, which is the percentage of rejections for a GPU. Total accepted and rejected in top status is unchanged.
GPU status lines now show both threads and intensity.
11 years ago
Noel Maersk
f6f950273b
log: Change log_dateformat to log_show_date and make it bool.
11 years ago
Martin Danielsen
ba1c47781f
log: Added a switch to the log date and time format.
...
It is possible to switch back to full date and time on each log line with "--log-dateformat 1". The short time-only format is default with the value of 0.
Log with short time-only format looks like:
[23:59:59] Accepted 389c47d1 Diff 1.16K/512 GPU 0 pool 0
[00:00:16] Log date is now 2013-12-22
[00:00:16] Stratum from pool 0 detected new block
[00:00:33] Accepted 7a4950a4 Diff 536/512 GPU 0 pool 0
11 years ago
Martin Danielsen
fd8d465b02
core: Timeout on switching back to a pool after a broken connection lowered from 5 minutes to one minute.
11 years ago
Noel Maersk
1cb220781a
core: Clarify --scrypt deprecation message.
11 years ago
Benjamin Herrenschmidt
9b8a7319c0
core: Add back a dummy --scrypt option
...
Removing it means existing shell scripts fail unless they are updated
to remove passing the option. Instead, just print a deprecation
warning.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
11 years ago
Noel Maersk
199cb10e18
HAVE_OPENCL is mandatory, remove checks form code an build system.
11 years ago
Noel Maersk
fd57382ef7
Remove USE_USBUTILS define clauses.
...
This software shall not support USB devices. They should be handled
by different software. Inter-software compatibility (such as stats
pulling) should be maintained on an API level.
11 years ago
Noel Maersk
664fc33b0c
Remove code for Bitcoin GPU kernel execution.
11 years ago
Noel Maersk
323af83fdb
Remove define-clauses for USE_SCRYPT.
11 years ago
Noel Maersk
95586f72f0
Squash-merge branch dead-end with unnecessary check removals.
11 years ago
Noel Maersk
37cd3fb04c
Get rid of several opt_scrypt checks.
...
--scrypt will eventually become a default, and is the only reason to use this
version of cgminer.
11 years ago
Con Kolivas
757fcb3df6
Do all hotplug_process under the write mining_thr_lock
11 years ago
Con Kolivas
2489b2aeba
Fix for opt_worktime on big endian machines.
11 years ago
Con Kolivas
463e366c8d
Correct set_blockdiff for big endian machines.
11 years ago
Con Kolivas
043e9d9bab
Make sure cgpu exists in the restart threads loop in cases of hotplug etc.
11 years ago
Con Kolivas
c030439d0b
Do get_work in fill_queue without holding other locks.
11 years ago
Con Kolivas
4a620cce44
Initialise usb after all the locks and conditionals are initialised.
11 years ago
Con Kolivas
aa9938973e
Use only a trylock in flush queue to prevent deadlocks.
11 years ago
Con Kolivas
609ca9292a
Scale diff for scrypt when testing for block solves.
11 years ago
Con Kolivas
c5b10a6cf3
Fix for non curses build.
11 years ago
Con Kolivas
e3ed101ce8
Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
11 years ago
Con Kolivas
6c2a8d8be7
Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
11 years ago
Con Kolivas
c9b54f1502
Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
11 years ago
Con Kolivas
a077c9f9a4
Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
11 years ago
Con Kolivas
3f9ccc1b27
Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
11 years ago
Con Kolivas
31df767cc7
Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
11 years ago
Con Kolivas
819406714a
Remove discarded work from quota used.
11 years ago
Con Kolivas
c3854378e1
Display works completed in summary and API data.
11 years ago
Con Kolivas
8e1ec8bd43
Store how many work items are worked on per pool.
11 years ago
Con Kolivas
ab1e9404a7
Make each pool store its on reference for what the most current block is and fine tune management of block change in shared pool failover strategies using the information.
11 years ago
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.
11 years ago
Con Kolivas
e6a5068470
show_hash doesn't know the size of the string so hard code the max size.
11 years ago
Con Kolivas
57d6a6f697
Remove as many initial zeroes as exist on share display, abstracting out a hash show function to use across different submission mechanisms.
11 years ago
Con Kolivas
876a83024d
Sanity check for absurd target setting and divide by zero.
11 years ago
Con Kolivas
21bdcdd6b3
Abstract out conversion of a 256 bit endian number to a double, correcting errors and use it for determining any magnitude share diff.
11 years ago
Con Kolivas
759bd39f17
Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
11 years ago
Con Kolivas
e95b42ea54
Add a sanity check to avoid divide by zero crashes in set_target
11 years ago
Con Kolivas
8abe9d4e39
Calculate diff from target accurately for all 256 bits.
11 years ago
Con Kolivas
8d61ee2455
Set a true 256bit binary target based on any diff value in set_target()
11 years ago
Con Kolivas
61297399de
Provide a copy_work_noffset function for copying a work struct but changing its ntime.
11 years ago