kopach

package
v1.9.20 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Unlicense Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle added in v0.4.14

func Handle(cx *conte.Xt) func(c *cli.Context) (e error)

Types

type HashCount

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

type SolutionData added in v0.4.14

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 added in v0.4.14

func (w *Worker) HashReport() float64

func (*Worker) Start added in v0.4.14

func (w *Worker) Start()

func (*Worker) Stop added in v0.4.14

func (w *Worker) Stop()

Directories

Path Synopsis
hashrate
Package hashrate is a message type for Simplebuffers generated by miners to broadcast an IP address, a count and version number and current height of mining work just completed.
Package hashrate is a message type for Simplebuffers generated by miners to broadcast an IP address, a count and version number and current height of mining work just completed.
job
sol

Jump to

Keyboard shortcuts

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