chainmaker_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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainMakerProver

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

ChainMakerProver is the implementation of Prover interface for ChainMaker

func NewChainMakerProver

func NewChainMakerProver(chainId string, sdkAdapter adapter.SDKAdapter, coder coder.Coder, store storage.StateDB,
	stateManager *manager.StateManager, log *zap.SugaredLogger) *ChainMakerProver

NewChainMakerProver creates ChainMakerProver

func (*ChainMakerProver) VerifyTransaction

func (p *ChainMakerProver) VerifyTransaction(request *api.TxValidationRequest) error

VerifyTransaction verifies the existence and validity of the transaction nolint

Jump to

Keyboard shortcuts

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