verifying

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WorkOracleOne = oracle.WorkOracleOne
	FastOracle    = oracle.FastOracle
	UInt64LE      = shared.UInt64LE
)

Functions

func Verify

func Verify(p *shared.Proof, m *shared.ProofMetadata) error

Verify ensures the validity of a proof in respect to its metadata. It returns nil if the proof is valid or an error describing the failure, otherwise.

Types

type Config

type Config = config.Config

Jump to

Keyboard shortcuts

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