Versions in this module Expand all Collapse all v0 v0.11.1 Jun 4, 2024 v0.11.0 Apr 26, 2024 v0.10.8 Apr 12, 2024 v0.10.7 Apr 11, 2024 v0.10.6 Apr 11, 2024 Changes in this version + var ErrNilBlock = errors.New("nil block") + var ErrNilConfigBlock = errors.New("nil config block") + type Transformer interface + Transform func(*Block) (*Block, error) v0.10.5 Apr 2, 2024 v0.10.4 Feb 16, 2024 v0.10.3 Nov 21, 2023 v0.10.2 Nov 20, 2023 v0.10.1 Oct 25, 2023 v0.10.0 Oct 24, 2023 Changes in this version + var CertType_name = map[int32]string + var CertType_value = map[string]int32 + var ErrEmptyKeyAttrs = errors.New(`empty key attrs`) + var ErrUnknownFabricVersion = errors.New(`unknown fabric version`) + var File_block_proto protoreflect.FileDescriptor + var File_chan_config_proto protoreflect.FileDescriptor + var PolicyKey_name = map[int32]string + var PolicyKey_value = map[string]int32 + func CalcCertificateSHA256(b *pem.Block) []byte + func CreateCompositeKey(objectType string, attributes []string) (string, error) + func NewCommonEnvelope(payload []byte, signer msp.SigningIdentity) (*common.Envelope, error) + func NewCommonHeader(headerType common.HeaderType, txID string, nonce []byte, ...) (*common.Header, error) + func NewMarshaledChannelHeader(headerType common.HeaderType, txId string, ts *timestamp.Timestamp, ...) ([]byte, error) + func NewMarshaledPeerProposal(header []byte, chaincode string, args [][]byte, transientMap map[string][]byte) ([]byte, error) + func NewMarshalledChaincodeProposalPayload(chaincode string, args [][]byte, transientMap map[string][]byte) ([]byte, error) + func NewMarshalledCommonHeader(headerType common.HeaderType, txID string, nonce []byte, ...) ([]byte, error) + func NewMarshalledCommonPayload(header *common.Header, data []byte) ([]byte, error) + func NewMarshalledPeerChaincodeInvocationSpec(chaincode string, args [][]byte) ([]byte, error) + func NewMarshalledSeekInfo(start, stop *orderer.SeekPosition) ([]byte, error) + func NewMarshalledSignatureHeader(serializedCreator []byte, nonce []byte) ([]byte, error) + func NewPeerSignedProposal(proposal []byte, identity msp.SigningIdentity) (*peer.SignedProposal, error) + func NewSeekInfo(start, stop *orderer.SeekPosition) *orderer.SeekInfo + func NewSeekSpecified(number uint64) *orderer.SeekPosition + func ParseAnchorPeers(mspConfigGroup *common.ConfigGroup) ([]*peer.AnchorPeer, error) + func ParseAnchorPeersFromBytes(b []byte) ([]*peer.AnchorPeer, error) + func ParseApplicationConfig(cfg common.Config) (map[string]*ApplicationConfig, error) + func ParseBatchSizeFromBytes(b []byte) (*orderer.BatchSize, error) + func ParseBlockDataHashingStructure(cfg common.Config) (*common.BlockDataHashingStructure, error) + func ParseCapabilities(cfg common.Config) (*common.Capabilities, error) + func ParseConsortium(cfg common.Config) (string, error) + func ParseConsortiumFromBytes(b []byte) (string, error) + func ParseHashingAlgorithm(cfg common.Config) (string, error) + func ParseHashingAlgorithmFromBytes(b []byte) (string, error) + func ParseOrderer(cfg common.Config) (map[string]*OrdererConfig, error) + func ParseOrdererBatchSize(cfg common.Config) (*orderer.BatchSize, error) + func ParseOrdererBatchTimeout(cfg common.Config) (string, error) + func ParseOrdererBatchTimeoutFromBytes(b []byte) (string, error) + func ParseOrdererConsensusType(cfg common.Config) (*orderer.ConsensusType, error) + func ParseOrdererConsensusTypeFromBytes(b []byte) (*orderer.ConsensusType, error) + func ParseOrdererEndpoints(b []byte) ([]string, error) + func ParseOrdererIdentity(cb *common.Block) (*msp.SerializedIdentity, error) + func ParseParseBlockDataHashingStructureFromBytes(b []byte) (*common.BlockDataHashingStructure, error) + func ParseParseCapabilitiesFromBytes(b []byte) (*common.Capabilities, error) + func ParsePolicy(policiesCfg map[string]*common.ConfigPolicy) (map[string]*Policy, error) + func SplitCompositeKey(compositeKey string) (string, []string) + type ApplicationConfig struct + AnchorPeers []*peer.AnchorPeer + Msp *MSP + Name string + func (*ApplicationConfig) Descriptor() ([]byte, []int) + func (*ApplicationConfig) ProtoMessage() + func (m *ApplicationConfig) Validate() error + func (m *ApplicationConfig) ValidateAll() error + func (x *ApplicationConfig) GetAnchorPeers() []*peer.AnchorPeer + func (x *ApplicationConfig) GetMsp() *MSP + func (x *ApplicationConfig) GetName() string + func (x *ApplicationConfig) ProtoReflect() protoreflect.Message + func (x *ApplicationConfig) Reset() + func (x *ApplicationConfig) String() string + type ApplicationConfigMultiError []error + func (m ApplicationConfigMultiError) AllErrors() []error + func (m ApplicationConfigMultiError) Error() string + type ApplicationConfigValidationError struct + func (e ApplicationConfigValidationError) Cause() error + func (e ApplicationConfigValidationError) Error() string + func (e ApplicationConfigValidationError) ErrorName() string + func (e ApplicationConfigValidationError) Field() string + func (e ApplicationConfigValidationError) Key() bool + func (e ApplicationConfigValidationError) Reason() string + type Block struct + Data *BlockData + Header *common.BlockHeader + Metadata *BlockMetadata + func ParseBlock(block *common.Block, opts ...ParseBlockOpt) (*Block, error) + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (m *Block) Validate() error + func (m *Block) ValidateAll() error + func (x *Block) BlockDate() *timestamp.Timestamp + func (x *Block) GetData() *BlockData + func (x *Block) GetHeader() *common.BlockHeader + func (x *Block) GetMetadata() *BlockMetadata + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + func (x *Block) ValidEnvelopes() []*Envelope + func (x *Block) Writes() []*Write + type BlockData struct + Envelopes []*Envelope + func ParseBlockData(blockData [][]byte, txFilter txflags.ValidationFlags) (*BlockData, error) + func (*BlockData) Descriptor() ([]byte, []int) + func (*BlockData) ProtoMessage() + func (m *BlockData) Validate() error + func (m *BlockData) ValidateAll() error + func (x *BlockData) GetEnvelopes() []*Envelope + func (x *BlockData) ProtoReflect() protoreflect.Message + func (x *BlockData) Reset() + func (x *BlockData) String() string + type BlockDataMultiError []error + func (m BlockDataMultiError) AllErrors() []error + func (m BlockDataMultiError) Error() string + type BlockDataValidationError struct + func (e BlockDataValidationError) Cause() error + func (e BlockDataValidationError) Error() string + func (e BlockDataValidationError) ErrorName() string + func (e BlockDataValidationError) Field() string + func (e BlockDataValidationError) Key() bool + func (e BlockDataValidationError) Reason() string + type BlockMetadata struct + OrdererSignatures []*OrdererSignature + func (*BlockMetadata) Descriptor() ([]byte, []int) + func (*BlockMetadata) ProtoMessage() + func (m *BlockMetadata) Validate() error + func (m *BlockMetadata) ValidateAll() error + func (x *BlockMetadata) GetOrdererSignatures() []*OrdererSignature + func (x *BlockMetadata) ProtoReflect() protoreflect.Message + func (x *BlockMetadata) Reset() + func (x *BlockMetadata) String() string + type BlockMetadataMultiError []error + func (m BlockMetadataMultiError) AllErrors() []error + func (m BlockMetadataMultiError) Error() string + type BlockMetadataValidationError struct + func (e BlockMetadataValidationError) Cause() error + func (e BlockMetadataValidationError) Error() string + func (e BlockMetadataValidationError) ErrorName() string + func (e BlockMetadataValidationError) Field() string + func (e BlockMetadataValidationError) Key() bool + func (e BlockMetadataValidationError) Reason() string + type BlockMultiError []error + func (m BlockMultiError) AllErrors() []error + func (m BlockMultiError) Error() string + type BlockValidationError struct + func (e BlockValidationError) Cause() error + func (e BlockValidationError) Error() string + func (e BlockValidationError) ErrorName() string + func (e BlockValidationError) Field() string + func (e BlockValidationError) Key() bool + func (e BlockValidationError) Reason() string + type CertType int32 + const CertType_CERT_TYPE_ADMIN + const CertType_CERT_TYPE_CA + const CertType_CERT_TYPE_INTERMEDIATE + const CertType_CERT_TYPE_UNDEFINED + func (CertType) Descriptor() protoreflect.EnumDescriptor + func (CertType) EnumDescriptor() ([]byte, []int) + func (CertType) Type() protoreflect.EnumType + func (x CertType) Enum() *CertType + func (x CertType) Number() protoreflect.EnumNumber + func (x CertType) String() string + type Certificate struct + Data []byte + Fingerprint []byte + MspId string + MspName string + Type CertType + func NewCertificate(cert []byte, t CertType, mspID, mspName string) (*Certificate, error) + func (*Certificate) Descriptor() ([]byte, []int) + func (*Certificate) ProtoMessage() + func (m *Certificate) Validate() error + func (m *Certificate) ValidateAll() error + func (x *Certificate) GetData() []byte + func (x *Certificate) GetFingerprint() []byte + func (x *Certificate) GetMspId() string + func (x *Certificate) GetMspName() string + func (x *Certificate) GetType() CertType + func (x *Certificate) ProtoReflect() protoreflect.Message + func (x *Certificate) Reset() + func (x *Certificate) String() string + type CertificateMultiError []error + func (m CertificateMultiError) AllErrors() []error + func (m CertificateMultiError) Error() string + type CertificateValidationError struct + func (e CertificateValidationError) Cause() error + func (e CertificateValidationError) Error() string + func (e CertificateValidationError) ErrorName() string + func (e CertificateValidationError) Field() string + func (e CertificateValidationError) Key() bool + func (e CertificateValidationError) Reason() string + type ChaincodeAction struct + ChaincodeId *peer.ChaincodeID + Events *peer.ChaincodeEvent + Response *peer.Response + Results *TxReadWriteSet + func (*ChaincodeAction) Descriptor() ([]byte, []int) + func (*ChaincodeAction) ProtoMessage() + func (m *ChaincodeAction) Validate() error + func (m *ChaincodeAction) ValidateAll() error + func (x *ChaincodeAction) GetChaincodeId() *peer.ChaincodeID + func (x *ChaincodeAction) GetEvents() *peer.ChaincodeEvent + func (x *ChaincodeAction) GetResponse() *peer.Response + func (x *ChaincodeAction) GetResults() *TxReadWriteSet + func (x *ChaincodeAction) ProtoReflect() protoreflect.Message + func (x *ChaincodeAction) Reset() + func (x *ChaincodeAction) String() string + type ChaincodeActionMultiError []error + func (m ChaincodeActionMultiError) AllErrors() []error + func (m ChaincodeActionMultiError) Error() string + type ChaincodeActionPayload struct + Action *ChaincodeEndorsedAction + ChaincodeProposalPayload *ChaincodeProposalPayload + func (*ChaincodeActionPayload) Descriptor() ([]byte, []int) + func (*ChaincodeActionPayload) ProtoMessage() + func (m *ChaincodeActionPayload) Validate() error + func (m *ChaincodeActionPayload) ValidateAll() error + func (x *ChaincodeActionPayload) GetAction() *ChaincodeEndorsedAction + func (x *ChaincodeActionPayload) GetChaincodeProposalPayload() *ChaincodeProposalPayload + func (x *ChaincodeActionPayload) ProtoReflect() protoreflect.Message + func (x *ChaincodeActionPayload) Reset() + func (x *ChaincodeActionPayload) String() string + type ChaincodeActionPayloadMultiError []error + func (m ChaincodeActionPayloadMultiError) AllErrors() []error + func (m ChaincodeActionPayloadMultiError) Error() string + type ChaincodeActionPayloadValidationError struct + func (e ChaincodeActionPayloadValidationError) Cause() error + func (e ChaincodeActionPayloadValidationError) Error() string + func (e ChaincodeActionPayloadValidationError) ErrorName() string + func (e ChaincodeActionPayloadValidationError) Field() string + func (e ChaincodeActionPayloadValidationError) Key() bool + func (e ChaincodeActionPayloadValidationError) Reason() string + type ChaincodeActionValidationError struct + func (e ChaincodeActionValidationError) Cause() error + func (e ChaincodeActionValidationError) Error() string + func (e ChaincodeActionValidationError) ErrorName() string + func (e ChaincodeActionValidationError) Field() string + func (e ChaincodeActionValidationError) Key() bool + func (e ChaincodeActionValidationError) Reason() string + type ChaincodeEndorsedAction struct + Endorsement []*Endorsement + ProposalResponsePayload *ProposalResponsePayload + func ParseChaincodeEndorsedAction(actionPayload *peer.ChaincodeActionPayload) (*ChaincodeEndorsedAction, error) + func (*ChaincodeEndorsedAction) Descriptor() ([]byte, []int) + func (*ChaincodeEndorsedAction) ProtoMessage() + func (m *ChaincodeEndorsedAction) Validate() error + func (m *ChaincodeEndorsedAction) ValidateAll() error + func (x *ChaincodeEndorsedAction) GetEndorsement() []*Endorsement + func (x *ChaincodeEndorsedAction) GetProposalResponsePayload() *ProposalResponsePayload + func (x *ChaincodeEndorsedAction) ProtoReflect() protoreflect.Message + func (x *ChaincodeEndorsedAction) Reset() + func (x *ChaincodeEndorsedAction) String() string + type ChaincodeEndorsedActionMultiError []error + func (m ChaincodeEndorsedActionMultiError) AllErrors() []error + func (m ChaincodeEndorsedActionMultiError) Error() string + type ChaincodeEndorsedActionValidationError struct + func (e ChaincodeEndorsedActionValidationError) Cause() error + func (e ChaincodeEndorsedActionValidationError) Error() string + func (e ChaincodeEndorsedActionValidationError) ErrorName() string + func (e ChaincodeEndorsedActionValidationError) Field() string + func (e ChaincodeEndorsedActionValidationError) Key() bool + func (e ChaincodeEndorsedActionValidationError) Reason() string + type ChaincodeProposalPayload struct + Input *peer.ChaincodeInvocationSpec + TransientMap map[string][]byte + func ParseChaincodeProposalPayload(actionPayload *peer.ChaincodeActionPayload) (*ChaincodeProposalPayload, error) + func (*ChaincodeProposalPayload) Descriptor() ([]byte, []int) + func (*ChaincodeProposalPayload) ProtoMessage() + func (m *ChaincodeProposalPayload) Validate() error + func (m *ChaincodeProposalPayload) ValidateAll() error + func (x *ChaincodeProposalPayload) GetInput() *peer.ChaincodeInvocationSpec + func (x *ChaincodeProposalPayload) GetTransientMap() map[string][]byte + func (x *ChaincodeProposalPayload) ProtoReflect() protoreflect.Message + func (x *ChaincodeProposalPayload) Reset() + func (x *ChaincodeProposalPayload) String() string + type ChaincodeProposalPayloadMultiError []error + func (m ChaincodeProposalPayloadMultiError) AllErrors() []error + func (m ChaincodeProposalPayloadMultiError) Error() string + type ChaincodeProposalPayloadValidationError struct + func (e ChaincodeProposalPayloadValidationError) Cause() error + func (e ChaincodeProposalPayloadValidationError) Error() string + func (e ChaincodeProposalPayloadValidationError) ErrorName() string + func (e ChaincodeProposalPayloadValidationError) Field() string + func (e ChaincodeProposalPayloadValidationError) Key() bool + func (e ChaincodeProposalPayloadValidationError) Reason() string + type ChannelConfig struct + Applications map[string]*ApplicationConfig + BlockDataHashingStructure *common.BlockDataHashingStructure + Capabilities *common.Capabilities + Consortium string + HashingAlgorithm string + OrdererBatchSize *orderer.BatchSize + OrdererBatchTimeout string + OrdererConsensusType *orderer.ConsensusType + Orderers map[string]*OrdererConfig + Policy map[string]*Policy + func ParseChannelConfig(cc common.Config) (*ChannelConfig, error) + func UnmarshalChannelConfig(b []byte) (*ChannelConfig, error) + func (*ChannelConfig) Descriptor() ([]byte, []int) + func (*ChannelConfig) ProtoMessage() + func (m *ChannelConfig) Validate() error + func (m *ChannelConfig) ValidateAll() error + func (x *ChannelConfig) FabricVersion() FabricVersion + func (x *ChannelConfig) GetAllCertificates() ([]*Certificate, error) + func (x *ChannelConfig) GetApplications() map[string]*ApplicationConfig + func (x *ChannelConfig) GetBlockDataHashingStructure() *common.BlockDataHashingStructure + func (x *ChannelConfig) GetCapabilities() *common.Capabilities + func (x *ChannelConfig) GetConsortium() string + func (x *ChannelConfig) GetHashingAlgorithm() string + func (x *ChannelConfig) GetOrdererBatchSize() *orderer.BatchSize + func (x *ChannelConfig) GetOrdererBatchTimeout() string + func (x *ChannelConfig) GetOrdererConsensusType() *orderer.ConsensusType + func (x *ChannelConfig) GetOrderers() map[string]*OrdererConfig + func (x *ChannelConfig) GetPolicy() map[string]*Policy + func (x *ChannelConfig) ProtoReflect() protoreflect.Message + func (x *ChannelConfig) Reset() + func (x *ChannelConfig) String() string + func (x *ChannelConfig) ToJSON() ([]byte, error) + type ChannelConfigMultiError []error + func (m ChannelConfigMultiError) AllErrors() []error + func (m ChannelConfigMultiError) Error() string + type ChannelConfigValidationError struct + func (e ChannelConfigValidationError) Cause() error + func (e ChannelConfigValidationError) Error() string + func (e ChannelConfigValidationError) ErrorName() string + func (e ChannelConfigValidationError) Field() string + func (e ChannelConfigValidationError) Key() bool + func (e ChannelConfigValidationError) Reason() string + type CollectionHashedReadWriteSet struct + CollectionName string + HashedRwset *kvrwset.HashedRWSet + PvtRwsetHash []byte + func (*CollectionHashedReadWriteSet) Descriptor() ([]byte, []int) + func (*CollectionHashedReadWriteSet) ProtoMessage() + func (m *CollectionHashedReadWriteSet) Validate() error + func (m *CollectionHashedReadWriteSet) ValidateAll() error + func (x *CollectionHashedReadWriteSet) GetCollectionName() string + func (x *CollectionHashedReadWriteSet) GetHashedRwset() *kvrwset.HashedRWSet + func (x *CollectionHashedReadWriteSet) GetPvtRwsetHash() []byte + func (x *CollectionHashedReadWriteSet) ProtoReflect() protoreflect.Message + func (x *CollectionHashedReadWriteSet) Reset() + func (x *CollectionHashedReadWriteSet) String() string + type CollectionHashedReadWriteSetMultiError []error + func (m CollectionHashedReadWriteSetMultiError) AllErrors() []error + func (m CollectionHashedReadWriteSetMultiError) Error() string + type CollectionHashedReadWriteSetValidationError struct + func (e CollectionHashedReadWriteSetValidationError) Cause() error + func (e CollectionHashedReadWriteSetValidationError) Error() string + func (e CollectionHashedReadWriteSetValidationError) ErrorName() string + func (e CollectionHashedReadWriteSetValidationError) Field() string + func (e CollectionHashedReadWriteSetValidationError) Key() bool + func (e CollectionHashedReadWriteSetValidationError) Reason() string + type Endorsement struct + Endorser *msp.SerializedIdentity + Signature []byte + func (*Endorsement) Descriptor() ([]byte, []int) + func (*Endorsement) ProtoMessage() + func (m *Endorsement) Validate() error + func (m *Endorsement) ValidateAll() error + func (x *Endorsement) GetEndorser() *msp.SerializedIdentity + func (x *Endorsement) GetSignature() []byte + func (x *Endorsement) ProtoReflect() protoreflect.Message + func (x *Endorsement) Reset() + func (x *Endorsement) String() string + type EndorsementMultiError []error + func (m EndorsementMultiError) AllErrors() []error + func (m EndorsementMultiError) Error() string + type EndorsementValidationError struct + func (e EndorsementValidationError) Cause() error + func (e EndorsementValidationError) Error() string + func (e EndorsementValidationError) ErrorName() string + func (e EndorsementValidationError) Field() string + func (e EndorsementValidationError) Key() bool + func (e EndorsementValidationError) Reason() string + type Envelope struct + Payload *Payload + Signature []byte + ValidationCode peer.TxValidationCode + func ParseEnvelope(envelopeData []byte, validationCode peer.TxValidationCode) (*Envelope, error) + func (*Envelope) Descriptor() ([]byte, []int) + func (*Envelope) ProtoMessage() + func (m *Envelope) Validate() error + func (m *Envelope) ValidateAll() error + func (x *Envelope) ChannelHeader() *common.ChannelHeader + func (x *Envelope) GetPayload() *Payload + func (x *Envelope) GetSignature() []byte + func (x *Envelope) GetValidationCode() peer.TxValidationCode + func (x *Envelope) ProtoReflect() protoreflect.Message + func (x *Envelope) Reset() + func (x *Envelope) SignatureHeader() *SignatureHeader + func (x *Envelope) String() string + func (x *Envelope) TxActions() []*TransactionAction + type EnvelopeMultiError []error + func (m EnvelopeMultiError) AllErrors() []error + func (m EnvelopeMultiError) Error() string + type EnvelopeValidationError struct + func (e EnvelopeValidationError) Cause() error + func (e EnvelopeValidationError) Error() string + func (e EnvelopeValidationError) ErrorName() string + func (e EnvelopeValidationError) Field() string + func (e EnvelopeValidationError) Key() bool + func (e EnvelopeValidationError) Reason() string + type FabricVersion string + const FabricV1 + const FabricV2 + const FabricVersionUndefined + func FabricVersionIsV2(isV2 bool) FabricVersion + type Header struct + ChannelHeader *common.ChannelHeader + SignatureHeader *SignatureHeader + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (m *Header) Validate() error + func (m *Header) ValidateAll() error + func (x *Header) GetChannelHeader() *common.ChannelHeader + func (x *Header) GetSignatureHeader() *SignatureHeader + func (x *Header) ProtoReflect() protoreflect.Message + func (x *Header) Reset() + func (x *Header) String() string + type HeaderMultiError []error + func (m HeaderMultiError) AllErrors() []error + func (m HeaderMultiError) Error() string + type HeaderValidationError struct + func (e HeaderValidationError) Cause() error + func (e HeaderValidationError) Error() string + func (e HeaderValidationError) ErrorName() string + func (e HeaderValidationError) Field() string + func (e HeaderValidationError) Key() bool + func (e HeaderValidationError) Reason() string + type MSP struct + Config *msp.FabricMSPConfig + Name string + Policy map[string]*Policy + func ParseMSP(mspConfigGroup *common.ConfigGroup, groupName string) (*MSP, error) + func (*MSP) Descriptor() ([]byte, []int) + func (*MSP) ProtoMessage() + func (m *MSP) Validate() error + func (m *MSP) ValidateAll() error + func (x *MSP) GetAllCertificates() ([]*Certificate, error) + func (x *MSP) GetConfig() *msp.FabricMSPConfig + func (x *MSP) GetName() string + func (x *MSP) GetPolicy() map[string]*Policy + func (x *MSP) ProtoReflect() protoreflect.Message + func (x *MSP) Reset() + func (x *MSP) String() string + type MSPMultiError []error + func (m MSPMultiError) AllErrors() []error + func (m MSPMultiError) Error() string + type MSPValidationError struct + func (e MSPValidationError) Cause() error + func (e MSPValidationError) Error() string + func (e MSPValidationError) ErrorName() string + func (e MSPValidationError) Field() string + func (e MSPValidationError) Key() bool + func (e MSPValidationError) Reason() string + type NsReadWriteSet struct + CollectionHashedRwset []*CollectionHashedReadWriteSet + Namespace string + Rwset *kvrwset.KVRWSet + func (*NsReadWriteSet) Descriptor() ([]byte, []int) + func (*NsReadWriteSet) ProtoMessage() + func (m *NsReadWriteSet) Validate() error + func (m *NsReadWriteSet) ValidateAll() error + func (x *NsReadWriteSet) GetCollectionHashedRwset() []*CollectionHashedReadWriteSet + func (x *NsReadWriteSet) GetNamespace() string + func (x *NsReadWriteSet) GetRwset() *kvrwset.KVRWSet + func (x *NsReadWriteSet) ProtoReflect() protoreflect.Message + func (x *NsReadWriteSet) Reset() + func (x *NsReadWriteSet) String() string + type NsReadWriteSetMultiError []error + func (m NsReadWriteSetMultiError) AllErrors() []error + func (m NsReadWriteSetMultiError) Error() string + type NsReadWriteSetValidationError struct + func (e NsReadWriteSetValidationError) Cause() error + func (e NsReadWriteSetValidationError) Error() string + func (e NsReadWriteSetValidationError) ErrorName() string + func (e NsReadWriteSetValidationError) Field() string + func (e NsReadWriteSetValidationError) Key() bool + func (e NsReadWriteSetValidationError) Reason() string + type OrdererConfig struct + Endpoints []string + Msp *MSP + Name string + func (*OrdererConfig) Descriptor() ([]byte, []int) + func (*OrdererConfig) ProtoMessage() + func (m *OrdererConfig) Validate() error + func (m *OrdererConfig) ValidateAll() error + func (x *OrdererConfig) GetEndpoints() []string + func (x *OrdererConfig) GetMsp() *MSP + func (x *OrdererConfig) GetName() string + func (x *OrdererConfig) ProtoReflect() protoreflect.Message + func (x *OrdererConfig) Reset() + func (x *OrdererConfig) String() string + type OrdererConfigMultiError []error + func (m OrdererConfigMultiError) AllErrors() []error + func (m OrdererConfigMultiError) Error() string + type OrdererConfigValidationError struct + func (e OrdererConfigValidationError) Cause() error + func (e OrdererConfigValidationError) Error() string + func (e OrdererConfigValidationError) ErrorName() string + func (e OrdererConfigValidationError) Field() string + func (e OrdererConfigValidationError) Key() bool + func (e OrdererConfigValidationError) Reason() string + type OrdererSignature struct + Identity *msp.SerializedIdentity + Signature []byte + func ParseBTFOrderersIdentities(block *common.Block, configBlock *common.Block) ([]*OrdererSignature, error) + func (*OrdererSignature) Descriptor() ([]byte, []int) + func (*OrdererSignature) ProtoMessage() + func (m *OrdererSignature) Validate() error + func (m *OrdererSignature) ValidateAll() error + func (x *OrdererSignature) GetIdentity() *msp.SerializedIdentity + func (x *OrdererSignature) GetSignature() []byte + func (x *OrdererSignature) ProtoReflect() protoreflect.Message + func (x *OrdererSignature) Reset() + func (x *OrdererSignature) String() string + type OrdererSignatureMultiError []error + func (m OrdererSignatureMultiError) AllErrors() []error + func (m OrdererSignatureMultiError) Error() string + type OrdererSignatureValidationError struct + func (e OrdererSignatureValidationError) Cause() error + func (e OrdererSignatureValidationError) Error() string + func (e OrdererSignatureValidationError) ErrorName() string + func (e OrdererSignatureValidationError) Field() string + func (e OrdererSignatureValidationError) Key() bool + func (e OrdererSignatureValidationError) Reason() string + type ParseBlockOpt func(*parseBlockOpts) + func WithConfigBlock(configBlock *common.Block) ParseBlockOpt + type Payload struct + Header *Header + RawUnparsedTransaction []byte + Transaction *Transaction + func (*Payload) Descriptor() ([]byte, []int) + func (*Payload) ProtoMessage() + func (m *Payload) Validate() error + func (m *Payload) ValidateAll() error + func (x *Payload) GetHeader() *Header + func (x *Payload) GetRawUnparsedTransaction() []byte + func (x *Payload) GetTransaction() *Transaction + func (x *Payload) ProtoReflect() protoreflect.Message + func (x *Payload) Reset() + func (x *Payload) String() string + type PayloadMultiError []error + func (m PayloadMultiError) AllErrors() []error + func (m PayloadMultiError) Error() string + type PayloadValidationError struct + func (e PayloadValidationError) Cause() error + func (e PayloadValidationError) Error() string + func (e PayloadValidationError) ErrorName() string + func (e PayloadValidationError) Field() string + func (e PayloadValidationError) Key() bool + func (e PayloadValidationError) Reason() string + type Policy struct + Policy isPolicy_Policy + func (*Policy) Descriptor() ([]byte, []int) + func (*Policy) ProtoMessage() + func (m *Policy) GetPolicy() isPolicy_Policy + func (m *Policy) Validate() error + func (m *Policy) ValidateAll() error + func (x *Policy) GetImplicit() *common.ImplicitMetaPolicy + func (x *Policy) GetSignaturePolicy() *common.SignaturePolicyEnvelope + func (x *Policy) ProtoReflect() protoreflect.Message + func (x *Policy) Reset() + func (x *Policy) String() string + type PolicyKey int32 + const PolicyKey_POLICY_KEY_ENDORSEMENT + const PolicyKey_POLICY_KEY_LIFECYCLE_ENDORSEMENT + const PolicyKey_POLICY_KEY_READERS + const PolicyKey_POLICY_KEY_UNDEFINED + const PolicyKey_POLICY_KEY_WRITERS + func (PolicyKey) Descriptor() protoreflect.EnumDescriptor + func (PolicyKey) EnumDescriptor() ([]byte, []int) + func (PolicyKey) Type() protoreflect.EnumType + func (x PolicyKey) Enum() *PolicyKey + func (x PolicyKey) Number() protoreflect.EnumNumber + func (x PolicyKey) String() string + type PolicyMultiError []error + func (m PolicyMultiError) AllErrors() []error + func (m PolicyMultiError) Error() string + type PolicyValidationError struct + func (e PolicyValidationError) Cause() error + func (e PolicyValidationError) Error() string + func (e PolicyValidationError) ErrorName() string + func (e PolicyValidationError) Field() string + func (e PolicyValidationError) Key() bool + func (e PolicyValidationError) Reason() string + type Policy_Implicit struct + Implicit *common.ImplicitMetaPolicy + type Policy_SignaturePolicy struct + SignaturePolicy *common.SignaturePolicyEnvelope + type ProposalResponsePayload struct + Extension *ChaincodeAction + ProposalHash []byte + func (*ProposalResponsePayload) Descriptor() ([]byte, []int) + func (*ProposalResponsePayload) ProtoMessage() + func (m *ProposalResponsePayload) Validate() error + func (m *ProposalResponsePayload) ValidateAll() error + func (x *ProposalResponsePayload) GetExtension() *ChaincodeAction + func (x *ProposalResponsePayload) GetProposalHash() []byte + func (x *ProposalResponsePayload) ProtoReflect() protoreflect.Message + func (x *ProposalResponsePayload) Reset() + func (x *ProposalResponsePayload) String() string + type ProposalResponsePayloadMultiError []error + func (m ProposalResponsePayloadMultiError) AllErrors() []error + func (m ProposalResponsePayloadMultiError) Error() string + type ProposalResponsePayloadValidationError struct + func (e ProposalResponsePayloadValidationError) Cause() error + func (e ProposalResponsePayloadValidationError) Error() string + func (e ProposalResponsePayloadValidationError) ErrorName() string + func (e ProposalResponsePayloadValidationError) Field() string + func (e ProposalResponsePayloadValidationError) Key() bool + func (e ProposalResponsePayloadValidationError) Reason() string + type SignatureHeader struct + Creator *msp.SerializedIdentity + Nonce []byte + func (*SignatureHeader) Descriptor() ([]byte, []int) + func (*SignatureHeader) ProtoMessage() + func (m *SignatureHeader) Validate() error + func (m *SignatureHeader) ValidateAll() error + func (x *SignatureHeader) GetCreator() *msp.SerializedIdentity + func (x *SignatureHeader) GetNonce() []byte + func (x *SignatureHeader) ProtoReflect() protoreflect.Message + func (x *SignatureHeader) Reset() + func (x *SignatureHeader) String() string + type SignatureHeaderMultiError []error + func (m SignatureHeaderMultiError) AllErrors() []error + func (m SignatureHeaderMultiError) Error() string + type SignatureHeaderValidationError struct + func (e SignatureHeaderValidationError) Cause() error + func (e SignatureHeaderValidationError) Error() string + func (e SignatureHeaderValidationError) ErrorName() string + func (e SignatureHeaderValidationError) Field() string + func (e SignatureHeaderValidationError) Key() bool + func (e SignatureHeaderValidationError) Reason() string + type Transaction struct + Actions []*TransactionAction + ChannelConfig *ChannelConfig + func ParseEndorserTransaction(payload *common.Payload) (*Transaction, error) + func (*Transaction) Descriptor() ([]byte, []int) + func (*Transaction) ProtoMessage() + func (m *Transaction) Validate() error + func (m *Transaction) ValidateAll() error + func (x *Transaction) Events() []*peer.ChaincodeEvent + func (x *Transaction) GetActions() []*TransactionAction + func (x *Transaction) GetChannelConfig() *ChannelConfig + func (x *Transaction) ProtoReflect() protoreflect.Message + func (x *Transaction) Reset() + func (x *Transaction) String() string + type TransactionAction struct + Header *SignatureHeader + Payload *ChaincodeActionPayload + func ParseTxAction(txAction *peer.TransactionAction) (*TransactionAction, error) + func ParseTxActions(txActions []*peer.TransactionAction) ([]*TransactionAction, error) + func (*TransactionAction) Descriptor() ([]byte, []int) + func (*TransactionAction) ProtoMessage() + func (m *TransactionAction) Validate() error + func (m *TransactionAction) ValidateAll() error + func (x *TransactionAction) ChaincodeSpec() *peer.ChaincodeSpec + func (x *TransactionAction) Endorsements() []*Endorsement + func (x *TransactionAction) Event() *peer.ChaincodeEvent + func (x *TransactionAction) GetHeader() *SignatureHeader + func (x *TransactionAction) GetPayload() *ChaincodeActionPayload + func (x *TransactionAction) NsReadWriteSet() []*NsReadWriteSet + func (x *TransactionAction) ProtoReflect() protoreflect.Message + func (x *TransactionAction) Reset() + func (x *TransactionAction) Response() *peer.Response + func (x *TransactionAction) String() string + type TransactionActionMultiError []error + func (m TransactionActionMultiError) AllErrors() []error + func (m TransactionActionMultiError) Error() string + type TransactionActionValidationError struct + func (e TransactionActionValidationError) Cause() error + func (e TransactionActionValidationError) Error() string + func (e TransactionActionValidationError) ErrorName() string + func (e TransactionActionValidationError) Field() string + func (e TransactionActionValidationError) Key() bool + func (e TransactionActionValidationError) Reason() string + type TransactionMultiError []error + func (m TransactionMultiError) AllErrors() []error + func (m TransactionMultiError) Error() string + type TransactionValidationError struct + func (e TransactionValidationError) Cause() error + func (e TransactionValidationError) Error() string + func (e TransactionValidationError) ErrorName() string + func (e TransactionValidationError) Field() string + func (e TransactionValidationError) Key() bool + func (e TransactionValidationError) Reason() string + type TxReadWriteSet struct + DataModel string + NsRwset []*NsReadWriteSet + func ParseTxReadWriteSet(chaincodeAction *peer.ChaincodeAction) (*TxReadWriteSet, error) + func (*TxReadWriteSet) Descriptor() ([]byte, []int) + func (*TxReadWriteSet) ProtoMessage() + func (m *TxReadWriteSet) Validate() error + func (m *TxReadWriteSet) ValidateAll() error + func (x *TxReadWriteSet) GetDataModel() string + func (x *TxReadWriteSet) GetNsRwset() []*NsReadWriteSet + func (x *TxReadWriteSet) ProtoReflect() protoreflect.Message + func (x *TxReadWriteSet) Reset() + func (x *TxReadWriteSet) String() string + type TxReadWriteSetMultiError []error + func (m TxReadWriteSetMultiError) AllErrors() []error + func (m TxReadWriteSetMultiError) Error() string + type TxReadWriteSetValidationError struct + func (e TxReadWriteSetValidationError) Cause() error + func (e TxReadWriteSetValidationError) Error() string + func (e TxReadWriteSetValidationError) ErrorName() string + func (e TxReadWriteSetValidationError) Field() string + func (e TxReadWriteSetValidationError) Key() bool + func (e TxReadWriteSetValidationError) Reason() string + type Write struct + Block uint64 + Chaincode string + ChaincodeVersion string + KWWrite *kvrwset.KVWrite + Key string + KeyAttrs []string + KeyObjectType string + Timestamp *timestamp.Timestamp + Tx string + func (bw *Write) HasKeyObjectType(objectTypes ...string) bool + func (bw *Write) HasKeyObjectTypeRegexp(pattern string) bool + func (bw *Write) HasKeyPartObjectType(objectTypes ...string) bool