proofers

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProofOfWork

type ProofOfWork struct {
	TargetBit int
}

ProofOfWork ...

func (ProofOfWork) Hash

func (proofer ProofOfWork) Hash(block blockchain.Block) string

Hash ...

func (ProofOfWork) Validate

func (proofer ProofOfWork) Validate(block blockchain.Block) error

Validate ...

type Stringer

type Stringer interface {
	fmt.Stringer
}

Stringer ...

It's used only for mock generating.

Jump to

Keyboard shortcuts

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