job

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHashMiner

func NewHashMiner(difficulty int) module.Job

Types

type HashMiner

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

func (*HashMiner) GetResult

func (h *HashMiner) GetResult() map[string]interface{}

func (*HashMiner) Id

func (h *HashMiner) Id() string

func (*HashMiner) TryAdvance

func (h *HashMiner) TryAdvance(fn func(task *module.Task)) (finished bool)

Jump to

Keyboard shortcuts

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