gominer

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

README

#gominer CPU miner for simpleChain in go

Binary releases

Installation from source

Prerequisites

  • go version 1.10.1 or above (earlier version might work or not), check with go version
  • gcc
go get github.com/simplechain-org/gominer

Run

gominer

Usage:

  gominer [global options] 
  
  VERSION:
     1.0
  
  COMMANDS:
     help  Shows a list of commands or help for one command
     
  GLOBAL OPTIONS:
     --server value     stratum server address,(host:port)
     --name value       miner name registered to the stratum server (default: "qkl.lan")
     --password value   stratum protocol password, default: no password
     --cpu value        Sets the maximum number of CPUs that can be executing simultaneously (default: 8)
     --threads value    Number of CPU threads to use for mining (default: 8)
     --verbosity value  Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=detail (default: 3) (default: 3)
     --help, -h         show help

##EXAMPLES

./gominer --server host:port --name x --password  x --threads 2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package common contains various helper functions.
Package common contains various helper functions.
bitutil
Package bitutil implements fast bitwise operations.
Package bitutil implements fast bitwise operations.
compiler
Package compiler wraps the Solidity compiler executable (solc).
Package compiler wraps the Solidity compiler executable (solc).
hexutil
Package hexutil implements hex encoding with 0x prefix.
Package hexutil implements hex encoding with 0x prefix.
math
Package math provides integer math utilities.
Package math provides integer math utilities.
mclock
Package mclock is a wrapper for a monotonic clock source
Package mclock is a wrapper for a monotonic clock source
log
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.

Jump to

Keyboard shortcuts

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