deterministic

package
v0.3.23 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeterministicVerifier

type DeterministicVerifier struct {
	// contains filtered or unexported fields
}

func (*DeterministicVerifier) GetShardProposal

func (deterministicVerifier *DeterministicVerifier) GetShardProposal(
	ctx context.Context,
	shard model.JobShard,
	shardResultPath string,
) ([]byte, error)

func (*DeterministicVerifier) GetShardResultPath

func (deterministicVerifier *DeterministicVerifier) GetShardResultPath(
	_ context.Context,
	shard model.JobShard,
) (string, error)

func (*DeterministicVerifier) IsInstalled

func (deterministicVerifier *DeterministicVerifier) IsInstalled(context.Context) (bool, error)

func (*DeterministicVerifier) VerifyShard

func (deterministicVerifier *DeterministicVerifier) VerifyShard(
	ctx context.Context,
	shard model.JobShard,
	executionStates []model.ExecutionState,
) ([]verifier.VerifierResult, error)

Jump to

Keyboard shortcuts

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