Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTxValidator ¶
func NewTxValidator( channelID string, sem semaphore, cr channelResources, ler ledgerResources, lcr plugindispatcher.LifecycleResources, cor plugindispatcher.CollectionResources, pm plugin.Mapper, cpmg policies.ChannelPolicyManagerGetter, cp bccsp.BCCSP) txvalidator.Validator
NewTxValidator creates a new validator for the given channel
Types ¶
type Provider ¶
type Provider struct { *Providers // contains filtered or unexported fields }
Provider maintains a set of V2 transaction validators, one per channel
func NewProvider ¶
NewProvider returns a new validator provider
func (*Provider) GetValidatorForChannel ¶
func (p *Provider) GetValidatorForChannel(channelID string) vcommon.DistributedValidator
GetValidatorForChannel returns the validator for the given channel
Click to show internal directories.
Click to hide internal directories.