Kano
e5b856be4e
Remove extra not needed trash :)
13 years ago
Kano
dab9b7e477
Define in_addr_t in windows if required
13 years ago
Kano
95e1e195ac
sys/wait.h not required in windows
13 years ago
Kano
f19e67fe3a
Allow API to restrict access by IP address
13 years ago
Kano
93f4e991ae
Add pool switching to example miner.php
13 years ago
Con Kolivas
63777c9d30
Bump version to 2.2.3 with NEWS.
13 years ago
Con Kolivas
e0540bd44a
Revert "Rewrite the convoluted get_work() function to be much simpler and roll work as much as possible with each new work item."
...
This reverts commit dec99ab739
.
This seems to cause a race on work in free_work(). Presumably other threads are still accessing the structure.
13 years ago
Con Kolivas
2db367e732
Bump version to 2.2.2
13 years ago
Con Kolivas
04b6ec948f
Curses needs to be included before stdbool to compile properly with pdcurses on mingw32.
13 years ago
Con Kolivas
aa8552a146
Update NEWS.
13 years ago
Con Kolivas
4301351402
Merge pull request #104 from kanoi/master
...
Return last accepted share pool/time for devices
13 years ago
Con Kolivas
de4c6c29d7
Provide support for the submitold extension on a per-pool basis based on the value being detected in a longpoll.
13 years ago
Con Kolivas
1dff4297fa
Don't send a ping to a dynamic device if it's not enabled as that will just enable it for one pass and then disable it again.
13 years ago
Con Kolivas
dec99ab739
Rewrite the convoluted get_work() function to be much simpler and roll work as much as possible with each new work item.
13 years ago
Con Kolivas
a3e77937c8
Roll as much work as possible from the work returned from a longpoll.
13 years ago
Con Kolivas
eff9fe43b2
Rolling work on each loop through the mining thread serves no purpose.
13 years ago
Con Kolivas
d42d0c8ebd
Allow to stage more than necessary work items if we're just rolling work.
13 years ago
Con Kolivas
b9612715aa
Replace divide_work with reuse_work function used twice.
13 years ago
Con Kolivas
0307f9bb4e
Give rolled work a new ID to make sure there is no confusion in the hashtable lookups.
13 years ago
Con Kolivas
22526399d4
Remove unused header include.
13 years ago
Con Kolivas
d991a09e53
Remove now-defunct hash_div variables.
13 years ago
Con Kolivas
e57ac0177f
Remove unused get_dondata function.
13 years ago
Con Kolivas
c72a8b8cc9
Silence ADL warnings.
13 years ago
Con Kolivas
36d2fa485c
Silence unused parameter warnings.
13 years ago
Con Kolivas
294ac0b6bf
Stagger the restart of every next thread per device to keep devices busy ahead of accessory threads per device.
13 years ago
Con Kolivas
82f74af533
Deprecate the --donation feature.
...
Needlessly complex, questionable usefulness, depends on author's server and a central pool of some kind, and was not heavily adopted.
13 years ago
Con Kolivas
488a3b7338
It's devices that report back now, not threads.
13 years ago
Con Kolivas
23685aa41e
Continue auto-management of fan and engine speeds even if a device is disabled for safety reasons.
13 years ago
Con Kolivas
f8fed37e02
No need to check we're highest performance level when throttling GPU engine speed.
13 years ago
Con Kolivas
01659bcc6c
Abstract out tests for whether work has come from a block that has been seen before and whether a string is from a previously seen block.
13 years ago
Kano
03630c37d3
Update example web miner.php to use new API commands
13 years ago
Kano
4a714cb1f3
Bug intensity always shows GPU 0
13 years ago
ckolivas
13fa5772ad
Probe but don't set the timeout to 15 seconds as some networks take a long time to timeout.
13 years ago
ckolivas
1832b20c40
Revert "Some networks can take a long time to resolve so go back to 60 second timeouts instead of 15."
...
This reverts commit c86a670ce6
.
This changed more than just the timeout.
13 years ago
Kano
1f0a8a69db
Display accepted share pool/time for CPUs
13 years ago
Kano
096946407f
Return last accepted share pool/time for devices
13 years ago
Con Kolivas
f818c3f643
Merge pull request #103 from kanoi/master
...
Add last share's pool info in cgpu_info for use by RPC API code.
13 years ago
Kano
42fcbf7c9c
Remove most compiler warnings from api.c
13 years ago
Kano
0ebc0c9d8a
Add last share's pool info in cgpu_info
13 years ago
ckolivas
53c1e9ae37
Allow the OpenCL platform ID to be chosen with --gpu-platform.
13 years ago
ckolivas
a4f47812ff
Iterate over all platforms displaying their information and number of devices when --ndevs is called.
13 years ago
ckolivas
a1d230e879
Deprecate main.c
13 years ago
ckolivas
c86a670ce6
Some networks can take a long time to resolve so go back to 60 second timeouts instead of 15.
13 years ago
ckolivas
cda798d91b
Only enable curses on failure if curses is desired.
13 years ago
Con Kolivas
060ff71907
Merge pull request #102 from luke-jr/bugfix_bitforce_linux_rw
...
Bugfix: Need to open BitForce tty for read-write
13 years ago
ckolivas
6eee0e3874
Fix warnings in bitforce.c
13 years ago
Luke Dashjr
2f903b5d77
Bugfix: Need to open BitForce tty for read-write
13 years ago
ckolivas
7d97ed6dd6
Fix various build issues.
13 years ago
zefir
e0b0a6c030
Modularize code: main.c -> device-cpu + device-gpu
...
This patch is an initial attempt to re-structure cgminer source
code from its monolithic design (with nearly all code being
concentrated in main.c) to a more modular one.
In this first stage, the conditionally compiled functions for
GPU and CPU mining were extracted into dedicated files:
* device-cpu.h and device-cpu.c covering WANT_CPUMINE functions
* device-gpu.h and device-gpu.c covering HAVE_OPENCL functions
The main.c file is left untouched as reference, while the
remainder without the extracted parts is located in cgminer.c.
The Makefile.am has been updated to use the re-structured
source files for the build.
Above pure re-structuring *NO* functional modifications were
made. The sources were tested to compile and run on on a
current Linux system with working CPU and GPU mining
(Bitforce not tested due to loack of hardware).
13 years ago
ckolivas
55f693a80c
Revert Makefile.am component for easier merge of upcoming changes.
13 years ago