1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 06:18:06 +00:00
Commit Graph

6158 Commits

Author SHA1 Message Date
Noel Maersk
ae941268bd tools: update_changelog.sh and entire ChangeLog. 2014-06-27 17:54:05 +03:00
Noel Maersk
5cc43f2f16 misc: ChangeLog typo.
Testing IRC commit bot.
2014-06-06 02:50:09 +03:00
Noel Maersk
411a41354e Merge branch 'dejavusec-backport'
Cherry-picked from v5_0.

Fixes for a few security vulnerabilities reported by Mick Ayzenberg of DejaVu Security.
2014-06-06 00:20:41 +03:00
Noel Maersk
ae7dbca783 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.
2014-06-06 00:20:07 +03:00
Noel Maersk
cab6e28b12 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
2014-06-06 00:19:59 +03:00
Luke Dashjr
91d29ea972 Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
2014-06-06 00:19:51 +03:00
Luke Dashjr
44e770904e 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!
2014-06-06 00:19:48 +03:00
troky
1bd9636602 Fixed found blocks calculation. 2014-05-27 11:41:17 +02:00
troky
b08782f0bf Merge pull request #214 from sterlingpickens/patch-1
initial_args warning
2014-05-27 08:52:59 +02:00
sterlingpickens
812efe4abc initial_args warning
Remove #ifdef WIN32 "static const char *" appears to be ok for all platforms.
2014-05-26 23:26:27 -07:00
sterlingpickens
246615f238 initial_args warning
Provide for WIN32 and non-WIN32 condition for initial_args malloc (compiler warning)
and remove redundant static.
2014-05-26 19:53:27 -07:00
Noel Maersk
c46c913d1c doc: mention optional name/desc/algo for addpool. 2014-05-24 04:06:17 +03:00
Noel Maersk
49eae16e7a doc: NEWS.md typo. 2014-05-22 19:41:16 +03:00
Noel Maersk
76c462d0df Bump version to 4.2.1. 2014-05-22 19:37:08 +03:00
troky
22a3c5b6fe Reverting 83d71da. VS2010 fix. 2014-05-22 09:55:43 +02:00
Jan Berdajs
addc411376 Merge pull request #212 from Fcases/master
Added ultratune
2014-05-22 00:13:17 +02:00
Frank
8fe9b0a175 Added ultratune 2014-05-21 17:42:45 -04:00
Noel Maersk
87ece62013 Bump version to 4.2.0. 2014-05-20 19:22:11 +03:00
Noel Maersk
9fd94b5c22 doc: list kernels alphabetically. 2014-05-20 19:08:09 +03:00
Noel Maersk
67763bf6f2 Merge remote-tracking branch 'bufius/master' 2014-05-20 19:01:13 +03:00
Bufius
0b0a3ed834 core. include check in ocl.c regarding lookup-gap for kernel 'bufius'
doc: change documentation
2014-05-19 18:42:16 +02:00
Bufius
6d5e7bdd31 add credits 2014-05-18 14:17:29 +02:00
Bufius
292ede3338 format code 2014-05-18 13:48:26 +02:00
Bufius
3c14f0a753 slightly improved performance, works with LG of 2, 4 and 8 2014-05-18 13:41:53 +02:00
Noel Maersk
ecfd497467 core: remove second-to-last remnants of hotplug.
If you grep hotplug, you'll find two more occurences as a function
argument, but it's unused.
2014-05-11 17:28:25 +03:00
elbandi
e32dcd7190 Mark pool as idle if stratum restart is failed 2014-05-08 00:04:01 +02:00
elbandi
98676763b9 Set the pool idle and switch pool, if need 2014-05-08 00:02:39 +02:00
elbandi
c469ff923a Disconnect from pool, if auth is failed 2014-05-08 00:02:03 +02:00
Noel Maersk
3eb22b215e api: write xintensity and rawintensity using api_add_int(). 2014-05-08 00:08:25 +03:00
Noel Maersk
d27e8691e1 api: Add XIntensity and RawIntensity to devs output. 2014-05-07 23:39:06 +03:00
Noel Maersk
5b054542db config: Don't write commas if not needed, default to opt_algorithm when adding pool without one set explicitly. 2014-05-05 15:34:02 +03:00
Noel Maersk
f3df639ad4 Merge pull request #203 from sterlingpickens/master
Silence build warning, fix code typo.
2014-05-02 20:48:43 +03:00
sterlingpickens
ff45bb3a85 Update configure.ac
#include <unistd.h> no #include <process.h>
needed in linux, fixes make warning
2014-05-02 09:44:10 -07:00
sterlingpickens
83d71da225 Update sgminer.c 2014-05-02 09:36:35 -07:00
sterlingpickens
89c1411fde Update driver-opencl.c 2014-05-02 09:32:57 -07:00
Noel Maersk
bfff79c3b0 Merge branch 'api-quit' 2014-04-27 19:14:54 +03:00
Noel Maersk
eb53e32d16 misc: add API restart/quit changes to NEWS.md. 2014-04-25 17:42:23 +03:00
Luke Dashjr
3a6c1c8bb0 RPC: Provide a full status section for quit/restart commands 2014-04-25 17:40:52 +03:00
Noel Maersk
828aa7b097 misc: update NEWS.md with changes from api-compatibility branch. 2014-04-25 13:56:38 +03:00
Noel Maersk
2f3e08a12c Merge branch 'api-compatibility' 2014-04-25 01:22:05 +03:00
Noel Maersk
47d00ee524 api: add missing header.
Imlicit declarations (using get_pool_name() without including pool.h)
produces a warning for me and AFAIR breaks compilation for someone else.
2014-04-24 21:54:02 +03:00
Luke Dashjr
5bd5b07e15 RPC: Add "Miner" to version response to include software name along with version 2014-04-24 21:28:35 +03:00
Noel Maersk
897ca9fd4c Merge pull request #200 from Elbandi/poolnamefix
Use get_pool_name everywhere
2014-04-24 15:15:54 +03:00
Elbandi
973dcefa8c Use get_pool_name everywhere 2014-04-24 12:09:56 +02:00
Noel Maersk
b090ac9302 misc: veox can no longer actively maintain this software. 2014-04-23 14:26:04 +03:00
Noel Maersk
3d7167ce2c config: improve pool section writing.
Order so JSON's not broken, write `priority` and `algorithm`.

Closes #102.
2014-04-18 17:31:06 +03:00
Noel Maersk
e42f77d9c1 misc: moved from veox/sgminer to sgminer-dev/sgminer 2014-04-17 16:23:27 +03:00
Noel Maersk
7bc0be03d4 misc: FAQ cleanup. 2014-04-14 22:50:48 +03:00
Noel Maersk
b2462e6076 misc: Add Michael Fiano <mfiano> to AUTHORS.md.
Tested tecent name/desc/algo additions to API, helped find a segfault
condition.
2014-04-12 19:33:59 +03:00
Noel Maersk
f5709910fb api: Bugfix, bump version to 4.1.271, initialise name/desc/algo in addpool() so checks for NULL work.
Otherwise API "addpool|a,b,c" command segfaults (access uninitialised
memory address).
2014-04-12 19:28:23 +03:00