gominer

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2016 License: GPL-3.0 Imports: 38 Imported by: 0

README

gominer

Installation

You need to have OpenCL installed. To download and build gominer, run:

go get -u github.com/Masterminds/glide
mkdir -p $GOPATH/src/github.com/decred
cd $GOPATH/src/github.com/decred
git clone  https://github.com/decred/gominer.git
cd gominer
glide i
go install $(glide nv)

On Ubuntu 16.04 you can install the necessary OpenCL packages (for Intel Graphics cards) with

sudo apt-get install beignet-dev

Other graphics cards will need different libraries. We have built successfully on Ubuntu 16.04 with go1.6.2, g++ 5.4.0 and beignet-dev 1.1.1-2 although other combinations should work as well.

Running

Run for benchmark:

gominer -B

Run for real mining:

gominer -u myusername -P hunter2

To mine on a pool:

gominer -o stratum+tcp://pool:port -m username -n password

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL