fabric: github.com/hyperledger/fabric/core/common/validation Index | Files | Directories

package validation

import "github.com/hyperledger/fabric/core/common/validation"

Index

Package Files

msgvalidation.go

func ValidateProposalMessage Uses

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 Uses

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

ValidateTransaction checks that the transaction envelope is properly formed

Directories

PathSynopsis
statebased

Package validation imports 10 packages (graph) and is imported by 14 packages. Updated 2018-12-17. Refresh now. Tools for package owners.