oracle

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FastOracle

func FastOracle(ch Challenge, nonce uint32, label []byte) [32]byte

func WorkOracle

func WorkOracle(computeProviderId uint, id []byte, startPosition, endPosition uint64, bitsPerLabel uint32) ([]byte, error)

func WorkOracleOne

func WorkOracleOne(id []byte, position uint64, bitsPerLabel uint32) []byte

Types

type Challenge

type Challenge = shared.Challenge

Jump to

Keyboard shortcuts

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