fabric: github.com/hyperledger/fabric/core/handlers/validation/builtin/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/core/handlers/validation/builtin/mocks"


Package Files


type TransactionValidator Uses

type TransactionValidator struct {

TransactionValidator is an autogenerated mock type for the TransactionValidator type

func (*TransactionValidator) Validate Uses

func (_m *TransactionValidator) Validate(block *common.Block, namespace string, txPosition int, actionPosition int, policy []byte) errors.TxValidationError

Validate provides a mock function with given fields: block, namespace, txPosition, actionPosition, policy

Package mocks imports 3 packages (graph). Updated 2019-11-20. Refresh now. Tools for package owners.