...

Package validation

import "github.com/hyperledger/fabric/core/common/validation"
Overview
Index
Subdirectories

Overview ▾

func ValidateProposalMessage

func ValidateProposalMessage(signedProp *pb.SignedProposal) (*pb.Proposal, *common.Header, *pb.ChaincodeHeaderExtension, error)

ValidateProposalMessage checks the validity of a SignedProposal message this function returns Header and ChaincodeHeaderExtension messages since they have been unmarshalled and validated

func ValidateTransaction

func ValidateTransaction(e *common.Envelope, c channelconfig.ApplicationCapabilities) (*common.Payload, pb.TxValidationCode)

ValidateTransaction checks that the transaction envelope is properly formed

Subdirectories

Name Synopsis
..
statebased