chainmaker_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: 15 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,
	blockManager *manager.BlockManager, log *zap.SugaredLogger) *ChainMakerProver

NewChainMakerProver creates ChainMakerProver

func (*ChainMakerProver) ValidTransaction

func (p *ChainMakerProver) ValidTransaction(txInfo *api.TxValidationInfo, timeout time.Duration) error

ValidTransaction 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