verification

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMalformedProof = errors.New("malformed proof")

Functions

This section is empty.

Types

type FakeProof

type FakeProof struct {
	OperationID operationlog.OperationID
	Digest      string
	Proof       []byte
}

type FakeVerifier

type FakeVerifier struct{}

func NewFakeVerifier

func NewFakeVerifier() FakeVerifier

func (FakeVerifier) VerifyOperation

func (FakeVerifier) VerifyOperation(proof FakeProof) (Report, error)

type Report

type Report struct {
	OperationID     operationlog.OperationID
	Digest          string
	Accepted        bool
	ProductionReady bool
	Mode            string
}

Jump to

Keyboard shortcuts

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