M00N

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type M00N

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

func New

func New() *M00N

func NewForTesting

func NewForTesting() (*M00N, error)

func NewShared

func NewShared() *M00N

func (*M00N) CalcHash

func (pow *M00N) CalcHash(headerBytes []byte, nonce uint64) *big.Int

func (*M00N) GetHashrate

func (pow *M00N) GetHashrate() int64

func (*M00N) Search

func (pow *M00N) Search(block pow.Block, stop <-chan struct{}, index int) (nonce uint64)

func (*M00N) Turbo

func (pow *M00N) Turbo(on bool)

func (*M00N) Verify

func (pow *M00N) Verify(block pow.Block) bool

Jump to

Keyboard shortcuts

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