olhash

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blake2bl

func Blake2bl(data string) string

func Blake2blFromBytes

func Blake2blFromBytes(data []byte) []byte

func CalcDistance

func CalcDistance(work []byte, soln []byte) uint64

func Eval

func Eval(work, miner_key, merkle_root, nonce []byte, timestamp uint64) uint64

func EvalString

func EvalString(work, miner_key, merkle_root, nonce string, timestamp uint64) uint64

func Verify

func Verify(Difficulty *big.Int, Work, MinerKey, MerkleRoot, Nonce string, Timestamp uint64) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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