pow

package
v0.0.0-...-508c5de Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: LGPL-2.1-or-later Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block interface {
	Diff() *big.Int
	HashNoNonce() []byte
	N() []byte
}

type PoW

type PoW interface {
	Search(block Block, stop <-chan struct{}) []byte
	Verify(block Block) bool
	GetHashrate() int64
	Turbo(bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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