Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTxValidator ¶
func NewTxValidator( chainID string, sem validatorv14.Semaphore, cr validatorv14.ChannelResources, lr plugindispatcher.LifecycleResources, cor plugindispatcher.CollectionResources, sccp sysccprovider.SystemChaincodeProvider, pm plugin.Mapper, cpmg policies.ChannelPolicyManagerGetter, ) *routingValidator
Types ¶
type Validator ¶
type Validator interface { // Validate returns an error if validation could not be performed successfully // In case of successful validation, the block is modified to reflect the validity // of the transactions it contains Validate(block *common.Block) error }
Validator defines API to validate transactions in a block
Directories ¶
Path | Synopsis |
---|---|
mocks
Code generated by mockery v1.0.0.
|
Code generated by mockery v1.0.0. |
valinforetriever/mocks
Code generated by mockery v1.0.0.
|
Code generated by mockery v1.0.0. |
Click to show internal directories.
Click to hide internal directories.