verification

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 3 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 ProofCoverage added in v0.3.0

type ProofCoverage struct {
	UpstreamTag          string
	ProductionEquivalent bool
	Rows                 []ProofCoverageRow
}

func ProofCoverageReport added in v0.3.0

func ProofCoverageReport() ProofCoverage

type ProofCoverageRow added in v0.3.0

type ProofCoverageRow struct {
	Domain            string
	Status            string
	Vector            string
	Reason            string
	NextUpstreamInput string
	Notes             string
}

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