proto

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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