builtin

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 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 DefaultValidation

type DefaultValidation struct {
	Capabilities    Capabilities
	TxValidatorV1_2 TransactionValidator
	TxValidatorV1_3 TransactionValidator
	TxValidatorV2_0 TransactionValidator
}

func (*DefaultValidation) Init

func (v *DefaultValidation) Init(dependencies ...validation.Dependency) error

func (*DefaultValidation) Validate

func (v *DefaultValidation) Validate(block *common.Block, namespace string, txPosition int, actionPosition int, contextData ...validation.ContextDatum) error

type DefaultValidationFactory

type DefaultValidationFactory struct {
}

func (*DefaultValidationFactory) New

type TransactionValidator

type TransactionValidator interface {
	Validate(block *common.Block, namespace string, txPosition int, actionPosition int, policy []byte) commonerrors.TxValidationError
}

Directories

Path Synopsis
v12
mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
v13
mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
v20
mocks
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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