Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultValidation ¶
type DefaultValidation struct { Capabilities Capabilities TxValidatorV1_2 TransactionValidator TxValidatorV1_3 TransactionValidator TxValidatorV2_0 TransactionValidator }
func (*DefaultValidation) Init ¶
func (v *DefaultValidation) Init(dependencies ...validation.Dependency) error
func (*DefaultValidation) Validate ¶
func (v *DefaultValidation) Validate(block *common.Block, namespace string, txPosition int, actionPosition int, contextData ...validation.ContextDatum) error
type DefaultValidationFactory ¶
type DefaultValidationFactory struct { }
func (*DefaultValidationFactory) New ¶
func (*DefaultValidationFactory) New() validation.Plugin
type TransactionValidator ¶
type TransactionValidator interface {
Validate(block *common.Block, namespace string, txPosition int, actionPosition int, policy []byte) commonerrors.TxValidationError
}
Click to show internal directories.
Click to hide internal directories.