223 Commits (d83d7bd3864771460ae3d49d90e716c66b50b62e)

Author SHA1 Message Date
Noel Maersk 6ea3b93809 core: fix build error due to CGMINER_PREFIX reference. 11 years ago
Noel Maersk 5b977125fa misc: Replace many (but not all) instances of 'cgminer' with 'sgminer'. 11 years ago
Con Kolivas 350fe7f135 Minimise risk of nonce2 overflow with small nonce2 lengths by always encoding the work little endian, and increasing the maximum size of nonce2 to 8 bytes. 11 years ago
Con Kolivas 79521fe8f0 Initialise devices before attempting to connect to pools to allow their thread prepare function to be called before having to connect to pools. 11 years ago
Con Kolivas 05d69bf75c Provide a function to discard queued work based on age. (NOTE: may be unused) 11 years ago
Con Kolivas 7dd8b316ac Prevent a deadlock with use of restart_threads by spawning a thread to send the driver flush work messages. 11 years ago
Con Kolivas 39121183e1 Set priority of various threads if possible. 11 years ago
Con Kolivas e9f20f5e0b Do not hold the mining thread lock in restart_threads when calling the driver flush work commands. 11 years ago
Con Kolivas b5eddd1159 Don't run device restart code if the device is not enabled. 11 years ago
Con Kolivas 9ed6c3b1b5 Provide a function for setting the work ntime. 11 years ago
Con Kolivas f1902fe6ac We can't connect to a GBT pool at all with fix protocol enabled. 11 years ago
Noel Maersk cb806d2437 core: Display difficulty in cgminer style, not true network difficulty (for consistency within the interface). 11 years ago
Con Kolivas cd7f6ed56a Initialise the stgd lock mutex earlier to prevent dereferences when pool testing occurs before it. 11 years ago
Con Kolivas 694a98ece3 --shares should be scaled to diff1 not absolute number of shares 11 years ago
Con Kolivas cd03fcdf2d Reset the work_restart bool after the scanwork loop in case the driver flushes work synchronously. 11 years ago
Con Kolivas 75c5ac0457 Only check for the stratum clean message if we have had a valid message. 11 years ago
Con Kolivas d38802a68f Get rid of the stage thread since all work can be asynchronously added now via hash_push anyway. 11 years ago
Con Kolivas c9bf06d19b Break out of the hash work loops when a failure is detected instead of dropping into mt disable. 11 years ago
ckolivas d9b3037e4b Fix build for no libcurl 11 years ago
Noel Maersk e4680ab627 core: allow changing TCP keepalive packet idle time using `tcp-keepalive` command-line option or config-file option. 11 years ago
Noel Maersk bb5065b601 core: Remove two unused functions. 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 11 years ago
Martin Danielsen 31123de410 -g or --gpu-threads now support comma separated values, yaaay! 11 years ago
Noel Maersk b4e36e69e8 Code cleanup after last two commits. 11 years ago
Martin Danielsen 89663c7e94 Display reject percentage instead of absolute accepted/rejected values 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. 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 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. 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. 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