Back to

Package validation

Latest Go to latest

The latest major version is .

Published: Jul 22, 2020 | License: Apache-2.0 | Module:


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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier