troky
fd35c77c82
Kernel include path fix.
11 years ago
troky
6971ce6fe0
logging spaces/indentation
11 years ago
troky
cbc22823df
Removed trailing slashes from folder paths to avoid kernel building under Windows (MSVS).
11 years ago
troky
9f6bf16196
Refactored logging. Increased default log buffer size.
11 years ago
Jan Berdajs
d8d8ba8f33
adl spaces indentation
11 years ago
Jan Berdajs
d818014838
index was into cgpu threads, not into global mining threads
11 years ago
Jan Berdajs
3cbfe2547f
fix bug where device is not restarted after overheating and cooling off
11 years ago
platinum4
280a64e537
Squelch "Network diff set" unless --more-notices
...
space " "
11 years ago
Jan Berdajs
25d7d426fd
convert tabs to spaces in most commonly modified files
11 years ago
Jan Berdajs
2ea8f5d018
just in case, read-lock devices
11 years ago
Jan Berdajs
9fdd23e6ff
since mining_threads count can change, we need to lock more carefully and get_thread function is not helpful anymore
11 years ago
Jan Berdajs
2877e8d49c
of course it needs to be a write lock! fixes segfault
11 years ago
Jan Berdajs
d1f7ef6133
is already locked at this point
11 years ago
Jan Berdajs
954c0e6fbc
fix opt_kernel_path writing over the allocated memory! also some small changes for more robust hard restart
11 years ago
Jan Berdajs
77c996858b
fix compiler warning and indentation
11 years ago
platinum4
a5fd98c832
declare opt_morenotices;
11 years ago
platinum4
0f9bf18172
Add option --more-notices & shorten stale submit
11 years ago
Jan Berdajs
ff05aacdc3
attempt to fix memory issues when doing curl calls
...
From curl CURLOPT_ERRORBUFFER docs: You must keep the associated storage available until libcurl no longer needs it. Failing to do so will cause very odd behavior or even crashes. libcurl will need it until you call curl_easy_cleanup(3) or you set the same option again to use a different pointer.
11 years ago
Jan Berdajs
ff787bcfbd
add docs about the new hamsi-expand-big setting
11 years ago
Jan Berdajs
e134ab75ad
move algorithm-specific OpenCL compile options into algorithm_t
11 years ago
Jan Berdajs
881355d873
add --hamsi-expand-big option for setting EXPAND_BIG in X13 kernels
11 years ago
Jan Berdajs
5e3142cf68
remove unused code (mostly intended for ASICs which are not supported in sgminer), fix some compiler warnings
11 years ago
Jan Berdajs
cabbd7362f
refactor initCl more
11 years ago
troky
a564c24a4d
MSVS: project cleanup and reorder.
11 years ago
Jan Berdajs
d04c096403
add ocl/ files to MSVC project
11 years ago
Jan Berdajs
e5779e1e26
move algorithms into separate folder
11 years ago
Jan Berdajs
c25a59bab1
refactor building/loading/saving OpenCL kernel
11 years ago
troky
04c0aeed3e
MSVS: Removed Curl includes from sgminer tree as they are provided from Curl source archive.
11 years ago
troky
bc1c620b07
MSVS: Updated libcurl Makefile to v7.37.0
11 years ago
Jan Berdajs
6152638dd7
fix compile without ADL
11 years ago
Jan Berdajs
518d6e9eca
Merge pull request #236 from Blagodarenko/v5_0
...
fix "diff 0.000/0.000"
11 years ago
blagodarenko
1bca4a7921
fix "diff 0.000/0.000"
11 years ago
troky
1bb452e321
Fixed kernel path bug introduced in 8198286597
11 years ago
Jan Berdajs
e3290db1bb
Merge pull request #231 from tupieurods/feature
...
Total uptime drop fix
11 years ago
Anatoly
32824e56a0
Total uptime drop fix
11 years ago
troky
1f73ae040e
Merge branch 'v5_0' of https://github.com/sgminer-dev/sgminer into v5_0
11 years ago
troky
8198286597
Fixed MSVS build.
11 years ago
troky
2588394e32
Added null-termination for kernel build log.
11 years ago
Jan Berdajs
00d17d16fe
fix segfault (watchdog thread declares threads sick and tries to restart them while they are already being restarted)
11 years ago
Noel Maersk
a5bec2b999
Merge branch 'dejavusec' into v5_0
...
Fixes for a few security vulnerabilities reported by Mick Ayzenberg
of DejaVu Security.
11 years ago
Noel Maersk
910c360899
stratum: parse_notify(): Don't die on malformed bbversion/prev_hash/nbit/ntime.
...
Might have introduced a memory leak, don't have time to check. :(
Should the other hex2bin()'s be checked?
Thanks to Mick Ayzenberg <mick.dejavusecurity.com> for finding this.
11 years ago
Noel Maersk
4f387321ce
misc: update AUTHORS.md, add CR to sgminer.c, minor style.
11 years ago
Noel Maersk
78cc408369
stratum: parse_reconnect(): treat pool-sent URL as untrusted.
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for reminding
that this existed and highlighting the offender.
Also to Luke-jr for actually fixing this in bfgminer. :D
11 years ago
Luke Dashjr
b65574bef2
Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
11 years ago
Luke Dashjr
bac5831b35
Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated)
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
11 years ago
Jan Berdajs
f0e47ec8ec
make sure reinit_device cannot happen while algo switching, which would probably result in segfault
11 years ago
Jan Berdajs
e58cd00db7
fix bug in thread_reportin (watchdog can detect getwork is false before thr->last is set), and a few cosmetic changes
11 years ago
troky
b8a1c1f660
MSVS compatibility update.
11 years ago
troky
68c54c226c
Partially reverting e4a4efdb42
to keep MSVS compatibility.
11 years ago
Jan Berdajs
e4a4efdb42
fix some potential memory leaks, remove a few old unused functions
11 years ago