Back to godoc.org

Package validation

v1.4.8
Latest Go to latest

The latest major version is .

Published: Jul 22, 2020 | License: Apache-2.0 | Module: github.com/hyperledger/fabric

Index

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