pow

package
v0.0.0-...-fe184aa Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 8 Imported by: 0

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