Tweaked to be slightly easier to use with Tenebrix, tested.
This commit is contained in:
parent
ac92e27c8e
commit
de7455797e
4 changed files with 15 additions and 21 deletions
4
AUTHORS
4
AUTHORS
|
@ -1 +1,5 @@
|
||||||
Jeff Garzik <jgarzik@pobox.com>
|
Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
|
||||||
|
ArtForz
|
||||||
|
|
||||||
|
<very tiny tweaks> Lolcust
|
||||||
|
|
7
README
7
README
|
@ -1,5 +1,8 @@
|
||||||
|
|
||||||
This is a multi-threaded CPU miner for bitcoin.
|
This is a multi-threaded CPU miner for Tenebrix, fork of Jeff Garzik's refernce cpuminer.
|
||||||
|
New, GPU-hostile / CPU-friendly PoW is implemented.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
License: GPLv2. See COPYING for details.
|
License: GPLv2. See COPYING for details.
|
||||||
|
|
||||||
|
@ -22,6 +25,8 @@ Basic WIN32 build instructions (on Fedora 13; requires mingw32):
|
||||||
|
|
||||||
Usage instructions: Run "minerd --help" to see options.
|
Usage instructions: Run "minerd --help" to see options.
|
||||||
|
|
||||||
|
REMEMBER - ONLY scrypt ALGORITHM WORKS FOR TENEBRIX !
|
||||||
|
|
||||||
Also many issues and FAQs are covered in the forum thread
|
Also many issues and FAQs are covered in the forum thread
|
||||||
dedicated to this program,
|
dedicated to this program,
|
||||||
http://www.bitcoin.org/smf/index.php?topic=1925.0;all
|
http://www.bitcoin.org/smf/index.php?topic=1925.0;all
|
||||||
|
|
22
cpu-miner.c
22
cpu-miner.c
|
@ -120,9 +120,9 @@ int opt_scantime = 5;
|
||||||
static json_t *opt_config;
|
static json_t *opt_config;
|
||||||
static const bool opt_time = true;
|
static const bool opt_time = true;
|
||||||
#ifdef WANT_X8664_SSE2
|
#ifdef WANT_X8664_SSE2
|
||||||
static enum sha256_algos opt_algo = ALGO_SSE2_64;
|
static enum sha256_algos opt_algo = ALGO_SCRYPT;
|
||||||
#else
|
#else
|
||||||
static enum sha256_algos opt_algo = ALGO_C;
|
static enum sha256_algos opt_algo = ALGO_SCRYPT;
|
||||||
#endif
|
#endif
|
||||||
static int opt_n_threads;
|
static int opt_n_threads;
|
||||||
static int num_processors;
|
static int num_processors;
|
||||||
|
@ -150,22 +150,8 @@ static struct option_help options_help[] = {
|
||||||
"See example-cfg.json for an example configuration." },
|
"See example-cfg.json for an example configuration." },
|
||||||
|
|
||||||
{ "algo XXX",
|
{ "algo XXX",
|
||||||
"(-a XXX) Specify sha256 implementation:\n"
|
"(-a XXX) USE *ONLY* scrypt (e.g. --algo scrypt) WITH TENEBRIX\n"
|
||||||
"\tc\t\tLinux kernel sha256, implemented in C (default)"
|
"\tscrypt is the default now" },
|
||||||
#ifdef WANT_SSE2_4WAY
|
|
||||||
"\n\t4way\t\ttcatm's 4-way SSE2 implementation"
|
|
||||||
#endif
|
|
||||||
#ifdef WANT_VIA_PADLOCK
|
|
||||||
"\n\tvia\t\tVIA padlock implementation"
|
|
||||||
#endif
|
|
||||||
"\n\tcryptopp\tCrypto++ C/C++ implementation"
|
|
||||||
#ifdef WANT_CRYPTOPP_ASM32
|
|
||||||
"\n\tcryptopp_asm32\tCrypto++ 32-bit assembler implementation"
|
|
||||||
#endif
|
|
||||||
#ifdef WANT_X8664_SSE2
|
|
||||||
"\n\tsse2_64\t\tSSE2 implementation for x86_64 machines"
|
|
||||||
#endif
|
|
||||||
},
|
|
||||||
|
|
||||||
{ "quiet",
|
{ "quiet",
|
||||||
"(-q) Disable per-thread hashmeter output (default: off)" },
|
"(-q) Disable per-thread hashmeter output (default: off)" },
|
||||||
|
|
|
@ -31,4 +31,3 @@ sha1sum "$OUT_BASE.zip"
|
||||||
|
|
||||||
echo -n "MD5: "
|
echo -n "MD5: "
|
||||||
md5sum "$OUT_BASE.zip"
|
md5sum "$OUT_BASE.zip"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue