Noel Maersk
0e7fd54c0f
Revert "thread shutdown is different on windows"
...
This reverts commit 1bb2cadfa6
.
11 years ago
Noel Maersk
47a98cde9f
core: use pool->name instead of pool->poolname in code merged from `port-ckolivas`.
11 years ago
Noel Maersk
952c033ef2
build: move error check to after summary in configure.ac.
...
Otherwise, if OpenCL is not found, the rest of the summary is not
printed.
11 years ago
Noel Maersk
bafc71345c
Merge remote-tracking branch 'origin/port-ckolivas' into build-mingw
...
Conflicts (resolved):
NEWS.md
logging.h
sgminer.c
11 years ago
Noel Maersk
473141de65
doc: update cross-compilation instructions for MinGW.
11 years ago
Noel Maersk
9a2b9286e2
misc: update NEWS.md with reference to mailing lists and duplicate entry removal.
11 years ago
Noel Maersk
a57f841570
Revert "fix for mingw-w64"
...
This reverts commit 32b13ccb46
.
Reported by Wolf0 (aka wolf9466) to not break MinGW 64-bit compilation
with GCC 4.8.2 (latest stable).
11 years ago
Noel Maersk
e1b944ea41
doc: update README.md with links to mailing lists.
11 years ago
Noel Maersk
2724091ed3
doc: minor README wording.
11 years ago
Noel Maersk
9e97ccd754
adl/misc: remove unused lpAdlDisplayInfo (silence GCC warning).
11 years ago
Noel Maersk
db0f7cf6f0
core: silence gcc warning about sprintf() use in add_pool() - this time for sure.
11 years ago
Noel Maersk
524833f684
adl/misc: remove unused iNumDisplays.
...
Silence gcc warning.
Added in a7bca56633
by Joe4782, but
never used.
11 years ago
Noel Maersk
5fd5e3b67d
adl/misc: mention that the found adapters are logical.
11 years ago
Noel Maersk
5896da18b1
core: remove total_users, total_passes, total_userpasses (no longer used).
...
Silence gcc warnings.
Need for these accounting vars removed a few commits ago by troky.
11 years ago
Noel Maersk
08ff1574df
config: write `algorithm` to config if not default.
...
Closes https://github.com/veox/sgminer/issues/175
11 years ago
Noel Maersk
27e4515b9a
opencl: move lookup-gap check for kernel zuikkis to after it is set from opt_lg.
...
Introduced by 89d641628b
Closes https://github.com/veox/sgminer/issues/172
11 years ago
Noel Maersk
377266a264
misc: update NEWS.md (with what was added in #168 ).
11 years ago
Noel Maersk
8203fea539
config: move `--coin` in config table (alphabetically).
11 years ago
Noel Maersk
e7ca7fabba
Merge pull request #168 from troky/testing
...
--pool-priority, --coin and fix for #80
11 years ago
Noel Maersk
bc9b313e9c
opencl: check if gpus.kernelname has to be free()'d before setting.
...
In this case it doesn't, since the function is only used for config
parsing (I hope). Add the check to prevent a memory leak, just in
case this changes in the future.
TODO: Option parsing functions should really be moved elsewhere and
renamed appropriately, like set_opt_kernel() or config_set_kernel(),
if config parsing is to remain as-is. It will probably change
drastically, so leaving as-is for now.
11 years ago
Noel Maersk
18d9c648ba
opencl: update comment on generated binary file name.
11 years ago
Noel Maersk
10ec7769c8
pool: don't pass unused argument to sprintf() in add_pool().
...
Silences gcc warning.
11 years ago
Noel Maersk
ac3d13880c
Revert "core: correctly parse boolean configuration values."
...
This reverts commit 8dd1c2d4af
.
Introduced a security bug: since CCAN/opt is used to parse the JSON
config (something it is not meant to do), it was possible to specify
the default of
"api-listen":false
in .conf and expect the API to be disabled. However, since CCAN/opt
does not check for parameters to OPT_WITHOUT_ARG, this got set to
true anyway, and enabled the API on a (possibly unfirewalled) network.
For this reason, configuration options are not named uniformly.
This should have been reverted as soon as it became known:
4c4b909be6
(Fri Feb 28)
Sorry for that.
11 years ago
troky
bcb78ed91b
Added --coin pool parameter.
11 years ago
troky
17f5e296a9
Fixed configuration/command line parsing.
11 years ago
troky
8db53026cb
Added --pool-priority
11 years ago
Noel Maersk
1f7b7ef26e
stratum: move log warning under opt_disable_client_reconnect clause.
11 years ago
Martin Danielsen
01b3f70b63
A new --no-client-reconnect command that disables the 'client.reconnect' function.
...
It looks like there's an exploit that abuses said command, but it is still not clear exactly how.
There's also an additional message when the reconnect happens: "WARNING: POTENTIAL CLIENT.EXPLOIT!", but it requires you to be actively monitoring your log to catch it, and in which case you already get a "Reconnect requested from Pool 0 to 127.0.0.1" message.
Note that disabling 'client.reconnect' might affect some pools that rely on the feature, like pools that you lease your rig to.
Oh and this is dry-coded. :)
11 years ago
Noel Maersk
aa471a2dfd
api: remove unused SCRYPTSTR.
...
Gets rid of compiler warning.
11 years ago
Noel Maersk
e02f111dca
opencl: reuse strbuf in initCl, get rid of poorly-named numbuf.
11 years ago
Noel Maersk
89d641628b
log: warn on using kernel zuikkis with lookup-gap != 2.
11 years ago
Noel Maersk
7a3a510216
log: mention non-user-settable kernel parameters in "Initialising kernel" notice.
...
Should help in the future for people who try to mix patched and unpatched
BFI devices.
11 years ago
Noel Maersk
0d8977774f
opencl: correctly test if no kernel name was specified in config.
...
Closes second bug squashed into https://github.com/veox/sgminer/issues/123
report.
11 years ago
Noel Maersk
1b3df7cbc9
doc: add note on incognito mode in doc/BUGS.md.
11 years ago
Noel Maersk
29cbd1f052
doc: make the title of your issue report informative.
11 years ago
Noel Maersk
57fce98a2f
Merge pull request #159 from troky/api-ext
...
Added pool name to API "pools" command
11 years ago
troky
9414592539
Added pool name to API "pools" command
11 years ago
Noel Maersk
04942b6a24
Merge pull request #155 from troky/master
...
VS2010 build: Removed kernel name definitions.
11 years ago
troky
9e481ebb3d
VS2010 build: Removed kernel name definitions.
11 years ago
Noel Maersk
ea9c54a378
misc: update NEWS.md.
...
Closes https://github.com/veox/sgminer/issues/43
11 years ago
Noel Maersk
41f994886e
doc: update README.md doc list, rename KERNEL.md to kernel.md.
11 years ago
Noel Maersk
9b68b2773c
doc: update doc/KERNEL.md to reflect the fact that kernel names are no longer hard-coded.
11 years ago
Noel Maersk
106dbee1f9
core: check if GPU thread is disabled before checking if it's waiting on getwork.
...
Otherwise the watchdog thread segfaults on checking an uninitialised
thr->getwork value.
11 years ago
Noel Maersk
e0736b1d5b
misc: suggest checking configuration in log message.
11 years ago
Noel Maersk
98cd96f27a
opencl: add log notice, change another to notice level, shorten comment.
11 years ago
Noel Maersk
0adf597640
build: remove kernel name definitions from configure.ac.
11 years ago
Noel Maersk
87801c2578
opencl: rename cgpu_info->kname to cgpu_info->kernelname.
11 years ago
Noel Maersk
4ea508850e
opencl: rename queue_scrypt_kernel() to queue_kernel().
...
There are no other kernels, and differentiating kernels in the future
should be done in a universal way, preferably not by choosing a function.
Note how queue_kernel() is used (passed as function reference).
11 years ago
Noel Maersk
3787f47155
misc: add comment on what cgpu_info->{,k}name are.
11 years ago
Noel Maersk
c9ccf551d7
opencl: remove cl_kernels structure definition and mention.
...
No longer used.
TODO: check if clState would benefit from having kernel name.
11 years ago