v20

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionResources

type CollectionResources interface {
	statebased.CollectionResources
}

type IdentityDeserializer

type IdentityDeserializer interface {
	vi.IdentityDeserializer
}

type StateBasedValidator

type StateBasedValidator interface {
	PreValidate(txNum uint64, block *common.Block)

	Validate(cc string, blockNum, txNum uint64, rwset, prp, ep []byte, endorsements []*peer.Endorsement) commonerrors.TxValidationError

	PostValidate(cc string, blockNum, txNum uint64, err error)
}

type Validator

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

func (*Validator) Validate

func (vscc *Validator) Validate(
	block *common.Block,
	namespace string,
	txPosition int,
	actionPosition int,
	policyBytes []byte,
) commonerrors.TxValidationError

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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