pow

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2015 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 {
	Difficulty() *big.Int
	HashNoNonce() []byte
	N() []byte
	Number() *big.Int
}

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