mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00

Make it possible to use the thread id for getting work again. Flag the getwork() function when we have a new block to explicitly discard any cached work when a new block is detected. Store the header of each new work and compare it to blocks we're about to submit to decide if they're stale due to a new block and don't try to submit them. This should significantly decrease the number of rejected blocks.
This is a multi-threaded CPU miner for bitcoin. License: GPLv2. See COPYING for details. Dependencies: libcurl http://curl.haxx.se/libcurl/ jansson http://www.digip.org/jansson/ (jansson is optional, and is included in-tree) Basic *nix build instructions: ./autogen.sh # only needed if building from git repo CFLAGS="-O3 -Wall -msse2" ./configure make Basic WIN32 build instructions (on Fedora 13; requires mingw32): ./autogen.sh # only needed if building from git repo rm -f mingw32-config.cache MINGW32_CFLAGS="-O3 -Wall -msse2" mingw32-configure make ./mknsis.sh Usage instructions: Run "minerd --help" to see options. Also many issues and FAQs are covered in the forum thread dedicated to this program, http://www.bitcoin.org/smf/index.php?topic=1925.0;all
Description
Languages
C
95.5%
C++
1.6%
M4
1.5%
PHP
1%
Makefile
0.3%
Other
0.1%