Con Kolivas
|
188210a3d2
|
Add a ms_to_timespec helper function, and create a cgsleep_ms function that uses absolute timers with clock_nanosleep to avoid overruns.
|
12 years ago |
Con Kolivas
|
f3b75b0b12
|
Add rt lib linkage to enable use of clock_nanosleep functions with older glibc.
|
12 years ago |
Con Kolivas
|
37ff9f8428
|
Add necessary time header include to avalon driver.
|
12 years ago |
Con Kolivas
|
1864ed2634
|
Do a sleep of the full duration it would take to do all the work using clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to see if it's ready.
|
12 years ago |
Con Kolivas
|
fe7c8e8269
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
12 years ago |
Con Kolivas
|
3da121ba15
|
Merge pull request #477 from someone42/master
Changes to queueing strategy for BitBurner boards
|
12 years ago |
Con Kolivas
|
99cbf09dd1
|
Add a timeraddspec helper function.
|
12 years ago |
Con Kolivas
|
1bcd9a43b1
|
Provide a us_to_timespec helper function.
|
12 years ago |
Con Kolivas
|
33bb8c7958
|
Use the us_to_timeval helper function in the avalon driver.
|
12 years ago |
Con Kolivas
|
2278204ddd
|
Provide a us_to_timeval helper function.
|
12 years ago |
Con Kolivas
|
53beae814d
|
Use timeval_to_spec helper in avalon driver.
|
12 years ago |
Con Kolivas
|
a6b1c31742
|
Add helper functions to convert timespec to timeval and vice versa.
|
12 years ago |
Chris Chua
|
26de6e64be
|
simplifying buffer full check
|
12 years ago |
Chris Chua
|
0b9474f3a2
|
forking bitburner write thread function
|
12 years ago |
Chris Chua
|
be0d899b74
|
making sure original Avalon is unaffected by BitBurner changes
|
12 years ago |
Chris Chua
|
2b932ccb81
|
changes to queueing strategy for BitBurner boards
|
12 years ago |
Con Kolivas
|
1bb6dd406a
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
12 years ago |
Con Kolivas
|
f3f939dd83
|
Do not poll in avalon_get_results without sleeping if we have finished parsing a full result.
|
12 years ago |
kanoi
|
f3837916fd
|
Merge pull request #476 from kanoi/master
avalon for timeout allow d='calculate it' and fix uninitialised
|
12 years ago |
Con Kolivas
|
61cb05a963
|
Add c to ambient temperature display for avalon driver.
|
12 years ago |
Kano
|
356fcb107a
|
BTB allow up to 1400mV as per firmware limits
|
12 years ago |
Kano
|
51aaf816ef
|
avalon for timeout allow d='calculate it' and fix uninitialised
|
12 years ago |
Con Kolivas
|
3fe8948629
|
Use cloned work when finding avalon results since another thread can discard the work item while it's in use.
|
12 years ago |
Con Kolivas
|
98e338cc52
|
Provide a variant of find_work_bymidstate that returns a clone of the found work.
|
12 years ago |
Con Kolivas
|
853f145eef
|
Bump version number to 3.3.4
|
12 years ago |
Con Kolivas
|
730d062636
|
Update NEWS.
|
12 years ago |
kanoi
|
c9f58230a5
|
Merge pull request #475 from kanoi/master
API/miner.php add some % fields
|
12 years ago |
Kano
|
6b62c402fa
|
API/miner.php add some % fields
|
12 years ago |
Con Kolivas
|
e95ad0479f
|
Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex.
|
12 years ago |
Con Kolivas
|
dd9233f78b
|
The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll.
|
12 years ago |
Con Kolivas
|
b2a3941ef1
|
Fix warning.
|
12 years ago |
Con Kolivas
|
992a97a396
|
Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code.
|
12 years ago |
Con Kolivas
|
1d614599a7
|
Add room for the null byte at the end of the nonce2 string on stratum share submission and zero the allocated ram.
|
12 years ago |
Con Kolivas
|
07adb98b34
|
Bump version to 3.3.3
|
12 years ago |
Con Kolivas
|
8876fc33d2
|
Update NEWS for upcoming version 3.3.3
|
12 years ago |
Con Kolivas
|
c8aac74114
|
Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation.
|
12 years ago |
Con Kolivas
|
87ae66c7e6
|
Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation.
|
12 years ago |
Con Kolivas
|
34bc106d82
|
Export the workpadding char in miner.h
|
12 years ago |
Con Kolivas
|
46b6b07afa
|
Avoid a potential overflow should a pool specify a large nonce2 length with stratum.
|
12 years ago |
Con Kolivas
|
0379123bc1
|
Avoid one more hex2bin in gen stratum work.
|
12 years ago |
Con Kolivas
|
11bcf2b3fb
|
Rename work gbt_coinbase to coinbase to be in line with pool variable name.
|
12 years ago |
Con Kolivas
|
5237bf350d
|
Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
|
12 years ago |
Con Kolivas
|
8bc469e916
|
Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation.
|
12 years ago |
Con Kolivas
|
8c8ef6ff9b
|
Rename pool gbt_coinbase variable to coinbase to combine it with the stratum coinbase data.
|
12 years ago |
Con Kolivas
|
c542e47aa3
|
Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
|
12 years ago |
Con Kolivas
|
c48e28a8d0
|
Merge pull request #474 from kanoi/master
cgsem - increase information on failure
|
12 years ago |
Kano
|
eca6ace2d5
|
util.c update quit call for new functions
|
12 years ago |
Kano
|
bab9ba9603
|
use correct define for OSX in util.c
|
12 years ago |
Kano
|
309cb2242b
|
miner.h inline semaphores increase information on failure
|
12 years ago |
Kano
|
bd3612c104
|
util.c expand quit to show file/func/line
|
12 years ago |