ds-go-miner

command module
v0.0.0-...-b735114 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ds-go-miner

Duino Coin Miner in Golang

Compile Static Binary

CGO_ENABLED=0 go build

Create Docker File

docker build -t ds-go-miner .

Run Docker Container

docker run -ti --rm -e MINERNAME="dsminer" ds-go-miner:latest

Environment Variable Options

DUCOSERVER Server Address and Port
MINERNAME  Miner Name
HOSTNAME   Rig ID
DIFF       Difficulty LOW/MEDIUM/NET
ALGO       xxhash/ducos1a

Runtime Options

  -algo string
        Algorithm select xxhash/ducos1a, environment variable ALGO
  -debug
        console log send/receive messages.
  -diff string
        Difficulty LOW/MEDIUM/NET, environment variable DIFF
  -id string
        Rig ID, environment variable HOSTNAME (default "332b33abe2a8")
  -name string
        Miner Name, enviromnet variable MINERNAME
  -quiet
        Turn off Console Logging
  -server string
        Server Address and Port, environment variable DUCOSERVER
  -skip
        Skip the first 'Difficulty' Hash Range
  -threads int
        Number of Threads to Run (default 1)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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