Giter Site home page Giter Site logo

gominer's Introduction

gominer

GPU miner for sia in go

All available opencl capable GPU's are detected and used in parallel.

Binary releases

Binaries for Windows and Linux are available in the corresponding releases

Installation from source

Prerequisites

  • go version 1.4.2 or above (earlier version might work or not), check with go version
  • opencl libraries on the library path
  • gcc
go get github.com/robvanmieghem/gominer

Run

gominer

Usage:

  -url string
    	siad host and port (default "localhost:9980")
        for stratum servers, use `stratum+tcp://<host>:<port>`
  -user string
        username, most stratum servers take this in the form [payoutaddress].[rigname]
        This is optional, if solo mining sia, this is not needed
  -I int
    	Intensity (default 28)
  -E string
        Exclude GPU's: comma separated list of devicenumbers
  -cpu
    	If set, also use the CPU for mining, only GPU's are used by default
  -v	Show version and exit

See what intensity gives you the best hashrate, increasing the intensity also increases the stale rate though.

Stratum support

Stratum support is implemented as defined on https://siamining.com/stratum

Developer fee

A developer fee of 1% is created by submitting 1% of the shares for my address if using the stratum protocol. The code is open source so you can simply remove that line if you want to. To make it easy for you, the exact line is https://github.com/robvanmieghem/gominer/blob/master/algorithms/sia/siastratum.go#L307 if you do not want to support the gominer development.

FAQ

  • ERROR fetching work - Status code 404

    If you are solomining, make sure the miner module is enabled in siad: siad -M cghrtwm

  • ERROR fetching work - Get http://localhost:9980/miner/header: dial tcp 127.0.0.1:9980: connection refused

    Make sure siad is running

  • What is siad?

    Check the sia documentation

  • I don't know how to set up siad or the sia UI wallet, how do I do that?

    Check the sia documentation.

  • You have to help me set up mining SIA

    No I don't

Support development

If you really want to, you can support the gominer development:

SIA: 79b9089439218734192db7016f07dc5a0e2a95e873992dd782a1e1306b2c44e116e1d8ded910

BTC: 36bQun9zTTvBzHVxvokrLeBACEPGQrebAP

gominer's People

Contributors

robvanmieghem avatar siamining avatar voidingwarranties avatar

Watchers

 avatar  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.