Skip to content

krnlx/ccminer-mtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccminer with mtp support

djm34 2017-2018 krnlx 2018

donation addresses: djm34:

BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze

XZC: aChWVb8CpgajadpLmiwDZvZaKizQgHxfh5

krnlx:

BTC: 1FJGCKYw1pDamUxQS1dNTTVNVpWsCjPLUd

XZC: aFZGwPK5dAb8i4feQ5WjRjvWhFiMQn8JwZ

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

Building on windows

  • not tested

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 10 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 256MB of ram per adapter.

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