Con Kolivas
|
c7ffa58b26
|
Check for pool_disabled in wait_lp_current
|
12 years ago |
Con Kolivas
|
6fec07ab7e
|
Check for pool enabled in cnx_needed.
|
12 years ago |
Con Kolivas
|
6fa32c9246
|
Revert "Perform execv in a forked child process, waiting on the original to exit to allow resources to be released."
This reverts commit b0fa94d52a .
Loses control of the terminal.
|
12 years ago |
Con Kolivas
|
78d6bee137
|
Inverted sem_init logic.
|
12 years ago |
Con Kolivas
|
b0fa94d52a
|
Perform execv in a forked child process, waiting on the original to exit to allow resources to be released.
|
12 years ago |
Con Kolivas
|
f4a9a8e60c
|
Do avalon driver detection last as it will try to claim any similar device and they are not reliably detected.
|
12 years ago |
Con Kolivas
|
cc04d3abc7
|
Use a counting semaphore to signal the usb resource thread that it has work to do.
|
12 years ago |
Con Kolivas
|
185cac3ee9
|
Set devices to disabled after they exit the hashing loops to prevent the watchdog thread from trying to act on them.
|
12 years ago |
Con Kolivas
|
502c7bcb4e
|
Add avalon driver to hotplug.
|
12 years ago |
ckolivas
|
99b117be47
|
Scanhash functions perform driver shutdown so don't repeat it.
|
12 years ago |
ckolivas
|
5b9cf0f077
|
Send the shutdown message to threads and do the thread shutdown functions before more forcefully sending pthread_cancel to threads.
|
12 years ago |
Con Kolivas
|
6972ec62a7
|
Execute driver shutdown sequence during kill_work.
|
12 years ago |
Kano
|
2f94ec8025
|
usb separate thread for resource locking and modified windows locking code
|
12 years ago |
Con Kolivas
|
9650bfd6a3
|
Compile usbutils into avalon driver.
|
12 years ago |
Con Kolivas
|
44736b3012
|
Make submit_nonce return a bool for whether it's a valid share or not.
|
12 years ago |
Kano
|
1bb2cadfa6
|
thread shutdown is different on windows
|
12 years ago |
Con Kolivas
|
000c01dcae
|
Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
|
12 years ago |
Con Kolivas
|
a009f0422f
|
Must unlock curses as well in logwin_update.
|
12 years ago |
Con Kolivas
|
01fca3e756
|
Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
|
12 years ago |
Con Kolivas
|
bbb797067f
|
Check for *pth dereference on pthread_join
|
12 years ago |
Con Kolivas
|
04d530f36a
|
Make mining threads report out during work submission.
|
12 years ago |
Con Kolivas
|
bb3b227b9b
|
submit_work_async is no longer used directly by driver code.
|
12 years ago |
Con Kolivas
|
ecd03cefb7
|
Properly pthread_join miner threads on shutdown.
|
12 years ago |
Con Kolivas
|
894a3d64f0
|
Properly pthread_join miner threads on shutdown.
|
12 years ago |
Con Kolivas
|
3a2008ac61
|
Use a persistent single separate thread for stratum share submission that uses workqueues since all stratum sends are serialised.
|
12 years ago |
Con Kolivas
|
bd652a623e
|
Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work().
|
12 years ago |
Con Kolivas
|
830f30ff2d
|
Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work().
|
12 years ago |
Kano
|
fac3bf8722
|
add icarus to hotplug
|
12 years ago |
Kano
|
9f4a3a798d
|
Update documentation for icarus switch to USB
|
12 years ago |
Kano
|
6219f977f6
|
switch icarus configuration to usb
|
12 years ago |
Con Kolivas
|
4efe9ca82e
|
Attribute whatever stats we can get on untracked stratum shares based on current pool diff.
|
12 years ago |
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 |