Documentation ¶
Index ¶
- type CollectionResources
- type IdentityDeserializer
- type StateBasedValidator
- func (_m *StateBasedValidator) PostValidate(cc string, blockNum uint64, txNum uint64, err error)
- func (_m *StateBasedValidator) PreValidate(txNum uint64, block *common.Block)
- func (_m *StateBasedValidator) Validate(cc string, blockNum uint64, txNum uint64, rwset []byte, prp []byte, ep []byte, ...) errors.TxValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionResources ¶
CollectionResources is an autogenerated mock type for the CollectionResources type
func (*CollectionResources) CollectionValidationInfo ¶
func (_m *CollectionResources) CollectionValidationInfo(chaincodeName string, collectionName string, state validation.State) ([]byte, error, error)
CollectionValidationInfo provides a mock function with given fields: chaincodeName, collectionName, state
type IdentityDeserializer ¶
IdentityDeserializer is an autogenerated mock type for the IdentityDeserializer type
func (*IdentityDeserializer) DeserializeIdentity ¶
func (_m *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (validation.Identity, error)
DeserializeIdentity provides a mock function with given fields: serializedIdentity
type StateBasedValidator ¶
StateBasedValidator is an autogenerated mock type for the StateBasedValidator type
func (*StateBasedValidator) PostValidate ¶
func (_m *StateBasedValidator) PostValidate(cc string, blockNum uint64, txNum uint64, err error)
PostValidate provides a mock function with given fields: cc, blockNum, txNum, err
func (*StateBasedValidator) PreValidate ¶
func (_m *StateBasedValidator) PreValidate(txNum uint64, block *common.Block)
PreValidate provides a mock function with given fields: txNum, 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
Validate provides a mock function with given fields: cc, blockNum, txNum, rwset, prp, ep, endorsements