Giter Club home page Giter Club logo

cpp-ethereum's Introduction

ethminer

The ethminer is an Ethereum GPU mining worker. It origins in cpp-ethereum project (where GPU mining has been discontinued). Then hugely improved in Genoil's fork.

Features

  • Nvidia CUDA mining
  • realistic benchmarking against arbitrary epoch/DAG/blocknumber
  • on-GPU DAG generation (no more DAG files on disk)
  • stratum mining without proxy
  • OpenCL devices picking
  • farm failover (getwork + stratum)

Community

Gitter

Chat in ethminer channel on Gitter.

Usage

ethminer is a command line program. This means you launch it either from a Windows command prompt or Linux console, or create shortcuts to predefined command lines using a Linux Bash script or Windows batch/cmd file. For a full list of available command, please run

ethminer --help

F.A.Q

  1. Why is my hashrate with Nvidia cards on Windows 10 so low?

    The new WDDM 2.x driver on Windows 10 uses a different way of addressing the GPU. This is good for a lot of things, but not for ETH mining. For Kepler GPUs: I actually don't know. Please let me know what works best for good old Kepler. For Maxwell 1 GPUs: Unfortunately the issue is a bit more serious on the GTX750Ti, already causing suboptimal performance on Win7 and Linux. Apparently about 4MH/s can still be reached on Linux, which, depending on ETH price, could still be profitable, considering the relatively low power draw. For Maxwell 2 GPUs: There is a way of mining ETH at Win7/8/Linux speeds on Win10, by downgrading the GPU driver to a Win7 one (350.12 recommended) and using a build that was created using CUDA 6.5. For Pascal GPUs: You have to use the latest WDDM 2.1 compatible drivers in combination with Windows 10 Anniversary edition in order to get the full potential of your Pascal GPU.

  2. Why is a GTX1080 slower than a GTX1070?

    Because of the GDDR5X memory, which can't be fully utilized for ETH mining (yet).

  3. Are AMD cards also affected by slowdowns with increasing DAG size?

    Only GCN 1.0 GPUs (78x0, 79x0, 270, 280), but in a different way. You'll see that on each new epoch (30K blocks), the hashrate will go down a little bit.

  4. Can I still mine ETH with my 2GB GPU?

    No.

  5. What are the optimal launch parameters?

    The default parameters are fine in most scenario's (CUDA). For OpenCL it varies a bit more. Just play around with the numbers and use powers of 2. GPU's like powers of 2.

Building from source

This project uses CMake and Hunter package manager.

mkdir build; cd build
cmake ..
cmake --build .

CMake build options

  • -DETHASHCL=ON - enable OpenCL mining, ON by default,
  • -DETHASHCUDA=ON - enable CUDA mining, OFF by default,
  • -DETHSTRATUM=ON - build with Stratum protocol support, ON by default.

cpp-ethereum's People

Contributors

arkpar avatar azawlocki avatar caktux avatar callendorph avatar chfast avatar chriseth avatar cjentzsch avatar codeshark avatar cubedro avatar danielhams avatar debris avatar gavofyork avatar genoil avatar giact avatar gluk256 avatar gsora avatar jesuscript avatar lefterisjp avatar lianahus avatar mansaj avatar msimovic avatar obscuren avatar onepremise avatar sharpcoiner avatar subtly avatar tiimjiim avatar vbuterin avatar winsvega avatar xcthulhu avatar yann300 avatar

Watchers

 avatar  avatar

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.