Multi-algo CPUMiner
C M4 Other Other
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 83 commits ahead, 34 commits behind lucasjones:master.
hyc Merge pull request #2 from vtnerd/monerov7
Monero cryptonight variant, version 1
Latest commit 5d422c6 Mar 5, 2018
Permalink
Failed to load latest commit information.
compat Initial commit Apr 23, 2014
crypto Added an optimization flag I forgot about and had been meaning to add… Jul 9, 2014
.gitattributes Add skein support Apr 23, 2014
.gitignore Add blake support Apr 25, 2014
.travis.yml Fix travis-ci build script Apr 23, 2014
AUTHORS Added myself to AUTHORS and added some CryptoNight specific build-tim… May 24, 2014
COPYING Initial commit Apr 23, 2014
ChangeLog Initial commit Apr 23, 2014
Dockerfile Initial commit Apr 23, 2014
LICENSE Initial commit Apr 23, 2014
Makefile.am New option to disable hugepages and other memory-related calls like m… Jul 14, 2014
NEWS Initial commit Apr 23, 2014
README.md Add daemon (solo mining) support Mar 31, 2016
autogen.sh Fix file permissions Apr 23, 2014
compat.h Initial commit Apr 23, 2014
configure.ac New option to disable hugepages and other memory-related calls like m… Jul 14, 2014
cpu-miner.c Monero cryptonight variant, version 1 Feb 22, 2018
cryptonight.h Monero cryptonight variant, version 1 Feb 22, 2018
cryptonight_aesni.c Monero cryptonight variant, version 1 Feb 22, 2018
cryptonight_common.c Monero cryptonight variant, version 1 Feb 22, 2018
cryptonight_lobotomized.c Monero cryptonight variant, version 1 Feb 22, 2018
elist.h Initial commit Apr 23, 2014
example-cfg.json Initial commit Apr 23, 2014
libcurl.m4 Fixes a build error on OSes with brain dead designers who don't put l… May 26, 2014
miner.h Monero cryptonight variant, version 1 Feb 22, 2018
minerd.1 Initial commit Apr 23, 2014
nomacro.pl Initial commit Apr 23, 2014
util.c Fix job decoding May 23, 2014

README.md

CPUMiner-Multi

This is a multi-threaded CPU miner, fork of LucasJones' cpuminer-multi.

Table of contents

Algorithms

Currently supported

  • cryptonight (Bytecoin [BCN], Monero)

Dependencies

Download

Build

Basic *nix build instructions:

  • ./autogen.sh # only needed if building from git repo
  • Optimal GCC flags are built in - you only need to use -march=native if you want it
  • CFLAGS="-march=native" ./configure
    • Use -march=native if building for a single machine

  • make

Architecture-specific notes:

  • CryptoNight works only on x86 and x86-64.
  • If you don't have AES-NI, it's slower. A lot slower, around 1/3rd the speed. This implementation is deprecated and will not be improved.

Usage instructions

Run "minerd --help" to see options.

Connecting through a proxy

Use the --proxy option.

To use a SOCKS proxy, add a socks4:// or socks5:// prefix to the proxy host
Protocols socks4a and socks5h, allowing remote name resolving, are also available since libcurl 7.18.0.

If no protocol is specified, the proxy is assumed to be a HTTP proxy.
When the --proxy option is not used, the program honors the http_proxy and all_proxy environment variables.

Solo mining

Using bitmonerod v0.9.3.1 or newer, specify your url as "daemon+tcp://:/json_rpc"

Donations

Donations for the work done in this fork are accepted at

  • XMR: 46sSETXrZGT8bupxdc2MAbLe3PMV9nJTRTE5uaFErXFz6ymyzVdH86KDb9TNoG4ny5QLELfopynWeBSMoT1M2Ga8RBkDqTH
  • BTC: 1WoLFumNUvjCgaCyjFzvFrbGfDddYrKNR

Credits

This faster CPUMiner-multi was forked from LucasJones', and has been developed by Wolf. Special thanks to Intel for helping me with the usage of the AESKEYGENASSIST instruction, which I used to replace the calls to the slow, unoptimized oaes_lib. Special thanks also to dga for his code with that loop - since it runs over 500,000 times per hash, it's extremely important.

License

GPLv2. See COPYING for details.