1238 Commits (75726f6e000f1641dbb62de3149728236b6560c7)

Author SHA1 Message Date
Con Kolivas 3f24653f56 Provide a --lowmem option which does not cache shares on failed submission to prevent low memory hardware (eg Avalon) from crashing. 12 years ago
Con Kolivas 1a7a87c2a6 Use a discrete device target for scrypt that dynamically changes to ensure we still report a work utility even if no shares are submitted such as in solo mining. 12 years ago
Con Kolivas 2fb6637b5a Make set_work_target a function to set a specified char as target for use elsewhere. 12 years ago
Con Kolivas 0b6ee62cc4 Further consolidate the hash regeneration between sha and scrypt doing it only once and always checking the share diff for both before submission. 12 years ago
Con Kolivas 9a76db8db9 Regenerate the hash before checking the share diff in hashtest(). 12 years ago
Con Kolivas 79dd9dfe13 Use a scantime of 30 seconds for scrypt if none is specified. 12 years ago
Con Kolivas a923b7d3f0 Update the write config to properly record device entries and remove disabled option. 12 years ago
Kano 6cef9f423d cgminer correct applog typing 12 years ago
Kano 8f08a327ca applog - force type checking 12 years ago
Con Kolivas 8b2118b143 Clean up summary slightly better on exit. 12 years ago
Con Kolivas 3d835fc3e9 Fix build and distdir. 12 years ago
Con Kolivas f4b2790761 Remove all CPU mining code. 12 years ago
Con Kolivas 856aa49c9c Use copy_time helper throughout cgminer.c 12 years ago
Con Kolivas d2abaa8317 Provide wrappers for commonly used timer routines with API stats. 12 years ago
Con Kolivas 170a4aeb26 Avoid one cgtime call in sole_hash_work. 12 years ago
Con Kolivas 4597c0a17e Provide endian_flipX functions to avoid special casing big endian in cgminer.c 12 years ago
Con Kolivas 8d81f1d207 Provide a flip128 helper to simplify big endian flipping. 12 years ago
Con Kolivas c351f8d8d3 Use flip helpers to simplify code for calculation of midstate. 12 years ago
Con Kolivas f50ae46850 Use flip32 function instead of open coding it in gen_stratum_work. 12 years ago
Con Kolivas bb964b4b99 Replace gettimeofday usage in cgminer.c with cgtime 12 years ago
ckolivas 5315838d2d Restart threads on the rare chance we found the block ourselves. 12 years ago
Con Kolivas a3bbe0e116 Set last device valid work on adding device. 12 years ago
Con Kolivas 3fa4a9f55f Increment last device valid work count in submit_nonce to cover scrypt. 12 years ago
Con Kolivas c1ff90a7ab Do testing for HW errors on submit nonce for both scrypt and sha. 12 years ago
Con Kolivas 6b714dd431 Increment hardware error count from the one site. 12 years ago
Con Kolivas a6250fbb96 Rename scrypt regenhash function for consistency. 12 years ago
Con Kolivas daea9c95a7 Add new best share info to verbose logging. 12 years ago
Con Kolivas 1a7fc4e9cc Add notice for when network diff is changed. 12 years ago
Con Kolivas b4bc5e2b13 Check for work restart after disable in the hash queued work loop since it may be a long time before we re-enable a device. 12 years ago
Con Kolivas d41d210b03 Set device_diff for queued work or there will be no diff1 share count. 12 years ago
Con Kolivas 67ebf45c19 Avoid applog under cg_wlock. 12 years ago
Con Kolivas 8d22ca1ac1 Put spacing around locking code for clarity. 12 years ago
Con Kolivas 3209c113d1 Avoid applog under pool_lock. 12 years ago
Con Kolivas 51fbcfed6d Avoid more recursive locks. 12 years ago
Con Kolivas b948669a4f Avoid applog while ch_lock is held. 12 years ago
Con Kolivas 29f0ac77da Avoid recursive locks in fill_queue. 12 years ago
ckolivas 6400088f7a Fix warning on 32bit. 12 years ago
ckolivas 7231f7f92d Fix warning on 32bit. 12 years ago
Con Kolivas 220eb85818 Rationalise and simplify the share diff and block solve detection to a common site. 12 years ago
Con Kolivas 5c7a32fde8 Rationalise and simplify the share diff and block solve detection to a common site. 12 years ago
Con Kolivas d86f7b7741 Fix warning with no curses built in. 12 years ago
Con Kolivas e9b6ff8f6a Fix warning with no curses built in. 12 years ago
Con Kolivas 7783ab5631 Only get extra work in fill_queue if we don't have any unqueued work in the list. 12 years ago
Con Kolivas 97bad1eef6 Only get extra work in fill_queue if we don't have any unqueued work in the list. 12 years ago
Kano 8959f8d0ae cgminer.c -S help to only say Icarus 12 years ago
Con Kolivas 180230220f Rneame avalon_api to avalon_drv. 12 years ago
Con Kolivas 71bae003bc First draft of port of avalon driver to new cgminer queued infrastructure. 12 years ago
Con Kolivas e9a65bba40 Only update hashrate calculation with the log interval. 12 years ago
Con Kolivas 97a9172370 Update the total_tv_end only when we show the log to prevent failure to update logs. 12 years ago
James Z.M. Gao c9ae715019 Compile CPU mining for win32 and win64 12 years ago