mtp ccminer developpment
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Algo256 import ccminer version with mtp support Feb 18, 2018
JHA import ccminer version with mtp support Feb 18, 2018
api import ccminer version with mtp support Feb 18, 2018
argon2ref fix linux compilation Jun 7, 2018
compat updated bignum to support openssl 1.1 Dec 9, 2018
cuda_mtp small speed up on initialization Dec 11, 2018
heavy mtp running on testnet wallet Jun 6, 2018
lbry import ccminer version with mtp support Feb 18, 2018
lyra2 mtp running on testnet wallet Jun 6, 2018
m7 import ccminer version with mtp support Feb 18, 2018
merkletree small speed up on initialization Dec 11, 2018
neoscrypt mtp running on testnet wallet Jun 6, 2018
quark import ccminer version with mtp support Feb 18, 2018
qubit import ccminer version with mtp support Feb 18, 2018
res import ccminer version with mtp support Feb 18, 2018
scrypt import ccminer version with mtp support Feb 18, 2018
sia import ccminer version with mtp support Feb 18, 2018
sph mtp running on testnet wallet Jun 6, 2018
x11 import ccminer version with mtp support Feb 18, 2018
x13 import ccminer version with mtp support Feb 18, 2018
x15 import ccminer version with mtp support Feb 18, 2018
x17 import ccminer version with mtp support Feb 18, 2018
.gitignore add back file which ended up by mistake in gitignore Jun 9, 2018
LICENSE.txt import ccminer version with mtp support Feb 18, 2018
Makefile.am fix makefile Dec 9, 2018
README.md updated readme.md once more Jun 24, 2018
README.txt import ccminer version with mtp support Feb 18, 2018
RUN-LBC-YIIMP.cmd modification in gpu code / exemple on how to compute prev_block and r… May 8, 2018
RUN-ZCOIN-MTP.cmd multi-gpu support Dec 11, 2018
algos.h mtp running on testnet wallet Jun 6, 2018
api.cpp fix linux compilation Jun 7, 2018
autogen.sh fix for linux compilation Dec 2, 2018
base58.cpp stratum support for mtp (windows only) Nov 29, 2018
bench.cpp mtp running on testnet wallet Jun 6, 2018
bignum.cpp fix to bignum Dec 9, 2018
bignum.hpp updated bignum to support openssl 1.1 Dec 9, 2018
ccminer.conf import ccminer version with mtp support Feb 18, 2018
ccminer.cpp multi-gpu support Dec 11, 2018
ccminer.sln import ccminer version with mtp support Feb 18, 2018
ccminer.vcxproj small speed up on initialization Dec 11, 2018
ccminer.vcxproj.filters updated bignum to support openssl 1.1 Dec 9, 2018
compat.h import ccminer version with mtp support Feb 18, 2018
configure.ac fix for linux compilation Dec 2, 2018
configure.sh import ccminer version with mtp support Feb 18, 2018
crc32.c import ccminer version with mtp support Feb 18, 2018
cuda.cpp multi-gpu support Dec 11, 2018
cuda_checkhash.cu import ccminer version with mtp support Feb 18, 2018
cuda_debug.cuh import ccminer version with mtp support Feb 18, 2018
cuda_fugue256.h import ccminer version with mtp support Feb 18, 2018
cuda_groestlcoin.cu import ccminer version with mtp support Feb 18, 2018
cuda_groestlcoin.h import ccminer version with mtp support Feb 18, 2018
cuda_helper.h mtp running on testnet wallet Jun 6, 2018
cuda_myriadgroestl.cu import ccminer version with mtp support Feb 18, 2018
cuda_skeincoin.cu import ccminer version with mtp support Feb 18, 2018
cuda_vector_uint2x4.h mtp running on testnet wallet Jun 6, 2018
elist.h import ccminer version with mtp support Feb 18, 2018
fuguecoin.cpp import ccminer version with mtp support Feb 18, 2018
groestlcoin.cpp import ccminer version with mtp support Feb 18, 2018
hashlog.cpp import ccminer version with mtp support Feb 18, 2018
hefty1.c import ccminer version with mtp support Feb 18, 2018
hefty1.h import ccminer version with mtp support Feb 18, 2018
miner.h small cleaning Dec 6, 2018
myriadgroestl.cpp import ccminer version with mtp support Feb 18, 2018
nvapi.cpp import ccminer version with mtp support Feb 18, 2018
nvml.cpp import ccminer version with mtp support Feb 18, 2018
nvml.h import ccminer version with mtp support Feb 18, 2018
pentablake.cu import ccminer version with mtp support Feb 18, 2018
pools.conf import ccminer version with mtp support Feb 18, 2018
pools.cpp import ccminer version with mtp support Feb 18, 2018
scrypt-jane.cpp import ccminer version with mtp support Feb 18, 2018
scrypt.cpp import ccminer version with mtp support Feb 18, 2018
serialize.hpp import ccminer version with mtp support Feb 18, 2018
skein.cu import ccminer version with mtp support Feb 18, 2018
skein2.cpp import ccminer version with mtp support Feb 18, 2018
stats.cpp import ccminer version with mtp support Feb 18, 2018
sysinfos.cpp import ccminer version with mtp support Feb 18, 2018
uint256.h import ccminer version with mtp support Feb 18, 2018
uint256.h_old mtp running on testnet wallet Jun 6, 2018
util.c stratum support for mtp (windows only) Nov 29, 2018
util.cpp remove unnecessary print out Dec 9, 2018
zr5.cu mtp running on testnet wallet Jun 6, 2018

README.md

ccminer with mtp support

djm34 2017-2018

donation addresses:

BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze

XZC: aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5

Based on Christian Buchner's & Christian H.'s CUDA project and tpruvot@github.

Building on windows

Required: msvc2015 and cuda 9.x (cuda 9.2 prefered) Dependencies for windows are included in compat directory, using a different version of msvc will most likely require to recompile those libraries.

In order to build ccminer, choose "Release" and "x64" (this version won't work with win32) Then click "generate"

Building on Linux (tested on Ubuntu 16.04)

A developpement environnement is required together with curl, jansson and openssl

* sudo apt-get update && sudo apt-get -y dist-upgrade
* sudo apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev

* Installing CUDA 9.2 and compatible drivers from nvidia website and not from ubuntu package is usually easier

* Compiling ccminner:

./autogen.sh
./configure
./make

About source code dependencies for windows

This project requires some libraries to be built :

  • OpenSSL (prebuilt for win)

  • Curl (prebuilt for win)

  • pthreads (prebuilt for win)

The tree now contains recent prebuilt openssl and curl .lib for both x86 and x64 platforms (windows).

To rebuild them, you need to clone this repository and its submodules : git clone https://github.com/peters/curl-for-windows.git compat/curl-for-windows

Running ccminer with mtp and requirement

mtp requires 4Gb of vram, hence cards with less than 4.5Gb of vram won't work. while running, ccminer will also use around 5.5Gb of ram. For the moment, ccminer, support only one vga per instance, to run of several gpus, it is then required to run one ccminer instance by gpu.

Instruction to mine on zcoin wallet (example)

command line structure

ccminer -a mtp -o http://127.0.0.1:rpcport -u rpcuser -p rpcpassword --coinbase-addr zcoin-address --device card-number/name --no-getwork --no-longpoll

Example (RUN-ZCOIN-MTP.cmd)

ccminer -a mtp -o http://127.0.0.1:8382 -u djm34 -p password --coinbase-addr aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5 -d 1080 --no-getwork --no-longpoll

zcoin wallet should also be run with "server=1" option and "rpcport,rpcuser,rpcpassword" should match those of zcoin.conf

NB: For the moment, the intensity is not adjustable, this project is still in developpement, this will be changed in the near future