prover

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 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 CheckInfo

func CheckInfo(chainId string, request *api.TxValidationRequest) error

CheckInfo judges TxValidationRequest

func IsEmptyParams

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

IsEmptyParams judges whether the param is empty

Types

type Prover

type Prover interface {
	// VerifyTransaction verifies the existence and validity of the transaction
	VerifyTransaction(request *api.TxValidationRequest) 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