validation

package
v1.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 8 Imported by: 551

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 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) (*common.Payload, pb.TxValidationCode)

ValidateTransaction checks that the transaction envelope is properly formed

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL