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

6016 Commits

Author SHA1 Message Date
Noel Maersk
83d984a469 doc: add releases, issues and irc channel to README. 2014-01-28 23:05:15 +02:00
troky
6c343ae28c VS2010 build: Added libs download link. 2014-01-28 22:23:31 +02:00
Noel Maersk
14aac4b4dd VS2010 build: move windows config.h gitignore rule to winbuild/.gitignore 2014-01-28 20:53:52 +02:00
troky
e053f49957 VS2010 build: Missing config.h and .gitignore rule to keep windows config.h 2014-01-28 20:53:47 +02:00
Noel Maersk
d9eb547c5a VS2010 build: revert le256todouble() cast/ref/deref change.
Introduced by commit 87e5f35745

The cast/ref/deref is performed wrong and breaks share/best share display.
It is not the value of target that should be increased, but its address.

If all else fails, add an `#ifdef _MSVC_VER`; we should avoid it if possible.

In either case, constructs like `&(*(((uint64_t *)target) + 24))` must be
explained (in a comment).
2014-01-28 20:30:00 +02:00
Sanjin Trošelj
8d25b38e9b VS2010 build: winbuild/* dist and project files.
Cherry-picked by veox.
2014-01-28 03:37:08 +02:00
Noel Maersk
761f100ab9 VS2010 build: fix a segfault from a removed realloc. 2014-01-28 03:29:23 +02:00
Noel Maersk
108ac24e2a core: check for GPU_* environment variables unconditionally. 2014-01-28 02:51:42 +02:00
Sanjin Trošelj
87e5f35745 VS2010 build: commit elist.h and relevant changes in sgminer.c and util.c
Cherry-picked by veox.

Introduces a segfault. Expect a HEAD reset.
2014-01-28 02:42:56 +02:00
Sanjin Trošelj
5078db8b01 VS2010 build: Prepare util.c
Cherry-picked by veox.
2014-01-28 01:04:04 +02:00
Sanjin Trošelj
e35d7b1105 VS2010 build: Prepare scrypt.c
Cherry-picked by veox.
2014-01-28 01:03:56 +02:00
Noel Maersk
17ef58b3d1 doc: typo in doc/KERNEL.md 2014-01-28 01:00:21 +02:00
Sanjin Trošelj
5d5769156f VS2010 build: Prepare ocl.c
Cherry-picked by veox.
2014-01-28 00:24:51 +02:00
Sanjin Trošelj
7ac101f365 VS2010 build: Prepare miner.h
Cherry-picked by veox.
2014-01-28 00:22:19 +02:00
Sanjin Trošelj
b5a3dbeac0 VS2010 build: Prepare hexdump.c
Cherry-picked by veox.
2014-01-28 00:20:40 +02:00
Sanjin Trošelj
db352941b2 VS2010 build: Prepare findnonce.c
Cherry-picked by veox.
2014-01-28 00:13:56 +02:00
Sanjin Trošelj
8c0e250db2 VS2010 build: Prepare driver-opencl.c.
Cherry-picked by veox.

Changes from troky: struct device_drv opencl_drv tab alignment.
2014-01-27 23:16:57 +02:00
Sanjin Trošelj
cf70796196 VS2010 build: Prepare compat/jansson-2.5.
Cherry-picked by veox.

Not a big fan of modifying compat libraries, makes it harder to maintain
later on. See if these changes are relevant upstream.
2014-01-27 22:52:59 +02:00
Sanjin Trošelj
5ce16a44db VS2010 build: ccan/opt
Cherry-picked by veox.
2014-01-27 22:47:01 +02:00
Sanjin Trošelj
84eefc74cd VS2010 build: prepare API.
Cherry-picked by veox.

Previous variable 'new' was badly named, but troky's 'n' was too cryptic.
Therefore renamed to 'newsize'.
2014-01-27 22:26:37 +02:00
Sanjin Trošelj
da42e6ac98 VS2010 build: prepare ADL.
Cherry-picked by veox.
2014-01-27 22:04:44 +02:00
Noel Maersk
cd5fa8d3cb Merge branch 'windows-cross-compile' 2014-01-27 21:19:47 +02:00
Noel Maersk
e081a669f6 doc: add note about --disable-adl-checks.
Should close https://github.com/veox/sgminer/issues/26
2014-01-27 21:18:43 +02:00
Noel Maersk
2879994408 adl: only ask for iDrvIndex on Linux.
Should close https://github.com/veox/sgminer/issues/45
2014-01-27 19:07:04 +02:00
Noel Maersk
b56e65aa77 misc: line wrap. 2014-01-27 19:06:52 +02:00
Noel Maersk
a65ff54b08 doc: update README.md with "state" option.
Closes https://github.com/veox/sgminer/issues/44
2014-01-27 18:17:14 +02:00
Noel Maersk
d3a3ee6b31 misc: update AUTHORS.md with recent testers. 2014-01-27 17:49:23 +02:00
Noel Maersk
d7c8d1d300 core: change scantime/expiry to 10/30 from 30/120. 2014-01-27 02:43:52 +02:00
Noel Maersk
64fc8324b8 pools: initial implementation of pool state machines.
moved enable_pool(), disable_pool() and other functions related to
state. These could probably be factored out altogether.

Pool state default is now "enabled" - it was previosly "disabled",
but there was an unconditional function call to enable all pools
in main() previously. It was factored out by joe's earlier commits,
so not visible in this one.
2014-01-27 02:28:58 +02:00
Noel Maersk
1ebcb07302 Merge branch 'master' into pools 2014-01-27 00:54:16 +02:00
Noel Maersk
cae071b837 Merge branch 'kernels' 2014-01-27 00:48:25 +02:00
Noel Maersk
67d15f2843 Merge branch 'adl-extra-logging' 2014-01-27 00:45:47 +02:00
Noel Maersk
e269656959 Merge branch 'pools-joe' 2014-01-26 23:57:18 +02:00
Noel Maersk
048c82b9b2 pools: rename 'pool->enabled' to 'pool->state'. 2014-01-26 20:02:00 +02:00
Noel Maersk
22b78e91f6 tui: Refactor status line printing.
Default pool name is now URL and port instead of "Pool N" (which
is confusing).

Status line displays user-defined name.
2014-01-26 19:44:39 +02:00
Noel Maersk
6417bcce61 Merge remote-tracking branch 'joe/pool_options' into pools 2014-01-26 16:51:38 +02:00
Joe4782
90d49e9ad3 Updated the README file to explain the 'remove-pool' json config file option 2014-01-26 01:37:30 +00:00
Joe4782
b1eb2ab8f8 Implemented the 'remove-pool' config option for json file pools 2014-01-26 01:26:00 +00:00
Joe4782
817ed55b6a Pool management option now shows pool name when available 2014-01-26 00:56:58 +00:00
Joe4782
dd7bd69786 Updated README to explain new 'disable-pool' configuration file option 2014-01-26 00:17:56 +00:00
Joe4782
1d81196238 Added a 'disable-pool' option to the json configuration, to allow pools to be started up disabled 2014-01-25 20:33:45 +00:00
Noel Maersk
8a6c716c86 Merge pull request #40 from gacheson/master
Fixes for "--pools" flag and fatal JSON error
2014-01-25 12:05:42 -08:00
gacheson
1eacb3f1c2 Fixes for "--pools" flag and fatal JSON error 2014-01-25 10:50:18 -06:00
Noel Maersk
e0ca8ebc2f doc: Simplify paths for cross-compiling instructions in windows-build.txt 2014-01-25 00:57:47 +02:00
Angus Gratton
f321a0211b Add clarification on Windows cross-build, out of tree is possible 2014-01-24 15:16:00 +02:00
Noel Maersk
47d83df892 doc: revert some formatting changes made by Drogean to windows-build.txt 2014-01-24 15:15:36 +02:00
Angus Gratton
1ceedd562d Add some notes about cross-compiling cgminer for Windows from Linux 2014-01-24 15:13:49 +02:00
Noel Maersk
06240b91a6 cross-compile: comment out sleep().
Reported as unneded:
https://github.com/veox/sgminer/issues/37

When is this true? Which IDEs, Windows/MinGW versions?
2014-01-24 14:46:05 +02:00
Noel Maersk
6089dfbbac adl: code cleanup after last commit. 2014-01-24 00:08:34 +02:00
Joe4782
712385160b Added the stratum port to the status print 2014-01-23 21:54:40 +00:00