Documentation
¶
Index ¶
- func GetChaincodeAction(caBytes []byte) (*peer.ChaincodeAction, error)
- func GetChaincodeActionPayload(capBytes []byte) (*peer.ChaincodeActionPayload, error)
- func GetChaincodeEvents(eBytes []byte) (*peer.ChaincodeEvent, error)
- func GetChaincodeInvocationSpec(prop []byte) (*peer.ChaincodeInvocationSpec, error)
- func GetChaincodeProposalPayload(bytes []byte) (*peer.ChaincodeProposalPayload, error)
- func GetEnvelopeFromData(data []byte) (*common.Envelope, error)
- func GetHeader(bytes []byte) (*common.Header, error)
- func GetPayload(e *common.Envelope) (*common.Payload, error)
- func GetProposal(propBytes []byte) (*peer.Proposal, error)
- func GetProposalResponsePayload(prpBytes []byte) (*peer.ProposalResponsePayload, error)
- func GetTransaction(txBytes []byte) (*peer.Transaction, error)
- func UnmarshalChannelHeader(bytes []byte) (*common.ChannelHeader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChaincodeAction ¶
func GetChaincodeAction(caBytes []byte) (*peer.ChaincodeAction, error)
GetChaincodeAction gets the ChaincodeAction given chaicnode action bytes
func GetChaincodeActionPayload ¶
func GetChaincodeActionPayload(capBytes []byte) (*peer.ChaincodeActionPayload, error)
GetChaincodeActionPayload Get ChaincodeActionPayload from bytes
func GetChaincodeEvents ¶
func GetChaincodeEvents(eBytes []byte) (*peer.ChaincodeEvent, error)
GetChaincodeEvents gets the ChaincodeEvents given chaincode event bytes
func GetChaincodeInvocationSpec ¶
func GetChaincodeInvocationSpec(prop []byte) (*peer.ChaincodeInvocationSpec, error)
GetChaincodeInvocationSpec get the ChaincodeInvocationSpec from the proposal
func GetChaincodeProposalPayload ¶
func GetChaincodeProposalPayload(bytes []byte) (*peer.ChaincodeProposalPayload, error)
GetChaincodeProposalPayload Get ChaincodeProposalPayload from bytes
func GetEnvelopeFromData ¶
GetEnvelopeFromBlock gets an envelope from a block's Data field.
func GetHeader ¶
GetHeader Get Header from bytes
func GetPayload ¶
GetPayload Get Payload from Envelope message
func GetProposal ¶
GetProposal returns a Proposal message from its bytes
func GetProposalResponsePayload ¶
func GetProposalResponsePayload(prpBytes []byte) (*peer.ProposalResponsePayload, error)
GetProposalResponsePayload gets the proposal response payload
func GetTransaction ¶
func GetTransaction(txBytes []byte) (*peer.Transaction, error)
GetTransaction Get Transaction from bytes
func UnmarshalChannelHeader ¶
func UnmarshalChannelHeader(bytes []byte) (*common.ChannelHeader, error)
UnmarshalChannelHeader returns a ChannelHeader from bytes
Types ¶
This section is empty.