Code Monkey home page Code Monkey logo

ccminer's Introduction

ccminer

This is a fork of https://github.com/tpruvot/ccminer.git with additions for mining LBRY. It is a CUDA miner. It requires nVidia hardware. Early editions of ccminer included support for LBRY through the old getwork interface that is still in use by many pools. This fork also includes support for direct use of getblocktemplate (GBT).

Solo mining direct:

# start a lbrycrd daemon on testnet:
./lbrycrdd -server -txindex -rpcuser=ruser -rpcpassword=rpswd -testnet

# in a separate console, run ccminer:
./ccminer -a lbry -o 127.0.0.1:19245 -u ruser -p rpswd -D

This requires support for coinbasetxn in lbrycrd's getblocktemplate implementation, which is fairly new.

Compilation:

./autogen.sh
./configure --with-cuda=/usr/lib/cuda-10.1/targets/x86_64-linux CXXFLAGS="-Og -march=native -g -Wfatal-errors -L/usr/lib/cuda-10.1/targets/x86_64-linux/lib" CFLAGS="-Og -march=native -g"
make -j5

ccminer's People

Contributors

alexis78 avatar bitbandi avatar brannonking avatar cbuchner1 avatar cedricwalter avatar clintar avatar dementeb avatar djm34 avatar erkmos avatar galaxycash avatar hakemimi avatar klaust avatar lysandergg avatar myrinia avatar opensourcerulez avatar pallas1 avatar pyritepirate avatar rebinsilva avatar sp-hash avatar tpruvot avatar xcoredev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tommyteavee

ccminer's Issues

The target difficulty is not working correctly

You will notice that the "target 0.000" is repeated many times while running, even though it successfully mines coins on testnet.

PS, can we change the debug output color at the same time?

--with-cuda is insufficient; -L was also needed

--with-cuda should not require the -L parameter to be used also. This should not be necessary: ./configure --with-cuda=/usr/lib/cuda-10.1/targets/x86_64-linux CXXFLAGS="-Og -march=native -g -Wfatal-errors -L/usr/lib/cuda-10.1/targets/x86_64-linux/lib" CFLAGS="-Og -march=native -g"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.