CPU Miner for Nexus Pools
C++ C Assembly Makefile Other
Switch branches/tags
Nothing to show
Clone or download
paulthetaffy Merge pull request #8 from hg5fm/master
Improved NXS Prime Miner
Latest commit 858575a May 14, 2017
Permalink
Failed to load latest commit information.
.vscode GPU/CPU sieve, makefile, config improvements. Apr 4, 2017
build Added a build directory with a .gitkeep. Jun 9, 2016
hash Add support for solo mining. Additional improvements for CPU sieve. Apr 8, 2017
oacc Minor changes. May 8, 2017
.gitignore Minor changes. May 8, 2017
PrimePoolMiner.sln Add OpenACC support using PGI compiler Mar 21, 2017
PrimePoolMiner.vcxproj Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
PrimePoolMiner.vcxproj.filters Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
README.md Fix description, scripts May 10, 2017
bignum.h Minor changes. May 8, 2017
build-cygwin.bat Fix description, scripts May 10, 2017
build-cygwin.sh Fix description, scripts May 10, 2017
config.cpp Minor changes. May 8, 2017
config.h Added an experimental sieve that should improve the rate of longer pr… Apr 28, 2017
core.h Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
makefile Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
makefile.mingw New PPS / WPS Calculations Feb 10, 2017
makefile.unix Fixed symlink makefile.unix May 10, 2017
miner.conf.pool-example Remove default miner.conf & add solo and pool example May 14, 2017
miner.conf.solo-example Remove default miner.conf & add solo and pool example May 14, 2017
miner.conf.solo.example Add support for solo mining. Additional improvements for CPU sieve. Apr 8, 2017
miner.cpp Increase version number May 14, 2017
mpi_RSAZ.h Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
mpi_mod_exp_redundant_WW.c Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
prime.cpp Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
red2norm.s Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
redundant_AVX2_AMM1024_asm.s Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
redundant_AVX2_AMS1024_asm.s Faster modulare exponentiation on AVX2 capable CPUs May 14, 2017
run_pool.bat Change default NXS adresses in config and batch file to one of the de… May 12, 2017
run_solo.bat Minor changes. May 8, 2017
soloMining.bat Added an experimental sieve that should improve the rate of longer pr… Apr 28, 2017
soloMining.sh Fix description, scripts May 10, 2017
types.h Another attempt to try fixing communication problems May 12, 2017
util.cpp Minor changes. May 8, 2017
util.h Minor changes. May 8, 2017

README.md

Nexus CPU Pool/Solo Miner

Build instructions (Ubuntu)

Install dependencies

sudo apt-get install build-essential libboost-all-dev libdb-dev libdb++-dev libssl-dev libminiupnpc-dev libgmp-dev

Clone the repo

cd ~
git clone https://github.com/hg5fm/PrimePoolMiner.git PrimePoolMiner

Build the miner

cd PrimePoolMiner
make MARCHFLAGS=-march=native -f makefile

miner.conf

The pool miner can now be configured via miner.conf. An example file miner.conf.example is included.
Please copy/rename it to miner.conf in order to use it .

You can adjust the parameters used to initialise the prime sieving / wheel factorisation to optimise the prime chain rates (or WPS) for your CPU.

"host": <the pool hostname / ipaddress to connect to, in solo mode this should be the address of the NSX wallet node> 
"port": <the pool port, default 9549 for pool, for solo mining the default is 9325>
"nxs_address": <your payout address - if it's left empty ("") the miner will try to work in SOLO mode>
"sieve_threads": <number of threads to use for sieving, default is 0 (all available cores)
"ptest_threads": <number of threads to use for primality testing, default is 0 (all available cores)
"timeout": <timeout when connecting to pool, default 10s>
"bit_array_size": <the size of the prime sieve in bytes, default 8388608. Adjust this to suit your CPU cache size> 
"prime_limit": <max prime number used to initialise the sieve, default 71378571 - not in use at the current stage>
"n_prime_limit": <max inverses prime limit, default 4194304 - not in use at the current stage>
"primorial_end_prime": <largest primorial, default 12>

Run the miner

./nexus_cpuminer

Original Message:

This is the Miner for NXS Pools. Start it with commandline arguments IP PORT ADDRESS. Optional arguments are THREADS and TIMEOUT following ADDRESS.

Viz.