kopach

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: Unlicense Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)

Functions

func Run

func Run(cx *pod.State) (e error)

Run the miner

Types

type HashCount

type HashCount struct {
	Time time.Time
	// contains filtered or unexported fields
}

type SolutionData

type SolutionData struct {
	// contains filtered or unexported fields
}

type Worker

type Worker struct {
	FirstSender atomic.Uint64

	Status              atomic.String
	HashTick            chan HashCount
	LastHash            *chainhash.Hash
	StartChan, StopChan qu.C
	SetThreads          chan int
	PassChan            chan string

	Update qu.C
	// contains filtered or unexported fields
}

func (*Worker) HashReport

func (w *Worker) HashReport() float64

func (*Worker) Start

func (w *Worker) Start()

func (*Worker) Stop

func (w *Worker) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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