Skip to content

ChunguscoinCrypto/chungus-cpuminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chungus-cpuminer

Chunguscoin CPU miner (Equihash)

Forked from kost/nheqminer

Features

Platforms:

  • Linux
  • Mac OS X
  • Windows

Usage

pool

chungusminer -l pool.chunguscoin.net:3333 -u addr.worker -p x

Building

Linux:

You should have CMake installed (2.8 minimal version), boost (install from the repositories or download boost manually build and install it manually), download the sources manually or via git. Under Ubuntu open a terminal and run the following commands:

  • sudo apt-get install cmake build-essential libboost-all-dev
  • git clone https://github.com/ChunguscoinCrypto/chungus-cpuminer
  • cd chungus-cpuminer/miner
  • mkdir build
  • cd build
  • cmake .. OR for static build cmake -DSTATIC_BUILD=1 ..
  • make

Windows using Linux/WSL:

You should have CMake installed (2.8 minimal version), boost (install from the repositories or download boost manually build and install it manually), download the sources manually or via git. Under Ubuntu open a terminal and run the following commands:

  • sudo apt install mingw64-winpthreads-static mingw64-boost-static cmake make git
  • git clone https://github.com/ChunguscoinCrypto/chungus-cpuminer
  • cd chungus-cpuminer/miner
  • mkdir build
  • cd build
  • cmake -DSTATIC_BUILD=1 -DMARCH="-m64" ..
  • make

Mac OS X:

You need to have git, cmake, make and Mac OS X Developer stuff (compiler, etc). Under Mac open a terminal and run the following commands:

  • git clone https://github.com/ChunguscoinCrypto/chungus-cpuminer
  • cd chungus/miner
  • mkdir build
  • cd build
  • cmake -DSTATIC_BUILD=1 ..
  • make

Windows (Microsoft Visual Studio - needs tweaking):

Windows builds made by us are available here: https://github.com/ChunguscoinCrypto/chung-miner

Download and install:

Open chungusminer.sln under miner/chungusminer.sln and build.

Run instructions:

If run without parameters, miner will start mining with 75% of available cores on with developers account. Feel free to donate that way. Use parameter -h to learn about available parameters:

Parameters:
        -h              Print this help and quit
        -l [location]   Stratum server:port
        -u [username]   Username (pool worker)
        -p [password]   Password (default: x)
        -t [num_thrds]  Number of threads (default: number of sys cores)
        -b [hashes]     Run in benchmark mode (default: 100 hashes)
        -a [port]       Local API port (default: 0 = do not bind)

Note: if you have a 4-core CPU with hyper threading enabled (total 8 threads) it is best to run with only 6 threads (experimental benchmarks shows that best results are achieved with 75% threads utilized)

Acknowledgments and credits

Acknowledgements

Thank you Kost for creating nheqminer. This miner is based on Equihash Miner for NiceHash Thanks to Zcash developers for providing most of the code Special thanks to tromp for providing optimized CPU equihash solver

Credits

Author of Chunguscoin and this miner: Shafil Alam

Author of the fork: Kost