Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateProposalMessage ¶
func ValidateProposalMessage(signedProp *pb.SignedProposal) (*pb.Proposal, *common.Header, *pb.ChaincodeHeaderExtension, error)
validateProposalMessage检查已签名的Proposal消息的有效性 此函数返回header和chaincodeheaderextension消息,因为它们 已取消标记和验证
func ValidateTransaction ¶
func ValidateTransaction(e *common.Envelope, c channelconfig.ApplicationCapabilities) (*common.Payload, pb.TxValidationCode)
validateTransaction检查事务信封的格式是否正确
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.