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
Noel Maersk
1333ed576d
core: simplify kernel selection code.
...
WIP!
Use a string instead of a state-machine-ey kernel selection mechanism
where kernel names have to be predefined. This should allow just dropping
new kernels into dir `kernel` without bloating the code in three other
places.
Is in dire need of a cleanup, function parameter check, edge case check -
all the usual testing.
In particular, checking these definitions/keywords:
* enum cl_kernels
* kname
* [c]gpu[s]->kernel (and similar)
* memory cleanup after strdup()?..
* chosen_kernel
* queue_scrypt_kernel
* strbuf
* initCl
11 years ago
Noel Maersk
f2934d8afd
misc: set `algorithm` in example.conf, set GPU clocks as if there were 3 GPUs.
...
The example configuration is bogus anyway, but at least make it less bogus.
11 years ago
Noel Maersk
ddd3b12de5
misc: change `poolname` to `name` in example.conf.
11 years ago
Noel Maersk
fc902f0f41
pool: add back --poolname as hidden option for backward compatibility.
...
+ Udate NEWS.
11 years ago
troky
49aef7100f
Reverting "poolname" to "name".
11 years ago
Noel Maersk
43f96783cd
misc: mention adaptive-n-factor support in NEWS.md.
11 years ago
Noel Maersk
ef14022929
misc: typo in doc/configuration.md
11 years ago
Noel Maersk
d2c6f9a799
Merge pull request #149 from troky/master
...
Bugfix and cleanup.
11 years ago
unknown
958764fecc
MSVS build: Fixed debug build. MSVS doesn't like uninitialized variables.
11 years ago
unknown
6b0b424c0a
Fixed API timeval formatting again. Use of snprintf() causes problems in MSVS.
11 years ago
Noel Maersk
bf2ca7be0b
doc: update doc/configuration.md with `algorithm` aliases.
11 years ago
Noel Maersk
b80f6c273f
misc: fix typo in NEWS.md.
11 years ago
Noel Maersk
8079d054d6
Merge branch 'nfactor'
...
Conflicts (resolved):
Makefile.am
winbuild/sgminer.vcxproj.filters
11 years ago
Noel Maersk
e59e4f5f8d
Bump version to 4.1.153.
11 years ago
Noel Maersk
0db99d66c0
algorithm: add nfactor aliases "adaptive-n-factor" and "nscrypt".
...
Also change whitespace back to "4 spaces".
11 years ago
Noel Maersk
2b75a67cdf
Merge pull request #147 from troky/nfactor
...
Added algorithm name to "coin" API command. Changed default algo name to "scrypt".
11 years ago
unknown
0e37fc24b0
Added algorrithm name to "coin" API command. Changed default algo name to "scrypt".
11 years ago
Noel Maersk
609b4f0c5f
Merge pull request #145 from troky/master
...
API: Fixed timeval struct formatting.
11 years ago
unknown
25242861c7
API: Fixed timeval struct formatting .
11 years ago
Noel Maersk
07f5787386
Merge pull request #144 from troky/master
...
Bugfix and cleanup.
11 years ago
Noel Maersk
2ff4234b29
Merge pull request #143 from Bllacky/patch-4
...
Update winbuild/README.txt
11 years ago
unknown
e7fbdf3f7a
Removed orphan file.
11 years ago
unknown
f7f582732a
Fixed bufsize type.
11 years ago
Bllacky
e2763e7a2e
Update README.txt
11 years ago
Noel Maersk
549d01e946
Merge pull request #142 from Bllacky/patch-3
...
Update winbuild/README.txt (instructions for compiling in Windows 7 64-bit)
11 years ago
Bllacky
6a32e173ad
Update README.txt
11 years ago