mocks

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: 6 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 struct {
	mock.Mock
}

func (*CollectionResources) CollectionValidationInfo

func (_m *CollectionResources) CollectionValidationInfo(chaincodeName string, collectionName string, state validation.State) ([]byte, error, error)

type IdentityDeserializer

type IdentityDeserializer struct {
	mock.Mock
}

func (*IdentityDeserializer) DeserializeIdentity

func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (validation.Identity, error)

type StateBasedValidator

type StateBasedValidator struct {
	mock.Mock
}

func (*StateBasedValidator) PostValidate

func (_m *StateBasedValidator) PostValidate(cc string, blockNum uint64, txNum uint64, err error)

func (*StateBasedValidator) PreValidate

func (_m *StateBasedValidator) PreValidate(txNum uint64, block *common.Block)

func (*StateBasedValidator) Validate

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

Jump to

Keyboard shortcuts

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