Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionResources ¶
type CollectionResources interface { statebased.CollectionResources }
type IdentityDeserializer ¶
type IdentityDeserializer interface { vi.IdentityDeserializer }
type StateBasedValidator ¶
type StateBasedValidator interface { PreValidate(txNum uint64, block *common.Block) Validate(cc string, blockNum, txNum uint64, rwset, prp, ep []byte, endorsements []*peer.Endorsement) commonerrors.TxValidationError PostValidate(cc string, blockNum, txNum uint64, err error) }
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func New ¶
func New(c vc.Capabilities, s vs.StateFetcher, d vi.IdentityDeserializer, pe vp.PolicyEvaluator, cor statebased.CollectionResources) *Validator
Click to show internal directories.
Click to hide internal directories.