pow

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(data, difficulty []byte) (work []byte, err error)

Generate generates proof-of-work.

func GenerateCPU

func GenerateCPU(data []byte, target uint64) (work []byte, err error)

GenerateCPU generates proof-of-work using the CPU.

func GenerateGPU

func GenerateGPU(data []byte, target uint64) (work []byte, err error)

GenerateGPU generates proof-of-work using the GPU.

Types

This section is empty.

Jump to

Keyboard shortcuts

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