Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockValidator ¶
MockValidator implements a mock validation useful for testing
func (*MockValidator) Validate ¶
func (m *MockValidator) Validate(block *common.Block) error
Validate does nothing, returning no error
type MockVsccValidator ¶
type MockVsccValidator struct { }
MockVsccValidator is a mock implementation of the VSCC validation interface
func (*MockVsccValidator) VSCCValidateTx ¶
func (v *MockVsccValidator) VSCCValidateTx(payload *common.Payload, envBytes []byte, env *common.Envelope) (error, peer.TxValidationCode)
VSCCValidateTx does nothing
Click to show internal directories.
Click to hide internal directories.