proto

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PolicyKey_name = map[int32]string{
		0: "POLICY_KEY_UNDEFINED",
		1: "POLICY_KEY_READERS",
		2: "POLICY_KEY_WRITERS",
		3: "POLICY_KEY_LIFECYCLE_ENDORSEMENT",
		4: "POLICY_KEY_ENDORSEMENT",
	}
	PolicyKey_value = map[string]int32{
		"POLICY_KEY_UNDEFINED":             0,
		"POLICY_KEY_READERS":               1,
		"POLICY_KEY_WRITERS":               2,
		"POLICY_KEY_LIFECYCLE_ENDORSEMENT": 3,
		"POLICY_KEY_ENDORSEMENT":           4,
	}
)

Enum value maps for PolicyKey.

View Source
var (
	CertType_name = map[int32]string{
		0: "CERT_TYPE_UNDEFINED",
		1: "CERT_TYPE_CA",
		2: "CERT_TYPE_INTERMEDIATE",
		3: "CERT_TYPE_ADMIN",
	}
	CertType_value = map[string]int32{
		"CERT_TYPE_UNDEFINED":    0,
		"CERT_TYPE_CA":           1,
		"CERT_TYPE_INTERMEDIATE": 2,
		"CERT_TYPE_ADMIN":        3,
	}
)

Enum value maps for CertType.

View Source
var (
	ErrUnknownFabricVersion = errors.New(`unknown fabric version`)
)
View Source
var File_block_proto protoreflect.FileDescriptor
View Source
var File_chan_config_proto protoreflect.FileDescriptor

Functions

func CalcCertificateSHA256

func CalcCertificateSHA256(b *pem.Block) []byte

func NewCommonEnvelope added in v0.7.4

func NewCommonEnvelope(payload []byte, signer msp.SigningIdentity) (*common.Envelope, error)

func NewCommonHeader added in v0.7.4

func NewCommonHeader(
	headerType common.HeaderType,
	txID string, nonce []byte,
	ts *timestamp.Timestamp,
	serializedCreator []byte,
	channel,
	chaincode string,
	tlsCertHash []byte) (*common.Header, error)

func NewMarshaledChannelHeader added in v0.7.4

func NewMarshaledChannelHeader(
	headerType common.HeaderType,
	txId string,
	ts *timestamp.Timestamp,
	channelId string,
	epoch uint64,
	extension *peer.ChaincodeHeaderExtension,
	tlsCertHash []byte) ([]byte, error)

NewMarshaledChannelHeader returns new channel header bytes for presented transaction and channel

func NewMarshaledPeerProposal added in v0.7.4

func NewMarshaledPeerProposal(header []byte, chaincode string, args [][]byte, transientMap map[string][]byte) ([]byte, error)

func NewMarshalledChaincodeProposalPayload added in v0.7.4

func NewMarshalledChaincodeProposalPayload(chaincode string, args [][]byte, transientMap map[string][]byte) ([]byte, error)

func NewMarshalledCommonHeader added in v0.7.4

func NewMarshalledCommonHeader(
	headerType common.HeaderType,
	txID string,
	nonce []byte,
	ts *timestamp.Timestamp,
	serializedCreator []byte,
	channel, chaincode string,
	tlsCertHash []byte) ([]byte, error)

func NewMarshalledCommonPayload added in v0.7.4

func NewMarshalledCommonPayload(header *common.Header, data []byte) ([]byte, error)

NewMarshalledCommonPayload returns marshalled payload from headers and data

func NewMarshalledPeerChaincodeInvocationSpec added in v0.7.4

func NewMarshalledPeerChaincodeInvocationSpec(chaincode string, args [][]byte) ([]byte, error)

func NewMarshalledSeekInfo added in v0.7.4

func NewMarshalledSeekInfo(start, stop *orderer.SeekPosition) ([]byte, error)

func NewMarshalledSignatureHeader added in v0.7.4

func NewMarshalledSignatureHeader(serializedCreator []byte, nonce []byte) ([]byte, error)

NewMarshalledSignatureHeader returns marshalled signature header for presented identity

func NewPeerSignedProposal added in v0.7.4

func NewPeerSignedProposal(proposal []byte, identity msp.SigningIdentity) (*peer.SignedProposal, error)

func NewSeekInfo added in v0.7.4

func NewSeekInfo(start, stop *orderer.SeekPosition) *orderer.SeekInfo

func NewSeekSpecified added in v0.7.4

func NewSeekSpecified(number uint64) *orderer.SeekPosition

NewSeekSpecified returns orderer.SeekPosition_Specified position

func ParseAnchorPeers

func ParseAnchorPeers(mspConfigGroup *common.ConfigGroup) ([]*peer.AnchorPeer, error)

func ParseAnchorPeersFromBytes

func ParseAnchorPeersFromBytes(b []byte) ([]*peer.AnchorPeer, error)

func ParseApplicationConfig

func ParseApplicationConfig(cfg common.Config) (map[string]*ApplicationConfig, error)

func ParseBatchSizeFromBytes

func ParseBatchSizeFromBytes(b []byte) (*orderer.BatchSize, error)

func ParseBlockDataHashingStructure

func ParseBlockDataHashingStructure(cfg common.Config) (*common.BlockDataHashingStructure, error)

func ParseCapabilities

func ParseCapabilities(cfg common.Config) (*common.Capabilities, error)

func ParseConsortium

func ParseConsortium(cfg common.Config) (string, error)

func ParseConsortiumFromBytes

func ParseConsortiumFromBytes(b []byte) (string, error)

func ParseHashingAlgorithm

func ParseHashingAlgorithm(cfg common.Config) (string, error)

func ParseHashingAlgorithmFromBytes

func ParseHashingAlgorithmFromBytes(b []byte) (string, error)

func ParseOrderer

func ParseOrderer(cfg common.Config) (map[string]*OrdererConfig, error)

func ParseOrdererBatchSize

func ParseOrdererBatchSize(cfg common.Config) (*orderer.BatchSize, error)

func ParseOrdererBatchTimeout

func ParseOrdererBatchTimeout(cfg common.Config) (string, error)

func ParseOrdererBatchTimeoutFromBytes

func ParseOrdererBatchTimeoutFromBytes(b []byte) (string, error)

func ParseOrdererConsensusType added in v0.8.0

func ParseOrdererConsensusType(cfg common.Config) (*orderer.ConsensusType, error)

func ParseOrdererConsensusTypeFromBytes added in v0.8.0

func ParseOrdererConsensusTypeFromBytes(b []byte) (*orderer.ConsensusType, error)

func ParseOrdererEndpoints

func ParseOrdererEndpoints(b []byte) ([]string, error)

func ParseOrdererIdentity

func ParseOrdererIdentity(cb *common.Block) (*msp.SerializedIdentity, error)

func ParseParseBlockDataHashingStructureFromBytes

func ParseParseBlockDataHashingStructureFromBytes(b []byte) (*common.BlockDataHashingStructure, error)

func ParseParseCapabilitiesFromBytes

func ParseParseCapabilitiesFromBytes(b []byte) (*common.Capabilities, error)

func ParsePolicy

func ParsePolicy(policiesCfg map[string]*common.ConfigPolicy) (map[string]*Policy, error)

Types

type ApplicationConfig

type ApplicationConfig struct {
	Name        string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Msp         *MSP               `protobuf:"bytes,2,opt,name=msp,proto3" json:"msp,omitempty"`
	AnchorPeers []*peer.AnchorPeer `protobuf:"bytes,3,rep,name=anchor_peers,json=anchorPeers,proto3" json:"anchor_peers,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationConfig) Descriptor deprecated added in v0.7.1

func (*ApplicationConfig) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationConfig.ProtoReflect.Descriptor instead.

func (*ApplicationConfig) GetAnchorPeers added in v0.7.1

func (x *ApplicationConfig) GetAnchorPeers() []*peer.AnchorPeer

func (*ApplicationConfig) GetMsp added in v0.7.1

func (x *ApplicationConfig) GetMsp() *MSP

func (*ApplicationConfig) GetName added in v0.7.1

func (x *ApplicationConfig) GetName() string

func (*ApplicationConfig) ProtoMessage added in v0.7.1

func (*ApplicationConfig) ProtoMessage()

func (*ApplicationConfig) ProtoReflect added in v0.7.1

func (x *ApplicationConfig) ProtoReflect() protoreflect.Message

func (*ApplicationConfig) Reset added in v0.7.1

func (x *ApplicationConfig) Reset()

func (*ApplicationConfig) String added in v0.7.1

func (x *ApplicationConfig) String() string

type Block

type Block struct {
	Header   *common.BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Data     *BlockData          `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Metadata *BlockMetadata      `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func ParseBlock

func ParseBlock(block *common.Block, opts ...ParseBlockOpt) (*Block, error)

func (*Block) BlockDate added in v0.9.4

func (x *Block) BlockDate() *timestamp.Timestamp

func (*Block) Descriptor deprecated added in v0.8.0

func (*Block) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetData added in v0.9.0

func (x *Block) GetData() *BlockData

func (*Block) GetHeader added in v0.8.0

func (x *Block) GetHeader() *common.BlockHeader

func (*Block) GetMetadata added in v0.9.0

func (x *Block) GetMetadata() *BlockMetadata

func (*Block) ProtoMessage added in v0.8.0

func (*Block) ProtoMessage()

func (*Block) ProtoReflect added in v0.8.0

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset added in v0.8.0

func (x *Block) Reset()

func (*Block) String added in v0.8.0

func (x *Block) String() string

func (*Block) ValidEnvelopes

func (x *Block) ValidEnvelopes() []*Envelope

type BlockData added in v0.9.0

type BlockData struct {
	Envelopes []*Envelope `protobuf:"bytes,1,rep,name=envelopes,proto3" json:"envelopes,omitempty"`
	// contains filtered or unexported fields
}

func ParseBlockData added in v0.9.0

func ParseBlockData(blockData [][]byte, txFilter txflags.ValidationFlags) (*BlockData, error)

func (*BlockData) Descriptor deprecated added in v0.9.0

func (*BlockData) Descriptor() ([]byte, []int)

Deprecated: Use BlockData.ProtoReflect.Descriptor instead.

func (*BlockData) GetEnvelopes added in v0.9.0

func (x *BlockData) GetEnvelopes() []*Envelope

func (*BlockData) ProtoMessage added in v0.9.0

func (*BlockData) ProtoMessage()

func (*BlockData) ProtoReflect added in v0.9.0

func (x *BlockData) ProtoReflect() protoreflect.Message

func (*BlockData) Reset added in v0.9.0

func (x *BlockData) Reset()

func (*BlockData) String added in v0.9.0

func (x *BlockData) String() string

type BlockMetadata added in v0.9.0

type BlockMetadata struct {
	OrdererSignatures []*OrdererSignature `protobuf:"bytes,1,rep,name=ordererSignatures,proto3" json:"ordererSignatures,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockMetadata) Descriptor deprecated added in v0.9.0

func (*BlockMetadata) Descriptor() ([]byte, []int)

Deprecated: Use BlockMetadata.ProtoReflect.Descriptor instead.

func (*BlockMetadata) GetOrdererSignatures added in v0.9.0

func (x *BlockMetadata) GetOrdererSignatures() []*OrdererSignature

func (*BlockMetadata) ProtoMessage added in v0.9.0

func (*BlockMetadata) ProtoMessage()

func (*BlockMetadata) ProtoReflect added in v0.9.0

func (x *BlockMetadata) ProtoReflect() protoreflect.Message

func (*BlockMetadata) Reset added in v0.9.0

func (x *BlockMetadata) Reset()

func (*BlockMetadata) String added in v0.9.0

func (x *BlockMetadata) String() string

type CertType

type CertType int32
const (
	CertType_CERT_TYPE_UNDEFINED    CertType = 0
	CertType_CERT_TYPE_CA           CertType = 1
	CertType_CERT_TYPE_INTERMEDIATE CertType = 2
	CertType_CERT_TYPE_ADMIN        CertType = 3
)

func (CertType) Descriptor added in v0.7.1

func (CertType) Descriptor() protoreflect.EnumDescriptor

func (CertType) Enum added in v0.7.1

func (x CertType) Enum() *CertType

func (CertType) EnumDescriptor deprecated added in v0.7.1

func (CertType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertType.Descriptor instead.

func (CertType) Number added in v0.7.1

func (x CertType) Number() protoreflect.EnumNumber

func (CertType) String added in v0.7.1

func (x CertType) String() string

func (CertType) Type added in v0.7.1

type Certificate

type Certificate struct {

	// sha256 hash
	Fingerprint []byte   `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	Data        []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Type        CertType `protobuf:"varint,3,opt,name=type,proto3,enum=hlfsdkgo.proto.CertType" json:"type,omitempty"`
	MspId       string   `protobuf:"bytes,4,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"`
	MspName     string   `protobuf:"bytes,5,opt,name=msp_name,json=mspName,proto3" json:"msp_name,omitempty"`
	// contains filtered or unexported fields
}

func NewCertificate

func NewCertificate(cert []byte, t CertType, mspID, mspName string) (*Certificate, error)

func (*Certificate) Descriptor deprecated added in v0.7.1

func (*Certificate) Descriptor() ([]byte, []int)

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetData added in v0.7.1

func (x *Certificate) GetData() []byte

func (*Certificate) GetFingerprint added in v0.7.1

func (x *Certificate) GetFingerprint() []byte

func (*Certificate) GetMspId added in v0.7.1

func (x *Certificate) GetMspId() string

func (*Certificate) GetMspName added in v0.7.1

func (x *Certificate) GetMspName() string

func (*Certificate) GetType added in v0.7.1

func (x *Certificate) GetType() CertType

func (*Certificate) ProtoMessage added in v0.7.1

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect added in v0.7.1

func (x *Certificate) ProtoReflect() protoreflect.Message

func (*Certificate) Reset added in v0.7.1

func (x *Certificate) Reset()

func (*Certificate) String added in v0.7.1

func (x *Certificate) String() string

type ChaincodeAction added in v0.9.0

type ChaincodeAction struct {
	Results     *TxReadWriteSet      `protobuf:"bytes,1,opt,name=results,proto3" json:"results,omitempty"`
	Events      *peer.ChaincodeEvent `protobuf:"bytes,2,opt,name=events,proto3" json:"events,omitempty"`
	Response    *peer.Response       `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	ChaincodeId *peer.ChaincodeID    `protobuf:"bytes,4,opt,name=chaincode_id,json=chaincodeId,proto3" json:"chaincode_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ChaincodeAction) Descriptor deprecated added in v0.9.0

func (*ChaincodeAction) Descriptor() ([]byte, []int)

Deprecated: Use ChaincodeAction.ProtoReflect.Descriptor instead.

func (*ChaincodeAction) GetChaincodeId added in v0.9.0

func (x *ChaincodeAction) GetChaincodeId() *peer.ChaincodeID

func (*ChaincodeAction) GetEvents added in v0.9.0

func (x *ChaincodeAction) GetEvents() *peer.ChaincodeEvent

func (*ChaincodeAction) GetResponse added in v0.9.0

func (x *ChaincodeAction) GetResponse() *peer.Response

func (*ChaincodeAction) GetResults added in v0.9.0

func (x *ChaincodeAction) GetResults() *TxReadWriteSet

func (*ChaincodeAction) ProtoMessage added in v0.9.0

func (*ChaincodeAction) ProtoMessage()

func (*ChaincodeAction) ProtoReflect added in v0.9.0

func (x *ChaincodeAction) ProtoReflect() protoreflect.Message

func (*ChaincodeAction) Reset added in v0.9.0

func (x *ChaincodeAction) Reset()

func (*ChaincodeAction) String added in v0.9.0

func (x *ChaincodeAction) String() string

type ChaincodeActionPayload added in v0.9.0

type ChaincodeActionPayload struct {
	ChaincodeProposalPayload *ChaincodeProposalPayload `` /* 135-byte string literal not displayed */
	Action                   *ChaincodeEndorsedAction  `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*ChaincodeActionPayload) Descriptor deprecated added in v0.9.0

func (*ChaincodeActionPayload) Descriptor() ([]byte, []int)

Deprecated: Use ChaincodeActionPayload.ProtoReflect.Descriptor instead.

func (*ChaincodeActionPayload) GetAction added in v0.9.0

func (*ChaincodeActionPayload) GetChaincodeProposalPayload added in v0.9.0

func (x *ChaincodeActionPayload) GetChaincodeProposalPayload() *ChaincodeProposalPayload

func (*ChaincodeActionPayload) ProtoMessage added in v0.9.0

func (*ChaincodeActionPayload) ProtoMessage()

func (*ChaincodeActionPayload) ProtoReflect added in v0.9.0

func (x *ChaincodeActionPayload) ProtoReflect() protoreflect.Message

func (*ChaincodeActionPayload) Reset added in v0.9.0

func (x *ChaincodeActionPayload) Reset()

func (*ChaincodeActionPayload) String added in v0.9.0

func (x *ChaincodeActionPayload) String() string

type ChaincodeEndorsedAction added in v0.9.0

type ChaincodeEndorsedAction struct {
	ProposalResponsePayload *ProposalResponsePayload `` /* 132-byte string literal not displayed */
	Endorsement             []*Endorsement           `protobuf:"bytes,2,rep,name=endorsement,proto3" json:"endorsement,omitempty"`
	// contains filtered or unexported fields
}

func ParseChaincodeEndorsedAction added in v0.9.0

func ParseChaincodeEndorsedAction(actionPayload *peer.ChaincodeActionPayload) (*ChaincodeEndorsedAction, error)

func (*ChaincodeEndorsedAction) Descriptor deprecated added in v0.9.0

func (*ChaincodeEndorsedAction) Descriptor() ([]byte, []int)

Deprecated: Use ChaincodeEndorsedAction.ProtoReflect.Descriptor instead.

func (*ChaincodeEndorsedAction) GetEndorsement added in v0.9.0

func (x *ChaincodeEndorsedAction) GetEndorsement() []*Endorsement

func (*ChaincodeEndorsedAction) GetProposalResponsePayload added in v0.9.0

func (x *ChaincodeEndorsedAction) GetProposalResponsePayload() *ProposalResponsePayload

func (*ChaincodeEndorsedAction) ProtoMessage added in v0.9.0

func (*ChaincodeEndorsedAction) ProtoMessage()

func (*ChaincodeEndorsedAction) ProtoReflect added in v0.9.0

func (x *ChaincodeEndorsedAction) ProtoReflect() protoreflect.Message

func (*ChaincodeEndorsedAction) Reset added in v0.9.0

func (x *ChaincodeEndorsedAction) Reset()

func (*ChaincodeEndorsedAction) String added in v0.9.0

func (x *ChaincodeEndorsedAction) String() string

type ChaincodeProposalPayload added in v0.9.0

type ChaincodeProposalPayload struct {
	Input        *peer.ChaincodeInvocationSpec `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
	TransientMap map[string][]byte             `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func ParseChaincodeProposalPayload added in v0.9.0

func ParseChaincodeProposalPayload(actionPayload *peer.ChaincodeActionPayload) (*ChaincodeProposalPayload, error)

func (*ChaincodeProposalPayload) Descriptor deprecated added in v0.9.0

func (*ChaincodeProposalPayload) Descriptor() ([]byte, []int)

Deprecated: Use ChaincodeProposalPayload.ProtoReflect.Descriptor instead.

func (*ChaincodeProposalPayload) GetInput added in v0.9.0

func (*ChaincodeProposalPayload) GetTransientMap added in v0.9.0

func (x *ChaincodeProposalPayload) GetTransientMap() map[string][]byte

func (*ChaincodeProposalPayload) ProtoMessage added in v0.9.0

func (*ChaincodeProposalPayload) ProtoMessage()

func (*ChaincodeProposalPayload) ProtoReflect added in v0.9.0

func (x *ChaincodeProposalPayload) ProtoReflect() protoreflect.Message

func (*ChaincodeProposalPayload) Reset added in v0.9.0

func (x *ChaincodeProposalPayload) Reset()

func (*ChaincodeProposalPayload) String added in v0.9.0

func (x *ChaincodeProposalPayload) String() string

type ChannelConfig

type ChannelConfig struct {
	Applications              map[string]*ApplicationConfig     `` /* 165-byte string literal not displayed */
	Orderers                  map[string]*OrdererConfig         `` /* 157-byte string literal not displayed */
	OrdererBatchSize          *orderer.BatchSize                `protobuf:"bytes,3,opt,name=orderer_batch_size,json=ordererBatchSize,proto3" json:"orderer_batch_size,omitempty"`
	OrdererBatchTimeout       string                            `protobuf:"bytes,4,opt,name=orderer_batch_timeout,json=ordererBatchTimeout,proto3" json:"orderer_batch_timeout,omitempty"`
	OrdererConsensusType      *orderer.ConsensusType            `protobuf:"bytes,5,opt,name=orderer_consensus_type,json=ordererConsensusType,proto3" json:"orderer_consensus_type,omitempty"`
	Consortium                string                            `protobuf:"bytes,6,opt,name=consortium,proto3" json:"consortium,omitempty"`
	HashingAlgorithm          string                            `protobuf:"bytes,7,opt,name=hashing_algorithm,json=hashingAlgorithm,proto3" json:"hashing_algorithm,omitempty"`
	BlockDataHashingStructure *common.BlockDataHashingStructure `` /* 140-byte string literal not displayed */
	Capabilities              *common.Capabilities              `protobuf:"bytes,9,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
	Policy                    map[string]*Policy                `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func ParseChannelConfig

func ParseChannelConfig(cc common.Config) (*ChannelConfig, error)

func UnmarshalChannelConfig added in v0.7.1

func UnmarshalChannelConfig(b []byte) (*ChannelConfig, error)

func (*ChannelConfig) Descriptor deprecated added in v0.7.1

func (*ChannelConfig) Descriptor() ([]byte, []int)

Deprecated: Use ChannelConfig.ProtoReflect.Descriptor instead.

func (*ChannelConfig) FabricVersion added in v0.7.2

func (x *ChannelConfig) FabricVersion() FabricVersion

func (*ChannelConfig) GetAllCertificates

func (x *ChannelConfig) GetAllCertificates() ([]*Certificate, error)

GetAllCertificates - returns all(root, intermediate, admins) certificates from all MSPs'

func (*ChannelConfig) GetApplications added in v0.7.1

func (x *ChannelConfig) GetApplications() map[string]*ApplicationConfig

func (*ChannelConfig) GetBlockDataHashingStructure added in v0.7.1

func (x *ChannelConfig) GetBlockDataHashingStructure() *common.BlockDataHashingStructure

func (*ChannelConfig) GetCapabilities added in v0.7.1

func (x *ChannelConfig) GetCapabilities() *common.Capabilities

func (*ChannelConfig) GetConsortium added in v0.7.1

func (x *ChannelConfig) GetConsortium() string

func (*ChannelConfig) GetHashingAlgorithm added in v0.7.1

func (x *ChannelConfig) GetHashingAlgorithm() string

func (*ChannelConfig) GetOrdererBatchSize added in v0.7.1

func (x *ChannelConfig) GetOrdererBatchSize() *orderer.BatchSize

func (*ChannelConfig) GetOrdererBatchTimeout added in v0.7.1

func (x *ChannelConfig) GetOrdererBatchTimeout() string

func (*ChannelConfig) GetOrdererConsensusType added in v0.7.1

func (x *ChannelConfig) GetOrdererConsensusType() *orderer.ConsensusType

func (*ChannelConfig) GetOrderers added in v0.7.1

func (x *ChannelConfig) GetOrderers() map[string]*OrdererConfig

func (*ChannelConfig) GetPolicy added in v0.7.1

func (x *ChannelConfig) GetPolicy() map[string]*Policy

func (*ChannelConfig) ProtoMessage added in v0.7.1

func (*ChannelConfig) ProtoMessage()

func (*ChannelConfig) ProtoReflect added in v0.7.1

func (x *ChannelConfig) ProtoReflect() protoreflect.Message

func (*ChannelConfig) Reset added in v0.7.1

func (x *ChannelConfig) Reset()

func (*ChannelConfig) String added in v0.7.1

func (x *ChannelConfig) String() string

func (*ChannelConfig) ToJSON added in v0.7.1

func (x *ChannelConfig) ToJSON() ([]byte, error)

type CollectionHashedReadWriteSet added in v0.9.0

type CollectionHashedReadWriteSet struct {
	CollectionName string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	HashedRwset    *kvrwset.HashedRWSet `protobuf:"bytes,2,opt,name=hashed_rwset,json=hashedRwset,proto3" json:"hashed_rwset,omitempty"`
	PvtRwsetHash   []byte               `protobuf:"bytes,3,opt,name=pvt_rwset_hash,json=pvtRwsetHash,proto3" json:"pvt_rwset_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionHashedReadWriteSet) Descriptor deprecated added in v0.9.0

func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int)

Deprecated: Use CollectionHashedReadWriteSet.ProtoReflect.Descriptor instead.

func (*CollectionHashedReadWriteSet) GetCollectionName added in v0.9.0

func (x *CollectionHashedReadWriteSet) GetCollectionName() string

func (*CollectionHashedReadWriteSet) GetHashedRwset added in v0.9.0

func (x *CollectionHashedReadWriteSet) GetHashedRwset() *kvrwset.HashedRWSet

func (*CollectionHashedReadWriteSet) GetPvtRwsetHash added in v0.9.0

func (x *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte

func (*CollectionHashedReadWriteSet) ProtoMessage added in v0.9.0

func (*CollectionHashedReadWriteSet) ProtoMessage()

func (*CollectionHashedReadWriteSet) ProtoReflect added in v0.9.0

func (*CollectionHashedReadWriteSet) Reset added in v0.9.0

func (x *CollectionHashedReadWriteSet) Reset()

func (*CollectionHashedReadWriteSet) String added in v0.9.0

type Endorsement added in v0.9.0

type Endorsement struct {
	Endorser  *msp.SerializedIdentity `protobuf:"bytes,1,opt,name=endorser,proto3" json:"endorser,omitempty"`
	Signature []byte                  `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Endorsement) Descriptor deprecated added in v0.9.0

func (*Endorsement) Descriptor() ([]byte, []int)

Deprecated: Use Endorsement.ProtoReflect.Descriptor instead.

func (*Endorsement) GetEndorser added in v0.9.0

func (x *Endorsement) GetEndorser() *msp.SerializedIdentity

func (*Endorsement) GetSignature added in v0.9.0

func (x *Endorsement) GetSignature() []byte

func (*Endorsement) ProtoMessage added in v0.9.0

func (*Endorsement) ProtoMessage()

func (*Endorsement) ProtoReflect added in v0.9.0

func (x *Endorsement) ProtoReflect() protoreflect.Message

func (*Endorsement) Reset added in v0.9.0

func (x *Endorsement) Reset()

func (*Endorsement) String added in v0.9.0

func (x *Endorsement) String() string

type Envelope

type Envelope struct {
	Payload        *Payload              `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Signature      []byte                `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	ValidationCode peer.TxValidationCode `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func ParseEnvelope

func ParseEnvelope(envelopeData []byte, validationCode peer.TxValidationCode) (*Envelope, error)

func (*Envelope) Descriptor deprecated added in v0.8.0

func (*Envelope) Descriptor() ([]byte, []int)

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetPayload added in v0.9.0

func (x *Envelope) GetPayload() *Payload

func (*Envelope) GetSignature added in v0.8.0

func (x *Envelope) GetSignature() []byte

func (*Envelope) GetValidationCode added in v0.8.0

func (x *Envelope) GetValidationCode() peer.TxValidationCode

func (*Envelope) ProtoMessage added in v0.8.0

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect added in v0.8.0

func (x *Envelope) ProtoReflect() protoreflect.Message

func (*Envelope) Reset added in v0.8.0

func (x *Envelope) Reset()

func (*Envelope) String added in v0.8.0

func (x *Envelope) String() string

type FabricVersion added in v0.7.2

type FabricVersion string
const (
	FabricVersionUndefined FabricVersion = "undefined"
	FabricV1               FabricVersion = "1"
	FabricV2               FabricVersion = "2"
)

func FabricVersionIsV2 added in v0.7.4

func FabricVersionIsV2(isV2 bool) FabricVersion
type Header struct {
	ChannelHeader   *common.ChannelHeader `protobuf:"bytes,1,opt,name=channel_header,json=channelHeader,proto3" json:"channel_header,omitempty"`
	SignatureHeader *SignatureHeader      `protobuf:"bytes,2,opt,name=signature_header,json=signatureHeader,proto3" json:"signature_header,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated added in v0.9.0

func (*Header) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetChannelHeader added in v0.9.0

func (x *Header) GetChannelHeader() *common.ChannelHeader

func (*Header) GetSignatureHeader added in v0.9.0

func (x *Header) GetSignatureHeader() *SignatureHeader

func (*Header) ProtoMessage added in v0.9.0

func (*Header) ProtoMessage()

func (*Header) ProtoReflect added in v0.9.0

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset added in v0.9.0

func (x *Header) Reset()

func (*Header) String added in v0.9.0

func (x *Header) String() string

type MSP

type MSP struct {
	Name   string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Config *msp.FabricMSPConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	Policy map[string]*Policy   `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func ParseMSP

func ParseMSP(mspConfigGroup *common.ConfigGroup, groupName string) (*MSP, error)

func (*MSP) Descriptor deprecated added in v0.7.1

func (*MSP) Descriptor() ([]byte, []int)

Deprecated: Use MSP.ProtoReflect.Descriptor instead.

func (*MSP) GetAllCertificates

func (x *MSP) GetAllCertificates() ([]*Certificate, error)

GetAllCertificates - returns all certificates from MSP

func (*MSP) GetConfig added in v0.7.1

func (x *MSP) GetConfig() *msp.FabricMSPConfig

func (*MSP) GetName added in v0.7.1

func (x *MSP) GetName() string

func (*MSP) GetPolicy added in v0.7.1

func (x *MSP) GetPolicy() map[string]*Policy

func (*MSP) ProtoMessage added in v0.7.1

func (*MSP) ProtoMessage()

func (*MSP) ProtoReflect added in v0.7.1

func (x *MSP) ProtoReflect() protoreflect.Message

func (*MSP) Reset added in v0.7.1

func (x *MSP) Reset()

func (*MSP) String added in v0.7.1

func (x *MSP) String() string

type NsReadWriteSet added in v0.9.0

type NsReadWriteSet struct {
	Namespace             string                          `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Rwset                 *kvrwset.KVRWSet                `protobuf:"bytes,2,opt,name=rwset,proto3" json:"rwset,omitempty"`
	CollectionHashedRwset []*CollectionHashedReadWriteSet `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NsReadWriteSet) Descriptor deprecated added in v0.9.0

func (*NsReadWriteSet) Descriptor() ([]byte, []int)

Deprecated: Use NsReadWriteSet.ProtoReflect.Descriptor instead.

func (*NsReadWriteSet) GetCollectionHashedRwset added in v0.9.0

func (x *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet

func (*NsReadWriteSet) GetNamespace added in v0.9.0

func (x *NsReadWriteSet) GetNamespace() string

func (*NsReadWriteSet) GetRwset added in v0.9.0

func (x *NsReadWriteSet) GetRwset() *kvrwset.KVRWSet

func (*NsReadWriteSet) ProtoMessage added in v0.9.0

func (*NsReadWriteSet) ProtoMessage()

func (*NsReadWriteSet) ProtoReflect added in v0.9.0

func (x *NsReadWriteSet) ProtoReflect() protoreflect.Message

func (*NsReadWriteSet) Reset added in v0.9.0

func (x *NsReadWriteSet) Reset()

func (*NsReadWriteSet) String added in v0.9.0

func (x *NsReadWriteSet) String() string

type OrdererConfig

type OrdererConfig struct {
	Name      string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Msp       *MSP     `protobuf:"bytes,2,opt,name=msp,proto3" json:"msp,omitempty"`
	Endpoints []string `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*OrdererConfig) Descriptor deprecated added in v0.7.1

func (*OrdererConfig) Descriptor() ([]byte, []int)

Deprecated: Use OrdererConfig.ProtoReflect.Descriptor instead.

func (*OrdererConfig) GetEndpoints added in v0.7.1

func (x *OrdererConfig) GetEndpoints() []string

func (*OrdererConfig) GetMsp added in v0.7.1

func (x *OrdererConfig) GetMsp() *MSP

func (*OrdererConfig) GetName added in v0.7.1

func (x *OrdererConfig) GetName() string

func (*OrdererConfig) ProtoMessage added in v0.7.1

func (*OrdererConfig) ProtoMessage()

func (*OrdererConfig) ProtoReflect added in v0.7.1

func (x *OrdererConfig) ProtoReflect() protoreflect.Message

func (*OrdererConfig) Reset added in v0.7.1

func (x *OrdererConfig) Reset()

func (*OrdererConfig) String added in v0.7.1

func (x *OrdererConfig) String() string

type OrdererSignature added in v0.8.0

type OrdererSignature struct {
	Identity  *msp.SerializedIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Signature []byte                  `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func ParseBTFOrderersIdentities added in v0.8.0

func ParseBTFOrderersIdentities(block *common.Block, configBlock *common.Block) ([]*OrdererSignature, error)

func (*OrdererSignature) Descriptor deprecated added in v0.8.0

func (*OrdererSignature) Descriptor() ([]byte, []int)

Deprecated: Use OrdererSignature.ProtoReflect.Descriptor instead.

func (*OrdererSignature) GetIdentity added in v0.8.0

func (x *OrdererSignature) GetIdentity() *msp.SerializedIdentity

func (*OrdererSignature) GetSignature added in v0.8.0

func (x *OrdererSignature) GetSignature() []byte

func (*OrdererSignature) ProtoMessage added in v0.8.0

func (*OrdererSignature) ProtoMessage()

func (*OrdererSignature) ProtoReflect added in v0.8.0

func (x *OrdererSignature) ProtoReflect() protoreflect.Message

func (*OrdererSignature) Reset added in v0.8.0

func (x *OrdererSignature) Reset()

func (*OrdererSignature) String added in v0.8.0

func (x *OrdererSignature) String() string

type ParseBlockOpt added in v0.8.0

type ParseBlockOpt func(*parseBlockOpts)

func WithConfigBlock added in v0.8.0

func WithConfigBlock(configBlock *common.Block) ParseBlockOpt

type Payload added in v0.9.0

type Payload struct {
	Header                 *Header      `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Transaction            *Transaction `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
	RawUnparsedTransaction []byte       `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated added in v0.9.0

func (*Payload) Descriptor() ([]byte, []int)

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetHeader added in v0.9.0

func (x *Payload) GetHeader() *Header

func (*Payload) GetRawUnparsedTransaction added in v0.9.0

func (x *Payload) GetRawUnparsedTransaction() []byte

func (*Payload) GetTransaction added in v0.9.0

func (x *Payload) GetTransaction() *Transaction

func (*Payload) ProtoMessage added in v0.9.0

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect added in v0.9.0

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset added in v0.9.0

func (x *Payload) Reset()

func (*Payload) String added in v0.9.0

func (x *Payload) String() string

type Policy

type Policy struct {

	// Types that are assignable to Policy:
	//
	//	*Policy_Implicit
	//	*Policy_SignaturePolicy
	Policy isPolicy_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated added in v0.7.1

func (*Policy) Descriptor() ([]byte, []int)

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetImplicit added in v0.7.1

func (x *Policy) GetImplicit() *common.ImplicitMetaPolicy

func (*Policy) GetPolicy added in v0.7.1

func (m *Policy) GetPolicy() isPolicy_Policy

func (*Policy) GetSignaturePolicy added in v0.7.1

func (x *Policy) GetSignaturePolicy() *common.SignaturePolicyEnvelope

func (*Policy) ProtoMessage added in v0.7.1

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect added in v0.7.1

func (x *Policy) ProtoReflect() protoreflect.Message

func (*Policy) Reset added in v0.7.1

func (x *Policy) Reset()

func (*Policy) String added in v0.7.1

func (x *Policy) String() string

type PolicyKey

type PolicyKey int32
const (
	PolicyKey_POLICY_KEY_UNDEFINED             PolicyKey = 0
	PolicyKey_POLICY_KEY_READERS               PolicyKey = 1
	PolicyKey_POLICY_KEY_WRITERS               PolicyKey = 2
	PolicyKey_POLICY_KEY_LIFECYCLE_ENDORSEMENT PolicyKey = 3
	PolicyKey_POLICY_KEY_ENDORSEMENT           PolicyKey = 4
)

func (PolicyKey) Descriptor added in v0.7.1

func (PolicyKey) Descriptor() protoreflect.EnumDescriptor

func (PolicyKey) Enum added in v0.7.1

func (x PolicyKey) Enum() *PolicyKey

func (PolicyKey) EnumDescriptor deprecated added in v0.7.1

func (PolicyKey) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolicyKey.Descriptor instead.

func (PolicyKey) Number added in v0.7.1

func (x PolicyKey) Number() protoreflect.EnumNumber

func (PolicyKey) String added in v0.7.1

func (x PolicyKey) String() string

func (PolicyKey) Type added in v0.7.1

type Policy_Implicit added in v0.7.1

type Policy_Implicit struct {
	Implicit *common.ImplicitMetaPolicy `protobuf:"bytes,1,opt,name=implicit,proto3,oneof"`
}

type Policy_SignaturePolicy added in v0.7.1

type Policy_SignaturePolicy struct {
	SignaturePolicy *common.SignaturePolicyEnvelope `protobuf:"bytes,2,opt,name=signature_policy,json=signaturePolicy,proto3,oneof"`
}

type ProposalResponsePayload added in v0.9.0

type ProposalResponsePayload struct {
	ProposalHash []byte           `protobuf:"bytes,1,opt,name=proposal_hash,json=proposalHash,proto3" json:"proposal_hash,omitempty"`
	Extension    *ChaincodeAction `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalResponsePayload) Descriptor deprecated added in v0.9.0

func (*ProposalResponsePayload) Descriptor() ([]byte, []int)

Deprecated: Use ProposalResponsePayload.ProtoReflect.Descriptor instead.

func (*ProposalResponsePayload) GetExtension added in v0.9.0

func (x *ProposalResponsePayload) GetExtension() *ChaincodeAction

func (*ProposalResponsePayload) GetProposalHash added in v0.9.0

func (x *ProposalResponsePayload) GetProposalHash() []byte

func (*ProposalResponsePayload) ProtoMessage added in v0.9.0

func (*ProposalResponsePayload) ProtoMessage()

func (*ProposalResponsePayload) ProtoReflect added in v0.9.0

func (x *ProposalResponsePayload) ProtoReflect() protoreflect.Message

func (*ProposalResponsePayload) Reset added in v0.9.0

func (x *ProposalResponsePayload) Reset()

func (*ProposalResponsePayload) String added in v0.9.0

func (x *ProposalResponsePayload) String() string

type SignatureHeader added in v0.9.0

type SignatureHeader struct {
	Creator *msp.SerializedIdentity `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Nonce   []byte                  `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*SignatureHeader) Descriptor deprecated added in v0.9.0

func (*SignatureHeader) Descriptor() ([]byte, []int)

Deprecated: Use SignatureHeader.ProtoReflect.Descriptor instead.

func (*SignatureHeader) GetCreator added in v0.9.0

func (x *SignatureHeader) GetCreator() *msp.SerializedIdentity

func (*SignatureHeader) GetNonce added in v0.9.0

func (x *SignatureHeader) GetNonce() []byte

func (*SignatureHeader) ProtoMessage added in v0.9.0

func (*SignatureHeader) ProtoMessage()

func (*SignatureHeader) ProtoReflect added in v0.9.0

func (x *SignatureHeader) ProtoReflect() protoreflect.Message

func (*SignatureHeader) Reset added in v0.9.0

func (x *SignatureHeader) Reset()

func (*SignatureHeader) String added in v0.9.0

func (x *SignatureHeader) String() string

type Transaction

type Transaction struct {
	ChannelConfig *ChannelConfig       `protobuf:"bytes,1,opt,name=channel_config,json=channelConfig,proto3" json:"channel_config,omitempty"`
	Actions       []*TransactionAction `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

field numbers correspond to HeaderType https://github.com/hyperledger/fabric-protos/blob/main/common/common.proto#L27

func ParseEndorserTransaction added in v0.9.0

func ParseEndorserTransaction(payload *common.Payload) (*Transaction, error)

func (*Transaction) Descriptor deprecated added in v0.8.0

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) Events

func (x *Transaction) Events() []*peer.ChaincodeEvent

func (*Transaction) GetActions added in v0.8.0

func (x *Transaction) GetActions() []*TransactionAction

func (*Transaction) GetChannelConfig added in v0.9.0

func (x *Transaction) GetChannelConfig() *ChannelConfig

func (*Transaction) ProtoMessage added in v0.8.0

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect added in v0.8.0

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset added in v0.8.0

func (x *Transaction) Reset()

func (*Transaction) String added in v0.8.0

func (x *Transaction) String() string

type TransactionAction

type TransactionAction struct {
	Header       *SignatureHeader        `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Payload      *ChaincodeActionPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	BytesPayload []byte                  `protobuf:"bytes,3,opt,name=bytes_payload,json=bytesPayload,proto3" json:"bytes_payload,omitempty"`
	// contains filtered or unexported fields
}

func ParseTxAction

func ParseTxAction(txAction *peer.TransactionAction) (*TransactionAction, error)

func ParseTxActions

func ParseTxActions(txActions []*peer.TransactionAction) ([]*TransactionAction, error)

func (*TransactionAction) ChaincodeSpec added in v0.9.0

func (x *TransactionAction) ChaincodeSpec() *peer.ChaincodeSpec

func (*TransactionAction) Descriptor deprecated added in v0.8.0

func (*TransactionAction) Descriptor() ([]byte, []int)

Deprecated: Use TransactionAction.ProtoReflect.Descriptor instead.

func (*TransactionAction) Event

func (*TransactionAction) GetBytesPayload added in v0.9.0

func (x *TransactionAction) GetBytesPayload() []byte

func (*TransactionAction) GetHeader added in v0.9.0

func (x *TransactionAction) GetHeader() *SignatureHeader

func (*TransactionAction) GetPayload added in v0.8.0

func (x *TransactionAction) GetPayload() *ChaincodeActionPayload

func (*TransactionAction) NsReadWriteSet added in v0.9.0

func (x *TransactionAction) NsReadWriteSet() []*NsReadWriteSet

func (*TransactionAction) ProtoMessage added in v0.8.0

func (*TransactionAction) ProtoMessage()

func (*TransactionAction) ProtoReflect added in v0.8.0

func (x *TransactionAction) ProtoReflect() protoreflect.Message

func (*TransactionAction) Reset added in v0.8.0

func (x *TransactionAction) Reset()

func (*TransactionAction) String added in v0.8.0

func (x *TransactionAction) String() string

type TxReadWriteSet added in v0.9.0

type TxReadWriteSet struct {
	DataModel string            `protobuf:"bytes,1,opt,name=data_model,json=dataModel,proto3" json:"data_model,omitempty"`
	NsRwset   []*NsReadWriteSet `protobuf:"bytes,2,rep,name=ns_rwset,json=nsRwset,proto3" json:"ns_rwset,omitempty"`
	// contains filtered or unexported fields
}

func ParseTxReadWriteSet added in v0.9.0

func ParseTxReadWriteSet(chaincodeAction *peer.ChaincodeAction) (*TxReadWriteSet, error)

func (*TxReadWriteSet) Descriptor deprecated added in v0.9.0

func (*TxReadWriteSet) Descriptor() ([]byte, []int)

Deprecated: Use TxReadWriteSet.ProtoReflect.Descriptor instead.

func (*TxReadWriteSet) GetDataModel added in v0.9.0

func (x *TxReadWriteSet) GetDataModel() string

func (*TxReadWriteSet) GetNsRwset added in v0.9.0

func (x *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet

func (*TxReadWriteSet) ProtoMessage added in v0.9.0

func (*TxReadWriteSet) ProtoMessage()

func (*TxReadWriteSet) ProtoReflect added in v0.9.0

func (x *TxReadWriteSet) ProtoReflect() protoreflect.Message

func (*TxReadWriteSet) Reset added in v0.9.0

func (x *TxReadWriteSet) Reset()

func (*TxReadWriteSet) String added in v0.9.0

func (x *TxReadWriteSet) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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