pow

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btt

func Btt(b []byte) time.Time

func Check

func Check(h *blake3.Hasher, m *dave.M) error

func DoWork

func DoWork(key, val, tim []byte, d uint8) (work []byte, salt []byte)

DoWork computes a proof-of-work, either on a single core or on all cores, depending on the difficulty level. For lower difficulty levels (< 12), the single-core implementation performs best.

func Nzerobit

func Nzerobit(key []byte) uint8

func Ttb

func Ttb(t time.Time) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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