prover

package
v0.0.0-...-f30a169 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package prover is transaction validation module

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmptyParams

func IsEmptyParams(params []*api.KVPair) bool

IsEmptyParams judges whether the param is empty

func VerifyInfo

func VerifyInfo(chainId string, info *api.TxValidationInfo) error

VerifyInfo judges TxValidationInfo

Types

type Prover

type Prover interface {
	// ValidTransaction verifies the existence and validity of the transaction
	ValidTransaction(txInfo *api.TxValidationInfo, timeout time.Duration) error
}

Prover defines transaction validation interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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