Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChannelHeaderFromPayload ¶
func GetChannelHeaderFromPayload(payload *common.Payload) *common.ChannelHeader
func GetCreatorFromSignatureHeader ¶
func GetCreatorFromSignatureHeader(signatureHeader *common.SignatureHeader) (creator *msp.SerializedIdentity)
Types ¶
type Transaction ¶
type Transaction struct { TxType common.HeaderType *common.SignatureHeader *msp.SerializedIdentity *common.Config // if TxType==common.HeaderType_CONFIG *common.ConfigUpdateEnvelope // if TxType==common.HeaderType_CONFIG_UPDATE *peer.ChaincodeActionPayload // if TxType==common.HeaderType_ENDORSER_TRANSACTION *peer.ChaincodeAction // if TxType==common.HeaderType_ENDORSER_TRANSACTION }
func ParseTransaction ¶
func ParseTransaction(txBody *common.Payload) (t Transaction)
func (Transaction) GetType ¶
func (t Transaction) GetType() string
Click to show internal directories.
Click to hide internal directories.