Documentation ¶
Index ¶
- Variables
- type ApproveChaincodeDefinitionForMyOrgArgs
- func (*ApproveChaincodeDefinitionForMyOrgArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetCollections() *ppeer.CollectionConfigPackage
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetEndorsementPlugin() string
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetInitRequired() bool
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetName() string
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetSequence() int64
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetSource() *ChaincodeSource
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationParameter() []byte
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationPlugin() string
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetVersion() string
- func (*ApproveChaincodeDefinitionForMyOrgArgs) ProtoMessage()
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) ProtoReflect() protoreflect.Message
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) Reset()
- func (x *ApproveChaincodeDefinitionForMyOrgArgs) String() string
- type ApproveChaincodeDefinitionForMyOrgResult
- func (*ApproveChaincodeDefinitionForMyOrgResult) Descriptor() ([]byte, []int)deprecated
- func (*ApproveChaincodeDefinitionForMyOrgResult) ProtoMessage()
- func (x *ApproveChaincodeDefinitionForMyOrgResult) ProtoReflect() protoreflect.Message
- func (x *ApproveChaincodeDefinitionForMyOrgResult) Reset()
- func (x *ApproveChaincodeDefinitionForMyOrgResult) String() string
- type ChaincodeEndorsementInfo
- func (*ChaincodeEndorsementInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChaincodeEndorsementInfo) GetEndorsementPlugin() string
- func (x *ChaincodeEndorsementInfo) GetInitRequired() bool
- func (x *ChaincodeEndorsementInfo) GetVersion() string
- func (*ChaincodeEndorsementInfo) ProtoMessage()
- func (x *ChaincodeEndorsementInfo) ProtoReflect() protoreflect.Message
- func (x *ChaincodeEndorsementInfo) Reset()
- func (x *ChaincodeEndorsementInfo) String() string
- type ChaincodeSource
- func (*ChaincodeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ChaincodeSource) GetLocalPackage() *ChaincodeSource_Local
- func (m *ChaincodeSource) GetType() isChaincodeSource_Type
- func (x *ChaincodeSource) GetUnavailable() *ChaincodeSource_Unavailable
- func (*ChaincodeSource) ProtoMessage()
- func (x *ChaincodeSource) ProtoReflect() protoreflect.Message
- func (x *ChaincodeSource) Reset()
- func (x *ChaincodeSource) String() string
- type ChaincodeSource_Local
- func (*ChaincodeSource_Local) Descriptor() ([]byte, []int)deprecated
- func (x *ChaincodeSource_Local) GetPackageId() string
- func (*ChaincodeSource_Local) ProtoMessage()
- func (x *ChaincodeSource_Local) ProtoReflect() protoreflect.Message
- func (x *ChaincodeSource_Local) Reset()
- func (x *ChaincodeSource_Local) String() string
- type ChaincodeSource_LocalPackage
- type ChaincodeSource_Unavailable
- type ChaincodeSource_Unavailable_
- type ChaincodeValidationInfo
- func (*ChaincodeValidationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChaincodeValidationInfo) GetValidationParameter() []byte
- func (x *ChaincodeValidationInfo) GetValidationPlugin() string
- func (*ChaincodeValidationInfo) ProtoMessage()
- func (x *ChaincodeValidationInfo) ProtoReflect() protoreflect.Message
- func (x *ChaincodeValidationInfo) Reset()
- func (x *ChaincodeValidationInfo) String() string
- type CheckCommitReadinessArgs
- func (*CheckCommitReadinessArgs) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCommitReadinessArgs) GetCollections() *ppeer.CollectionConfigPackage
- func (x *CheckCommitReadinessArgs) GetEndorsementPlugin() string
- func (x *CheckCommitReadinessArgs) GetInitRequired() bool
- func (x *CheckCommitReadinessArgs) GetName() string
- func (x *CheckCommitReadinessArgs) GetSequence() int64
- func (x *CheckCommitReadinessArgs) GetValidationParameter() []byte
- func (x *CheckCommitReadinessArgs) GetValidationPlugin() string
- func (x *CheckCommitReadinessArgs) GetVersion() string
- func (*CheckCommitReadinessArgs) ProtoMessage()
- func (x *CheckCommitReadinessArgs) ProtoReflect() protoreflect.Message
- func (x *CheckCommitReadinessArgs) Reset()
- func (x *CheckCommitReadinessArgs) String() string
- type CheckCommitReadinessResult
- func (*CheckCommitReadinessResult) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCommitReadinessResult) GetApprovals() map[string]bool
- func (*CheckCommitReadinessResult) ProtoMessage()
- func (x *CheckCommitReadinessResult) ProtoReflect() protoreflect.Message
- func (x *CheckCommitReadinessResult) Reset()
- func (x *CheckCommitReadinessResult) String() string
- type CommitChaincodeDefinitionArgs
- func (*CommitChaincodeDefinitionArgs) Descriptor() ([]byte, []int)deprecated
- func (x *CommitChaincodeDefinitionArgs) GetCollections() *ppeer.CollectionConfigPackage
- func (x *CommitChaincodeDefinitionArgs) GetEndorsementPlugin() string
- func (x *CommitChaincodeDefinitionArgs) GetInitRequired() bool
- func (x *CommitChaincodeDefinitionArgs) GetName() string
- func (x *CommitChaincodeDefinitionArgs) GetSequence() int64
- func (x *CommitChaincodeDefinitionArgs) GetValidationParameter() []byte
- func (x *CommitChaincodeDefinitionArgs) GetValidationPlugin() string
- func (x *CommitChaincodeDefinitionArgs) GetVersion() string
- func (*CommitChaincodeDefinitionArgs) ProtoMessage()
- func (x *CommitChaincodeDefinitionArgs) ProtoReflect() protoreflect.Message
- func (x *CommitChaincodeDefinitionArgs) Reset()
- func (x *CommitChaincodeDefinitionArgs) String() string
- type CommitChaincodeDefinitionResult
- func (*CommitChaincodeDefinitionResult) Descriptor() ([]byte, []int)deprecated
- func (*CommitChaincodeDefinitionResult) ProtoMessage()
- func (x *CommitChaincodeDefinitionResult) ProtoReflect() protoreflect.Message
- func (x *CommitChaincodeDefinitionResult) Reset()
- func (x *CommitChaincodeDefinitionResult) String() string
- type GetInstalledChaincodePackageArgs
- func (*GetInstalledChaincodePackageArgs) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstalledChaincodePackageArgs) GetPackageId() string
- func (*GetInstalledChaincodePackageArgs) ProtoMessage()
- func (x *GetInstalledChaincodePackageArgs) ProtoReflect() protoreflect.Message
- func (x *GetInstalledChaincodePackageArgs) Reset()
- func (x *GetInstalledChaincodePackageArgs) String() string
- type GetInstalledChaincodePackageResult
- func (*GetInstalledChaincodePackageResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstalledChaincodePackageResult) GetChaincodeInstallPackage() []byte
- func (*GetInstalledChaincodePackageResult) ProtoMessage()
- func (x *GetInstalledChaincodePackageResult) ProtoReflect() protoreflect.Message
- func (x *GetInstalledChaincodePackageResult) Reset()
- func (x *GetInstalledChaincodePackageResult) String() string
- type InstallChaincodeArgs
- func (*InstallChaincodeArgs) Descriptor() ([]byte, []int)deprecated
- func (x *InstallChaincodeArgs) GetChaincodeInstallPackage() []byte
- func (*InstallChaincodeArgs) ProtoMessage()
- func (x *InstallChaincodeArgs) ProtoReflect() protoreflect.Message
- func (x *InstallChaincodeArgs) Reset()
- func (x *InstallChaincodeArgs) String() string
- type InstallChaincodeResult
- func (*InstallChaincodeResult) Descriptor() ([]byte, []int)deprecated
- func (x *InstallChaincodeResult) GetLabel() string
- func (x *InstallChaincodeResult) GetPackageId() string
- func (*InstallChaincodeResult) ProtoMessage()
- func (x *InstallChaincodeResult) ProtoReflect() protoreflect.Message
- func (x *InstallChaincodeResult) Reset()
- func (x *InstallChaincodeResult) String() string
- type QueryApprovedChaincodeDefinitionArgs
- func (*QueryApprovedChaincodeDefinitionArgs) Descriptor() ([]byte, []int)deprecated
- func (x *QueryApprovedChaincodeDefinitionArgs) GetName() string
- func (x *QueryApprovedChaincodeDefinitionArgs) GetSequence() int64
- func (*QueryApprovedChaincodeDefinitionArgs) ProtoMessage()
- func (x *QueryApprovedChaincodeDefinitionArgs) ProtoReflect() protoreflect.Message
- func (x *QueryApprovedChaincodeDefinitionArgs) Reset()
- func (x *QueryApprovedChaincodeDefinitionArgs) String() string
- type QueryApprovedChaincodeDefinitionResult
- func (*QueryApprovedChaincodeDefinitionResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryApprovedChaincodeDefinitionResult) GetCollections() *ppeer.CollectionConfigPackage
- func (x *QueryApprovedChaincodeDefinitionResult) GetEndorsementPlugin() string
- func (x *QueryApprovedChaincodeDefinitionResult) GetInitRequired() bool
- func (x *QueryApprovedChaincodeDefinitionResult) GetSequence() int64
- func (x *QueryApprovedChaincodeDefinitionResult) GetSource() *ChaincodeSource
- func (x *QueryApprovedChaincodeDefinitionResult) GetValidationParameter() []byte
- func (x *QueryApprovedChaincodeDefinitionResult) GetValidationPlugin() string
- func (x *QueryApprovedChaincodeDefinitionResult) GetVersion() string
- func (*QueryApprovedChaincodeDefinitionResult) ProtoMessage()
- func (x *QueryApprovedChaincodeDefinitionResult) ProtoReflect() protoreflect.Message
- func (x *QueryApprovedChaincodeDefinitionResult) Reset()
- func (x *QueryApprovedChaincodeDefinitionResult) String() string
- type QueryChaincodeDefinitionArgs
- func (*QueryChaincodeDefinitionArgs) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChaincodeDefinitionArgs) GetName() string
- func (*QueryChaincodeDefinitionArgs) ProtoMessage()
- func (x *QueryChaincodeDefinitionArgs) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionArgs) Reset()
- func (x *QueryChaincodeDefinitionArgs) String() string
- type QueryChaincodeDefinitionResult
- func (*QueryChaincodeDefinitionResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChaincodeDefinitionResult) GetApprovals() map[string]bool
- func (x *QueryChaincodeDefinitionResult) GetCollections() *ppeer.CollectionConfigPackage
- func (x *QueryChaincodeDefinitionResult) GetEndorsementPlugin() string
- func (x *QueryChaincodeDefinitionResult) GetInitRequired() bool
- func (x *QueryChaincodeDefinitionResult) GetSequence() int64
- func (x *QueryChaincodeDefinitionResult) GetValidationParameter() []byte
- func (x *QueryChaincodeDefinitionResult) GetValidationPlugin() string
- func (x *QueryChaincodeDefinitionResult) GetVersion() string
- func (*QueryChaincodeDefinitionResult) ProtoMessage()
- func (x *QueryChaincodeDefinitionResult) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionResult) Reset()
- func (x *QueryChaincodeDefinitionResult) String() string
- type QueryChaincodeDefinitionsArgs
- func (*QueryChaincodeDefinitionsArgs) Descriptor() ([]byte, []int)deprecated
- func (*QueryChaincodeDefinitionsArgs) ProtoMessage()
- func (x *QueryChaincodeDefinitionsArgs) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionsArgs) Reset()
- func (x *QueryChaincodeDefinitionsArgs) String() string
- type QueryChaincodeDefinitionsResult
- func (*QueryChaincodeDefinitionsResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChaincodeDefinitionsResult) GetChaincodeDefinitions() []*QueryChaincodeDefinitionsResult_ChaincodeDefinition
- func (*QueryChaincodeDefinitionsResult) ProtoMessage()
- func (x *QueryChaincodeDefinitionsResult) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionsResult) Reset()
- func (x *QueryChaincodeDefinitionsResult) String() string
- type QueryChaincodeDefinitionsResult_ChaincodeDefinition
- func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetCollections() *ppeer.CollectionConfigPackage
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetEndorsementPlugin() string
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetInitRequired() bool
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetName() string
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetSequence() int64
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationParameter() []byte
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationPlugin() string
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetVersion() string
- func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoMessage()
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoReflect() protoreflect.Message
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) Reset()
- func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) String() string
- type QueryInstalledChaincodeArgs
- func (*QueryInstalledChaincodeArgs) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodeArgs) GetPackageId() string
- func (*QueryInstalledChaincodeArgs) ProtoMessage()
- func (x *QueryInstalledChaincodeArgs) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodeArgs) Reset()
- func (x *QueryInstalledChaincodeArgs) String() string
- type QueryInstalledChaincodeResult
- func (*QueryInstalledChaincodeResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodeResult) GetLabel() string
- func (x *QueryInstalledChaincodeResult) GetPackageId() string
- func (x *QueryInstalledChaincodeResult) GetReferences() map[string]*QueryInstalledChaincodeResult_References
- func (*QueryInstalledChaincodeResult) ProtoMessage()
- func (x *QueryInstalledChaincodeResult) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodeResult) Reset()
- func (x *QueryInstalledChaincodeResult) String() string
- type QueryInstalledChaincodeResult_Chaincode
- func (*QueryInstalledChaincodeResult_Chaincode) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodeResult_Chaincode) GetName() string
- func (x *QueryInstalledChaincodeResult_Chaincode) GetVersion() string
- func (*QueryInstalledChaincodeResult_Chaincode) ProtoMessage()
- func (x *QueryInstalledChaincodeResult_Chaincode) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodeResult_Chaincode) Reset()
- func (x *QueryInstalledChaincodeResult_Chaincode) String() string
- type QueryInstalledChaincodeResult_References
- func (*QueryInstalledChaincodeResult_References) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodeResult_References) GetChaincodes() []*QueryInstalledChaincodeResult_Chaincode
- func (*QueryInstalledChaincodeResult_References) ProtoMessage()
- func (x *QueryInstalledChaincodeResult_References) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodeResult_References) Reset()
- func (x *QueryInstalledChaincodeResult_References) String() string
- type QueryInstalledChaincodesArgs
- func (*QueryInstalledChaincodesArgs) Descriptor() ([]byte, []int)deprecated
- func (*QueryInstalledChaincodesArgs) ProtoMessage()
- func (x *QueryInstalledChaincodesArgs) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodesArgs) Reset()
- func (x *QueryInstalledChaincodesArgs) String() string
- type QueryInstalledChaincodesResult
- func (*QueryInstalledChaincodesResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodesResult) GetInstalledChaincodes() []*QueryInstalledChaincodesResult_InstalledChaincode
- func (*QueryInstalledChaincodesResult) ProtoMessage()
- func (x *QueryInstalledChaincodesResult) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodesResult) Reset()
- func (x *QueryInstalledChaincodesResult) String() string
- type QueryInstalledChaincodesResult_Chaincode
- func (*QueryInstalledChaincodesResult_Chaincode) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodesResult_Chaincode) GetName() string
- func (x *QueryInstalledChaincodesResult_Chaincode) GetVersion() string
- func (*QueryInstalledChaincodesResult_Chaincode) ProtoMessage()
- func (x *QueryInstalledChaincodesResult_Chaincode) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodesResult_Chaincode) Reset()
- func (x *QueryInstalledChaincodesResult_Chaincode) String() string
- type QueryInstalledChaincodesResult_InstalledChaincode
- func (*QueryInstalledChaincodesResult_InstalledChaincode) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodesResult_InstalledChaincode) GetLabel() string
- func (x *QueryInstalledChaincodesResult_InstalledChaincode) GetPackageId() string
- func (x *QueryInstalledChaincodesResult_InstalledChaincode) GetReferences() map[string]*QueryInstalledChaincodesResult_References
- func (*QueryInstalledChaincodesResult_InstalledChaincode) ProtoMessage()
- func (x *QueryInstalledChaincodesResult_InstalledChaincode) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodesResult_InstalledChaincode) Reset()
- func (x *QueryInstalledChaincodesResult_InstalledChaincode) String() string
- type QueryInstalledChaincodesResult_References
- func (*QueryInstalledChaincodesResult_References) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInstalledChaincodesResult_References) GetChaincodes() []*QueryInstalledChaincodesResult_Chaincode
- func (*QueryInstalledChaincodesResult_References) ProtoMessage()
- func (x *QueryInstalledChaincodesResult_References) ProtoReflect() protoreflect.Message
- func (x *QueryInstalledChaincodesResult_References) Reset()
- func (x *QueryInstalledChaincodesResult_References) String() string
- type StateData
- func (*StateData) Descriptor() ([]byte, []int)deprecated
- func (x *StateData) GetBytes() []byte
- func (x *StateData) GetInt64() int64
- func (x *StateData) GetString_() string
- func (m *StateData) GetType() isStateData_Type
- func (*StateData) ProtoMessage()
- func (x *StateData) ProtoReflect() protoreflect.Message
- func (x *StateData) Reset()
- func (x *StateData) String() string
- type StateData_Bytes
- type StateData_Int64
- type StateData_String_
- type StateMetadata
- func (*StateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StateMetadata) GetDatatype() string
- func (x *StateMetadata) GetFields() []string
- func (*StateMetadata) ProtoMessage()
- func (x *StateMetadata) ProtoReflect() protoreflect.Message
- func (x *StateMetadata) Reset()
- func (x *StateMetadata) String() string
Constants ¶
This section is empty.
Variables ¶
var File_chaincode_definition_proto protoreflect.FileDescriptor
var File_db_proto protoreflect.FileDescriptor
var File_lifecycle_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApproveChaincodeDefinitionForMyOrgArgs ¶
type ApproveChaincodeDefinitionForMyOrgArgs struct { // Sequence 表示链码定义的序列号。 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // Name 表示链码的名称。 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Version 表示链码的版本。 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // EndorsementPlugin 表示链码的背书插件。 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // ValidationPlugin 表示链码的验证插件。 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示链码的验证参数。 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // Collections 表示链码的集合配置包。 Collections *ppeer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` // InitRequired 表示链码是否需要初始化。 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // Source 表示链码来源。 Source *ChaincodeSource `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
ApproveChaincodeDefinitionForMyOrgArgs 是用作 _lifecycle.ApproveChaincodeDefinitionForMyOrg 函数的参数消息。它包含了用于批准链码定义的各种属性。
func (*ApproveChaincodeDefinitionForMyOrgArgs) Descriptor
deprecated
func (*ApproveChaincodeDefinitionForMyOrgArgs) Descriptor() ([]byte, []int)
Deprecated: Use ApproveChaincodeDefinitionForMyOrgArgs.ProtoReflect.Descriptor instead.
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetCollections ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetCollections() *ppeer.CollectionConfigPackage
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetEndorsementPlugin ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetEndorsementPlugin() string
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetInitRequired ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetInitRequired() bool
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetName ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetName() string
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetSequence ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetSequence() int64
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetSource ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetSource() *ChaincodeSource
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetValidationParameter ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationParameter() []byte
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetValidationPlugin ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetValidationPlugin() string
func (*ApproveChaincodeDefinitionForMyOrgArgs) GetVersion ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) GetVersion() string
func (*ApproveChaincodeDefinitionForMyOrgArgs) ProtoMessage ¶
func (*ApproveChaincodeDefinitionForMyOrgArgs) ProtoMessage()
func (*ApproveChaincodeDefinitionForMyOrgArgs) ProtoReflect ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) ProtoReflect() protoreflect.Message
func (*ApproveChaincodeDefinitionForMyOrgArgs) Reset ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) Reset()
func (*ApproveChaincodeDefinitionForMyOrgArgs) String ¶
func (x *ApproveChaincodeDefinitionForMyOrgArgs) String() string
type ApproveChaincodeDefinitionForMyOrgResult ¶
type ApproveChaincodeDefinitionForMyOrgResult struct {
// contains filtered or unexported fields
}
ApproveChaincodeDefinitionForMyOrgResult 该消息是 _lifecycle.ApproveChaincodeDefinitionForMyOrg 方法返回的结果消息。 目前该消息为空,但未来可能会扩展其内容。
func (*ApproveChaincodeDefinitionForMyOrgResult) Descriptor
deprecated
func (*ApproveChaincodeDefinitionForMyOrgResult) Descriptor() ([]byte, []int)
Deprecated: Use ApproveChaincodeDefinitionForMyOrgResult.ProtoReflect.Descriptor instead.
func (*ApproveChaincodeDefinitionForMyOrgResult) ProtoMessage ¶
func (*ApproveChaincodeDefinitionForMyOrgResult) ProtoMessage()
func (*ApproveChaincodeDefinitionForMyOrgResult) ProtoReflect ¶
func (x *ApproveChaincodeDefinitionForMyOrgResult) ProtoReflect() protoreflect.Message
func (*ApproveChaincodeDefinitionForMyOrgResult) Reset ¶
func (x *ApproveChaincodeDefinitionForMyOrgResult) Reset()
func (*ApproveChaincodeDefinitionForMyOrgResult) String ¶
func (x *ApproveChaincodeDefinitionForMyOrgResult) String() string
type ChaincodeEndorsementInfo ¶
type ChaincodeEndorsementInfo struct { // Version 版本号,表示链码的版本。 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // InitRequired 表示是否需要初始化链码。 InitRequired bool `protobuf:"varint,2,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // EndorsementPlugin 表示用于背书的插件的名称。 EndorsementPlugin string `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // contains filtered or unexported fields }
ChaincodeEndorsementInfo 是链码背书信息的结构体
func (*ChaincodeEndorsementInfo) Descriptor
deprecated
func (*ChaincodeEndorsementInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChaincodeEndorsementInfo.ProtoReflect.Descriptor instead.
func (*ChaincodeEndorsementInfo) GetEndorsementPlugin ¶
func (x *ChaincodeEndorsementInfo) GetEndorsementPlugin() string
func (*ChaincodeEndorsementInfo) GetInitRequired ¶
func (x *ChaincodeEndorsementInfo) GetInitRequired() bool
func (*ChaincodeEndorsementInfo) GetVersion ¶
func (x *ChaincodeEndorsementInfo) GetVersion() string
func (*ChaincodeEndorsementInfo) ProtoMessage ¶
func (*ChaincodeEndorsementInfo) ProtoMessage()
func (*ChaincodeEndorsementInfo) ProtoReflect ¶
func (x *ChaincodeEndorsementInfo) ProtoReflect() protoreflect.Message
func (*ChaincodeEndorsementInfo) Reset ¶
func (x *ChaincodeEndorsementInfo) Reset()
func (*ChaincodeEndorsementInfo) String ¶
func (x *ChaincodeEndorsementInfo) String() string
type ChaincodeSource ¶
type ChaincodeSource struct { // Types that are assignable to Type: // // *ChaincodeSource_Unavailable_ // *ChaincodeSource_LocalPackage Type isChaincodeSource_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
ChaincodeSource 结构体表示链码的来源信息。
func (*ChaincodeSource) Descriptor
deprecated
func (*ChaincodeSource) Descriptor() ([]byte, []int)
Deprecated: Use ChaincodeSource.ProtoReflect.Descriptor instead.
func (*ChaincodeSource) GetLocalPackage ¶
func (x *ChaincodeSource) GetLocalPackage() *ChaincodeSource_Local
func (*ChaincodeSource) GetType ¶
func (m *ChaincodeSource) GetType() isChaincodeSource_Type
func (*ChaincodeSource) GetUnavailable ¶
func (x *ChaincodeSource) GetUnavailable() *ChaincodeSource_Unavailable
func (*ChaincodeSource) ProtoMessage ¶
func (*ChaincodeSource) ProtoMessage()
func (*ChaincodeSource) ProtoReflect ¶
func (x *ChaincodeSource) ProtoReflect() protoreflect.Message
func (*ChaincodeSource) Reset ¶
func (x *ChaincodeSource) Reset()
func (*ChaincodeSource) String ¶
func (x *ChaincodeSource) String() string
type ChaincodeSource_Local ¶
type ChaincodeSource_Local struct { PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // contains filtered or unexported fields }
Local 表示链码的来源是本地,需要提供链码包的 ID。
func (*ChaincodeSource_Local) Descriptor
deprecated
func (*ChaincodeSource_Local) Descriptor() ([]byte, []int)
Deprecated: Use ChaincodeSource_Local.ProtoReflect.Descriptor instead.
func (*ChaincodeSource_Local) GetPackageId ¶
func (x *ChaincodeSource_Local) GetPackageId() string
func (*ChaincodeSource_Local) ProtoMessage ¶
func (*ChaincodeSource_Local) ProtoMessage()
func (*ChaincodeSource_Local) ProtoReflect ¶
func (x *ChaincodeSource_Local) ProtoReflect() protoreflect.Message
func (*ChaincodeSource_Local) Reset ¶
func (x *ChaincodeSource_Local) Reset()
func (*ChaincodeSource_Local) String ¶
func (x *ChaincodeSource_Local) String() string
type ChaincodeSource_LocalPackage ¶
type ChaincodeSource_LocalPackage struct {
LocalPackage *ChaincodeSource_Local `protobuf:"bytes,2,opt,name=local_package,json=localPackage,proto3,oneof"`
}
type ChaincodeSource_Unavailable ¶
type ChaincodeSource_Unavailable struct {
// contains filtered or unexported fields
}
Unavailable 表示链码的来源不可用。
func (*ChaincodeSource_Unavailable) Descriptor
deprecated
func (*ChaincodeSource_Unavailable) Descriptor() ([]byte, []int)
Deprecated: Use ChaincodeSource_Unavailable.ProtoReflect.Descriptor instead.
func (*ChaincodeSource_Unavailable) ProtoMessage ¶
func (*ChaincodeSource_Unavailable) ProtoMessage()
func (*ChaincodeSource_Unavailable) ProtoReflect ¶
func (x *ChaincodeSource_Unavailable) ProtoReflect() protoreflect.Message
func (*ChaincodeSource_Unavailable) Reset ¶
func (x *ChaincodeSource_Unavailable) Reset()
func (*ChaincodeSource_Unavailable) String ¶
func (x *ChaincodeSource_Unavailable) String() string
type ChaincodeSource_Unavailable_ ¶
type ChaincodeSource_Unavailable_ struct {
}type ChaincodeValidationInfo ¶
type ChaincodeValidationInfo struct { // ValidationPlugin 表示验证插件的名称。 ValidationPlugin string `protobuf:"bytes,1,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示用于验证的参数。 ValidationParameter []byte `protobuf:"bytes,2,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // contains filtered or unexported fields }
ChaincodeValidationInfo 表示链码验证信息的结构体。
func (*ChaincodeValidationInfo) Descriptor
deprecated
func (*ChaincodeValidationInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChaincodeValidationInfo.ProtoReflect.Descriptor instead.
func (*ChaincodeValidationInfo) GetValidationParameter ¶
func (x *ChaincodeValidationInfo) GetValidationParameter() []byte
func (*ChaincodeValidationInfo) GetValidationPlugin ¶
func (x *ChaincodeValidationInfo) GetValidationPlugin() string
func (*ChaincodeValidationInfo) ProtoMessage ¶
func (*ChaincodeValidationInfo) ProtoMessage()
func (*ChaincodeValidationInfo) ProtoReflect ¶
func (x *ChaincodeValidationInfo) ProtoReflect() protoreflect.Message
func (*ChaincodeValidationInfo) Reset ¶
func (x *ChaincodeValidationInfo) Reset()
func (*ChaincodeValidationInfo) String ¶
func (x *ChaincodeValidationInfo) String() string
type CheckCommitReadinessArgs ¶
type CheckCommitReadinessArgs struct { // Sequence 表示链码定义的序列号。 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // Name 表示链码的名称。 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Version 表示链码的版本号。 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // EndorsementPlugin 表示链码的背书插件。 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // ValidationPlugin 表示链码的验证插件。 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示链码的验证参数。 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // Collections 表示链码的集合配置包。 Collections *ppeer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` // InitRequired 表示链码是否需要初始化。 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // contains filtered or unexported fields }
CheckCommitReadinessArgs 该结构体用作 _lifecycle.CheckCommitReadiness 方法的参数。
func (*CheckCommitReadinessArgs) Descriptor
deprecated
func (*CheckCommitReadinessArgs) Descriptor() ([]byte, []int)
Deprecated: Use CheckCommitReadinessArgs.ProtoReflect.Descriptor instead.
func (*CheckCommitReadinessArgs) GetCollections ¶
func (x *CheckCommitReadinessArgs) GetCollections() *ppeer.CollectionConfigPackage
func (*CheckCommitReadinessArgs) GetEndorsementPlugin ¶
func (x *CheckCommitReadinessArgs) GetEndorsementPlugin() string
func (*CheckCommitReadinessArgs) GetInitRequired ¶
func (x *CheckCommitReadinessArgs) GetInitRequired() bool
func (*CheckCommitReadinessArgs) GetName ¶
func (x *CheckCommitReadinessArgs) GetName() string
func (*CheckCommitReadinessArgs) GetSequence ¶
func (x *CheckCommitReadinessArgs) GetSequence() int64
func (*CheckCommitReadinessArgs) GetValidationParameter ¶
func (x *CheckCommitReadinessArgs) GetValidationParameter() []byte
func (*CheckCommitReadinessArgs) GetValidationPlugin ¶
func (x *CheckCommitReadinessArgs) GetValidationPlugin() string
func (*CheckCommitReadinessArgs) GetVersion ¶
func (x *CheckCommitReadinessArgs) GetVersion() string
func (*CheckCommitReadinessArgs) ProtoMessage ¶
func (*CheckCommitReadinessArgs) ProtoMessage()
func (*CheckCommitReadinessArgs) ProtoReflect ¶
func (x *CheckCommitReadinessArgs) ProtoReflect() protoreflect.Message
func (*CheckCommitReadinessArgs) Reset ¶
func (x *CheckCommitReadinessArgs) Reset()
func (*CheckCommitReadinessArgs) String ¶
func (x *CheckCommitReadinessArgs) String() string
type CheckCommitReadinessResult ¶
type CheckCommitReadinessResult struct { // Approvals 该映射(map),将组织(orgs)与对提供的定义(args)的批准(true/false)对应起来。 // 通过查询该结果,可以判断各个组织是否已经批准了特定的链码定义。 Approvals map[string]bool `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
CheckCommitReadinessResult 该结构体被用于调用 _lifecycle.CheckCommitReadiness 方法时返回的结果消息。
func (*CheckCommitReadinessResult) Descriptor
deprecated
func (*CheckCommitReadinessResult) Descriptor() ([]byte, []int)
Deprecated: Use CheckCommitReadinessResult.ProtoReflect.Descriptor instead.
func (*CheckCommitReadinessResult) GetApprovals ¶
func (x *CheckCommitReadinessResult) GetApprovals() map[string]bool
func (*CheckCommitReadinessResult) ProtoMessage ¶
func (*CheckCommitReadinessResult) ProtoMessage()
func (*CheckCommitReadinessResult) ProtoReflect ¶
func (x *CheckCommitReadinessResult) ProtoReflect() protoreflect.Message
func (*CheckCommitReadinessResult) Reset ¶
func (x *CheckCommitReadinessResult) Reset()
func (*CheckCommitReadinessResult) String ¶
func (x *CheckCommitReadinessResult) String() string
type CommitChaincodeDefinitionArgs ¶
type CommitChaincodeDefinitionArgs struct { // Sequence 表示链码定义的序列号。 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // Name 表示链码的名称。 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Version 表示链码的版本号。 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // EndorsementPlugin 表示链码的背书插件。 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // ValidationPlugin 表示链码的验证插件。 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示链码的验证参数。 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // Collections 表示链码的集合配置包。 Collections *ppeer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` // InitRequired 表示链码是否需要初始化。 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // contains filtered or unexported fields }
CommitChaincodeDefinitionArgs 该结构体用作 _lifecycle.CommitChaincodeDefinition 方法的参数。
func (*CommitChaincodeDefinitionArgs) Descriptor
deprecated
func (*CommitChaincodeDefinitionArgs) Descriptor() ([]byte, []int)
Deprecated: Use CommitChaincodeDefinitionArgs.ProtoReflect.Descriptor instead.
func (*CommitChaincodeDefinitionArgs) GetCollections ¶
func (x *CommitChaincodeDefinitionArgs) GetCollections() *ppeer.CollectionConfigPackage
func (*CommitChaincodeDefinitionArgs) GetEndorsementPlugin ¶
func (x *CommitChaincodeDefinitionArgs) GetEndorsementPlugin() string
func (*CommitChaincodeDefinitionArgs) GetInitRequired ¶
func (x *CommitChaincodeDefinitionArgs) GetInitRequired() bool
func (*CommitChaincodeDefinitionArgs) GetName ¶
func (x *CommitChaincodeDefinitionArgs) GetName() string
func (*CommitChaincodeDefinitionArgs) GetSequence ¶
func (x *CommitChaincodeDefinitionArgs) GetSequence() int64
func (*CommitChaincodeDefinitionArgs) GetValidationParameter ¶
func (x *CommitChaincodeDefinitionArgs) GetValidationParameter() []byte
func (*CommitChaincodeDefinitionArgs) GetValidationPlugin ¶
func (x *CommitChaincodeDefinitionArgs) GetValidationPlugin() string
func (*CommitChaincodeDefinitionArgs) GetVersion ¶
func (x *CommitChaincodeDefinitionArgs) GetVersion() string
func (*CommitChaincodeDefinitionArgs) ProtoMessage ¶
func (*CommitChaincodeDefinitionArgs) ProtoMessage()
func (*CommitChaincodeDefinitionArgs) ProtoReflect ¶
func (x *CommitChaincodeDefinitionArgs) ProtoReflect() protoreflect.Message
func (*CommitChaincodeDefinitionArgs) Reset ¶
func (x *CommitChaincodeDefinitionArgs) Reset()
func (*CommitChaincodeDefinitionArgs) String ¶
func (x *CommitChaincodeDefinitionArgs) String() string
type CommitChaincodeDefinitionResult ¶
type CommitChaincodeDefinitionResult struct {
// contains filtered or unexported fields
}
CommitChaincodeDefinitionResult 该结构体是通过 _lifecycle.CommitChaincodeDefinition 方法返回的结果消息。 目前该消息为空,但未来可能会扩展其内容。
func (*CommitChaincodeDefinitionResult) Descriptor
deprecated
func (*CommitChaincodeDefinitionResult) Descriptor() ([]byte, []int)
Deprecated: Use CommitChaincodeDefinitionResult.ProtoReflect.Descriptor instead.
func (*CommitChaincodeDefinitionResult) ProtoMessage ¶
func (*CommitChaincodeDefinitionResult) ProtoMessage()
func (*CommitChaincodeDefinitionResult) ProtoReflect ¶
func (x *CommitChaincodeDefinitionResult) ProtoReflect() protoreflect.Message
func (*CommitChaincodeDefinitionResult) Reset ¶
func (x *CommitChaincodeDefinitionResult) Reset()
func (*CommitChaincodeDefinitionResult) String ¶
func (x *CommitChaincodeDefinitionResult) String() string
type GetInstalledChaincodePackageArgs ¶
type GetInstalledChaincodePackageArgs struct { PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // contains filtered or unexported fields }
GetInstalledChaincodePackageArgs 结构体包含一个字段 PackageId,用于指定要获取的已安装链码的 ID
func (*GetInstalledChaincodePackageArgs) Descriptor
deprecated
func (*GetInstalledChaincodePackageArgs) Descriptor() ([]byte, []int)
Deprecated: Use GetInstalledChaincodePackageArgs.ProtoReflect.Descriptor instead.
func (*GetInstalledChaincodePackageArgs) GetPackageId ¶
func (x *GetInstalledChaincodePackageArgs) GetPackageId() string
func (*GetInstalledChaincodePackageArgs) ProtoMessage ¶
func (*GetInstalledChaincodePackageArgs) ProtoMessage()
func (*GetInstalledChaincodePackageArgs) ProtoReflect ¶
func (x *GetInstalledChaincodePackageArgs) ProtoReflect() protoreflect.Message
func (*GetInstalledChaincodePackageArgs) Reset ¶
func (x *GetInstalledChaincodePackageArgs) Reset()
func (*GetInstalledChaincodePackageArgs) String ¶
func (x *GetInstalledChaincodePackageArgs) String() string
type GetInstalledChaincodePackageResult ¶
type GetInstalledChaincodePackageResult struct { ChaincodeInstallPackage []byte `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
GetInstalledChaincodePackageResult 结构体包含一个字段 ChaincodeInstallPackage,用于存储已安装链码的安装包数据
func (*GetInstalledChaincodePackageResult) Descriptor
deprecated
func (*GetInstalledChaincodePackageResult) Descriptor() ([]byte, []int)
Deprecated: Use GetInstalledChaincodePackageResult.ProtoReflect.Descriptor instead.
func (*GetInstalledChaincodePackageResult) GetChaincodeInstallPackage ¶
func (x *GetInstalledChaincodePackageResult) GetChaincodeInstallPackage() []byte
func (*GetInstalledChaincodePackageResult) ProtoMessage ¶
func (*GetInstalledChaincodePackageResult) ProtoMessage()
func (*GetInstalledChaincodePackageResult) ProtoReflect ¶
func (x *GetInstalledChaincodePackageResult) ProtoReflect() protoreflect.Message
func (*GetInstalledChaincodePackageResult) Reset ¶
func (x *GetInstalledChaincodePackageResult) Reset()
func (*GetInstalledChaincodePackageResult) String ¶
func (x *GetInstalledChaincodePackageResult) String() string
type InstallChaincodeArgs ¶
type InstallChaincodeArgs struct { // ChaincodeInstallPackage 链码安装包的字节流。这应该是一个序列化的 lifecycle.ChaincodePackage。 ChaincodeInstallPackage []byte `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
InstallChaincodeArgs 被用作 _lifecycle.InstallChaincode 方法的参数。
func (*InstallChaincodeArgs) Descriptor
deprecated
func (*InstallChaincodeArgs) Descriptor() ([]byte, []int)
Deprecated: Use InstallChaincodeArgs.ProtoReflect.Descriptor instead.
func (*InstallChaincodeArgs) GetChaincodeInstallPackage ¶
func (x *InstallChaincodeArgs) GetChaincodeInstallPackage() []byte
func (*InstallChaincodeArgs) ProtoMessage ¶
func (*InstallChaincodeArgs) ProtoMessage()
func (*InstallChaincodeArgs) ProtoReflect ¶
func (x *InstallChaincodeArgs) ProtoReflect() protoreflect.Message
func (*InstallChaincodeArgs) Reset ¶
func (x *InstallChaincodeArgs) Reset()
func (*InstallChaincodeArgs) String ¶
func (x *InstallChaincodeArgs) String() string
type InstallChaincodeResult ¶
type InstallChaincodeResult struct { // PackageId 安装链码包的 ID。 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // Label 链码的标签。 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
InstallChaincodeResult _lifecycle.InstallChaincode 方法返回的消息。
func (*InstallChaincodeResult) Descriptor
deprecated
func (*InstallChaincodeResult) Descriptor() ([]byte, []int)
Deprecated: Use InstallChaincodeResult.ProtoReflect.Descriptor instead.
func (*InstallChaincodeResult) GetLabel ¶
func (x *InstallChaincodeResult) GetLabel() string
func (*InstallChaincodeResult) GetPackageId ¶
func (x *InstallChaincodeResult) GetPackageId() string
func (*InstallChaincodeResult) ProtoMessage ¶
func (*InstallChaincodeResult) ProtoMessage()
func (*InstallChaincodeResult) ProtoReflect ¶
func (x *InstallChaincodeResult) ProtoReflect() protoreflect.Message
func (*InstallChaincodeResult) Reset ¶
func (x *InstallChaincodeResult) Reset()
func (*InstallChaincodeResult) String ¶
func (x *InstallChaincodeResult) String() string
type QueryApprovedChaincodeDefinitionArgs ¶
type QueryApprovedChaincodeDefinitionArgs struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Sequence int64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
QueryApprovedChaincodeDefinitionArgs 该结构体被用作 _lifecycle.QueryApprovedChaincodeDefinition 方法的参数。 它包含了查询已批准的链码定义所需的信息,包括链码名称(name)和序列号(sequence)。
func (*QueryApprovedChaincodeDefinitionArgs) Descriptor
deprecated
func (*QueryApprovedChaincodeDefinitionArgs) Descriptor() ([]byte, []int)
Deprecated: Use QueryApprovedChaincodeDefinitionArgs.ProtoReflect.Descriptor instead.
func (*QueryApprovedChaincodeDefinitionArgs) GetName ¶
func (x *QueryApprovedChaincodeDefinitionArgs) GetName() string
func (*QueryApprovedChaincodeDefinitionArgs) GetSequence ¶
func (x *QueryApprovedChaincodeDefinitionArgs) GetSequence() int64
func (*QueryApprovedChaincodeDefinitionArgs) ProtoMessage ¶
func (*QueryApprovedChaincodeDefinitionArgs) ProtoMessage()
func (*QueryApprovedChaincodeDefinitionArgs) ProtoReflect ¶
func (x *QueryApprovedChaincodeDefinitionArgs) ProtoReflect() protoreflect.Message
func (*QueryApprovedChaincodeDefinitionArgs) Reset ¶
func (x *QueryApprovedChaincodeDefinitionArgs) Reset()
func (*QueryApprovedChaincodeDefinitionArgs) String ¶
func (x *QueryApprovedChaincodeDefinitionArgs) String() string
type QueryApprovedChaincodeDefinitionResult ¶
type QueryApprovedChaincodeDefinitionResult struct { // Sequence 表示链码定义的序列号。 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // Version 表示链码的版本。 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // EndorsementPlugin 表示链码的背书插件。 EndorsementPlugin string `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // ValidationPlugin 表示链码的验证插件。 ValidationPlugin string `protobuf:"bytes,4,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示链码的验证参数。 ValidationParameter []byte `protobuf:"bytes,5,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // Collections 表示链码的集合配置包。 Collections *ppeer.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collections,proto3" json:"collections,omitempty"` // InitRequired 表示链码是否需要初始化。 InitRequired bool `protobuf:"varint,7,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // Source 表示链码来源。 Source *ChaincodeSource `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*QueryApprovedChaincodeDefinitionResult) Descriptor
deprecated
func (*QueryApprovedChaincodeDefinitionResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryApprovedChaincodeDefinitionResult.ProtoReflect.Descriptor instead.
func (*QueryApprovedChaincodeDefinitionResult) GetCollections ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetCollections() *ppeer.CollectionConfigPackage
func (*QueryApprovedChaincodeDefinitionResult) GetEndorsementPlugin ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetEndorsementPlugin() string
func (*QueryApprovedChaincodeDefinitionResult) GetInitRequired ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetInitRequired() bool
func (*QueryApprovedChaincodeDefinitionResult) GetSequence ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetSequence() int64
func (*QueryApprovedChaincodeDefinitionResult) GetSource ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetSource() *ChaincodeSource
func (*QueryApprovedChaincodeDefinitionResult) GetValidationParameter ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetValidationParameter() []byte
func (*QueryApprovedChaincodeDefinitionResult) GetValidationPlugin ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetValidationPlugin() string
func (*QueryApprovedChaincodeDefinitionResult) GetVersion ¶
func (x *QueryApprovedChaincodeDefinitionResult) GetVersion() string
func (*QueryApprovedChaincodeDefinitionResult) ProtoMessage ¶
func (*QueryApprovedChaincodeDefinitionResult) ProtoMessage()
func (*QueryApprovedChaincodeDefinitionResult) ProtoReflect ¶
func (x *QueryApprovedChaincodeDefinitionResult) ProtoReflect() protoreflect.Message
func (*QueryApprovedChaincodeDefinitionResult) Reset ¶
func (x *QueryApprovedChaincodeDefinitionResult) Reset()
func (*QueryApprovedChaincodeDefinitionResult) String ¶
func (x *QueryApprovedChaincodeDefinitionResult) String() string
type QueryChaincodeDefinitionArgs ¶
type QueryChaincodeDefinitionArgs struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
QueryChaincodeDefinitionArgs 该消息用作 _lifecycle.QueryChaincodeDefinition 方法的参数。 它包含了查询链码定义所需的信息,包括链码名称(name)。通过传递这些参数,可以查询特定链码定义信息。
func (*QueryChaincodeDefinitionArgs) Descriptor
deprecated
func (*QueryChaincodeDefinitionArgs) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionArgs.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionArgs) GetName ¶
func (x *QueryChaincodeDefinitionArgs) GetName() string
func (*QueryChaincodeDefinitionArgs) ProtoMessage ¶
func (*QueryChaincodeDefinitionArgs) ProtoMessage()
func (*QueryChaincodeDefinitionArgs) ProtoReflect ¶
func (x *QueryChaincodeDefinitionArgs) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionArgs) Reset ¶
func (x *QueryChaincodeDefinitionArgs) Reset()
func (*QueryChaincodeDefinitionArgs) String ¶
func (x *QueryChaincodeDefinitionArgs) String() string
type QueryChaincodeDefinitionResult ¶
type QueryChaincodeDefinitionResult struct { // Sequence 表示链码定义的序列号。 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // Version 表示链码的版本。 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // EndorsementPlugin 表示链码的背书插件。 EndorsementPlugin string `protobuf:"bytes,3,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // ValidationPlugin 表示链码的验证插件。 ValidationPlugin string `protobuf:"bytes,4,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示链码的验证参数。 ValidationParameter []byte `protobuf:"bytes,5,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // Collections 表示链码的集合配置包。 Collections *ppeer.CollectionConfigPackage `protobuf:"bytes,6,opt,name=collections,proto3" json:"collections,omitempty"` // InitRequired 表示链码是否需要初始化。 InitRequired bool `protobuf:"varint,7,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // Approvals 该映射(map),将组织(orgs)与对提供的定义(args)的批准(true/false)对应起来。 // 通过查询该结果,可以判断各个组织是否已经批准了特定的链码定义。 Approvals map[string]bool `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryChaincodeDefinitionResult) Descriptor
deprecated
func (*QueryChaincodeDefinitionResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionResult.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionResult) GetApprovals ¶
func (x *QueryChaincodeDefinitionResult) GetApprovals() map[string]bool
func (*QueryChaincodeDefinitionResult) GetCollections ¶
func (x *QueryChaincodeDefinitionResult) GetCollections() *ppeer.CollectionConfigPackage
func (*QueryChaincodeDefinitionResult) GetEndorsementPlugin ¶
func (x *QueryChaincodeDefinitionResult) GetEndorsementPlugin() string
func (*QueryChaincodeDefinitionResult) GetInitRequired ¶
func (x *QueryChaincodeDefinitionResult) GetInitRequired() bool
func (*QueryChaincodeDefinitionResult) GetSequence ¶
func (x *QueryChaincodeDefinitionResult) GetSequence() int64
func (*QueryChaincodeDefinitionResult) GetValidationParameter ¶
func (x *QueryChaincodeDefinitionResult) GetValidationParameter() []byte
func (*QueryChaincodeDefinitionResult) GetValidationPlugin ¶
func (x *QueryChaincodeDefinitionResult) GetValidationPlugin() string
func (*QueryChaincodeDefinitionResult) GetVersion ¶
func (x *QueryChaincodeDefinitionResult) GetVersion() string
func (*QueryChaincodeDefinitionResult) ProtoMessage ¶
func (*QueryChaincodeDefinitionResult) ProtoMessage()
func (*QueryChaincodeDefinitionResult) ProtoReflect ¶
func (x *QueryChaincodeDefinitionResult) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionResult) Reset ¶
func (x *QueryChaincodeDefinitionResult) Reset()
func (*QueryChaincodeDefinitionResult) String ¶
func (x *QueryChaincodeDefinitionResult) String() string
type QueryChaincodeDefinitionsArgs ¶
type QueryChaincodeDefinitionsArgs struct {
// contains filtered or unexported fields
}
QueryChaincodeDefinitionsArgs 该结构体用作 _lifecycle.QueryChaincodeDefinitions 方法的参数。 它为空消息,没有任何字段。通过传递该参数,可以查询所有已定义的链码的信息。
func (*QueryChaincodeDefinitionsArgs) Descriptor
deprecated
func (*QueryChaincodeDefinitionsArgs) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionsArgs.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionsArgs) ProtoMessage ¶
func (*QueryChaincodeDefinitionsArgs) ProtoMessage()
func (*QueryChaincodeDefinitionsArgs) ProtoReflect ¶
func (x *QueryChaincodeDefinitionsArgs) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionsArgs) Reset ¶
func (x *QueryChaincodeDefinitionsArgs) Reset()
func (*QueryChaincodeDefinitionsArgs) String ¶
func (x *QueryChaincodeDefinitionsArgs) String() string
type QueryChaincodeDefinitionsResult ¶
type QueryChaincodeDefinitionsResult struct { ChaincodeDefinitions []*QueryChaincodeDefinitionsResult_ChaincodeDefinition `protobuf:"bytes,1,rep,name=chaincode_definitions,json=chaincodeDefinitions,proto3" json:"chaincode_definitions,omitempty"` // contains filtered or unexported fields }
QueryChaincodeDefinitionResult 该消息作为 _lifecycle.QueryChaincodeDefinitions 方法返回的结果消息。
func (*QueryChaincodeDefinitionsResult) Descriptor
deprecated
func (*QueryChaincodeDefinitionsResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionsResult.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionsResult) GetChaincodeDefinitions ¶
func (x *QueryChaincodeDefinitionsResult) GetChaincodeDefinitions() []*QueryChaincodeDefinitionsResult_ChaincodeDefinition
func (*QueryChaincodeDefinitionsResult) ProtoMessage ¶
func (*QueryChaincodeDefinitionsResult) ProtoMessage()
func (*QueryChaincodeDefinitionsResult) ProtoReflect ¶
func (x *QueryChaincodeDefinitionsResult) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionsResult) Reset ¶
func (x *QueryChaincodeDefinitionsResult) Reset()
func (*QueryChaincodeDefinitionsResult) String ¶
func (x *QueryChaincodeDefinitionsResult) String() string
type QueryChaincodeDefinitionsResult_ChaincodeDefinition ¶
type QueryChaincodeDefinitionsResult_ChaincodeDefinition struct { // Sequence 表示链码定义的序列号。 Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // Name 表示链码的名称。 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Version 表示链码的版本号。 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // EndorsementPlugin 表示链码的背书插件。 EndorsementPlugin string `protobuf:"bytes,4,opt,name=endorsement_plugin,json=endorsementPlugin,proto3" json:"endorsement_plugin,omitempty"` // ValidationPlugin 表示链码的验证插件。 ValidationPlugin string `protobuf:"bytes,5,opt,name=validation_plugin,json=validationPlugin,proto3" json:"validation_plugin,omitempty"` // ValidationParameter 表示链码的验证参数。 ValidationParameter []byte `protobuf:"bytes,6,opt,name=validation_parameter,json=validationParameter,proto3" json:"validation_parameter,omitempty"` // Collections 表示链码的集合配置包。 Collections *ppeer.CollectionConfigPackage `protobuf:"bytes,7,opt,name=collections,proto3" json:"collections,omitempty"` // InitRequired 表示链码是否需要初始化。 InitRequired bool `protobuf:"varint,8,opt,name=init_required,json=initRequired,proto3" json:"init_required,omitempty"` // contains filtered or unexported fields }
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Descriptor
deprecated
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Descriptor() ([]byte, []int)
Deprecated: Use QueryChaincodeDefinitionsResult_ChaincodeDefinition.ProtoReflect.Descriptor instead.
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetCollections ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetCollections() *ppeer.CollectionConfigPackage
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetEndorsementPlugin ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetEndorsementPlugin() string
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetInitRequired ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetInitRequired() bool
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetName ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetName() string
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetSequence ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetSequence() int64
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationParameter ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationParameter() []byte
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationPlugin ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetValidationPlugin() string
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetVersion ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) GetVersion() string
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoMessage ¶
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoMessage()
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoReflect ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) ProtoReflect() protoreflect.Message
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) Reset ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) Reset()
func (*QueryChaincodeDefinitionsResult_ChaincodeDefinition) String ¶
func (x *QueryChaincodeDefinitionsResult_ChaincodeDefinition) String() string
type QueryInstalledChaincodeArgs ¶
type QueryInstalledChaincodeArgs struct { // PackageId 是要查询的链码包的ID。 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // contains filtered or unexported fields }
QueryInstalledChaincodeArgs 被用作 _lifecycle.QueryInstalledChaincode 方法的参数。
func (*QueryInstalledChaincodeArgs) Descriptor
deprecated
func (*QueryInstalledChaincodeArgs) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodeArgs.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodeArgs) GetPackageId ¶
func (x *QueryInstalledChaincodeArgs) GetPackageId() string
func (*QueryInstalledChaincodeArgs) ProtoMessage ¶
func (*QueryInstalledChaincodeArgs) ProtoMessage()
func (*QueryInstalledChaincodeArgs) ProtoReflect ¶
func (x *QueryInstalledChaincodeArgs) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodeArgs) Reset ¶
func (x *QueryInstalledChaincodeArgs) Reset()
func (*QueryInstalledChaincodeArgs) String ¶
func (x *QueryInstalledChaincodeArgs) String() string
type QueryInstalledChaincodeResult ¶
type QueryInstalledChaincodeResult struct { // PackageId 是被查询的链码包的ID。 PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // Label 被查询的链码的标签。 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // References 链码列表的映射。 References map[string]*QueryInstalledChaincodeResult_References `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
QueryInstalledChaincodeResult 是 _lifecycle.QueryInstalledChaincode 方法返回的消息。
func (*QueryInstalledChaincodeResult) Descriptor
deprecated
func (*QueryInstalledChaincodeResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodeResult.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodeResult) GetLabel ¶
func (x *QueryInstalledChaincodeResult) GetLabel() string
func (*QueryInstalledChaincodeResult) GetPackageId ¶
func (x *QueryInstalledChaincodeResult) GetPackageId() string
func (*QueryInstalledChaincodeResult) GetReferences ¶
func (x *QueryInstalledChaincodeResult) GetReferences() map[string]*QueryInstalledChaincodeResult_References
func (*QueryInstalledChaincodeResult) ProtoMessage ¶
func (*QueryInstalledChaincodeResult) ProtoMessage()
func (*QueryInstalledChaincodeResult) ProtoReflect ¶
func (x *QueryInstalledChaincodeResult) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodeResult) Reset ¶
func (x *QueryInstalledChaincodeResult) Reset()
func (*QueryInstalledChaincodeResult) String ¶
func (x *QueryInstalledChaincodeResult) String() string
type QueryInstalledChaincodeResult_Chaincode ¶
type QueryInstalledChaincodeResult_Chaincode struct { // Name 链码的名称。 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version 链码的版本。 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*QueryInstalledChaincodeResult_Chaincode) Descriptor
deprecated
func (*QueryInstalledChaincodeResult_Chaincode) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodeResult_Chaincode.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodeResult_Chaincode) GetName ¶
func (x *QueryInstalledChaincodeResult_Chaincode) GetName() string
func (*QueryInstalledChaincodeResult_Chaincode) GetVersion ¶
func (x *QueryInstalledChaincodeResult_Chaincode) GetVersion() string
func (*QueryInstalledChaincodeResult_Chaincode) ProtoMessage ¶
func (*QueryInstalledChaincodeResult_Chaincode) ProtoMessage()
func (*QueryInstalledChaincodeResult_Chaincode) ProtoReflect ¶
func (x *QueryInstalledChaincodeResult_Chaincode) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodeResult_Chaincode) Reset ¶
func (x *QueryInstalledChaincodeResult_Chaincode) Reset()
func (*QueryInstalledChaincodeResult_Chaincode) String ¶
func (x *QueryInstalledChaincodeResult_Chaincode) String() string
type QueryInstalledChaincodeResult_References ¶
type QueryInstalledChaincodeResult_References struct { Chaincodes []*QueryInstalledChaincodeResult_Chaincode `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"` // contains filtered or unexported fields }
func (*QueryInstalledChaincodeResult_References) Descriptor
deprecated
func (*QueryInstalledChaincodeResult_References) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodeResult_References.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodeResult_References) GetChaincodes ¶
func (x *QueryInstalledChaincodeResult_References) GetChaincodes() []*QueryInstalledChaincodeResult_Chaincode
func (*QueryInstalledChaincodeResult_References) ProtoMessage ¶
func (*QueryInstalledChaincodeResult_References) ProtoMessage()
func (*QueryInstalledChaincodeResult_References) ProtoReflect ¶
func (x *QueryInstalledChaincodeResult_References) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodeResult_References) Reset ¶
func (x *QueryInstalledChaincodeResult_References) Reset()
func (*QueryInstalledChaincodeResult_References) String ¶
func (x *QueryInstalledChaincodeResult_References) String() string
type QueryInstalledChaincodesArgs ¶
type QueryInstalledChaincodesArgs struct {
// contains filtered or unexported fields
}
QueryInstalledChaincodesArgs 结构体是查询已安装链码的参数,目前为空。在将来可能会扩展为具有其他参数的结构体。
func (*QueryInstalledChaincodesArgs) Descriptor
deprecated
func (*QueryInstalledChaincodesArgs) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodesArgs.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodesArgs) ProtoMessage ¶
func (*QueryInstalledChaincodesArgs) ProtoMessage()
func (*QueryInstalledChaincodesArgs) ProtoReflect ¶
func (x *QueryInstalledChaincodesArgs) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodesArgs) Reset ¶
func (x *QueryInstalledChaincodesArgs) Reset()
func (*QueryInstalledChaincodesArgs) String ¶
func (x *QueryInstalledChaincodesArgs) String() string
type QueryInstalledChaincodesResult ¶
type QueryInstalledChaincodesResult struct { InstalledChaincodes []*QueryInstalledChaincodesResult_InstalledChaincode `protobuf:"bytes,1,rep,name=installed_chaincodes,json=installedChaincodes,proto3" json:"installed_chaincodes,omitempty"` // contains filtered or unexported fields }
QueryInstalledChaincodesResult 结构体是查询已安装链码的结果,包含了已安装链码的信息。它包含一个字段 InstalledChaincodes,用于存储已安装链码的列表。通过该结构体,可以查询已安装链码的信息,包括链码的安 装包 ID、标签以及引用了该链码的链码定义的通道名称和链码版本。这可以帮助在链码的管理和升级过程中了解链 码的使用情况。
func (*QueryInstalledChaincodesResult) Descriptor
deprecated
func (*QueryInstalledChaincodesResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodesResult.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodesResult) GetInstalledChaincodes ¶
func (x *QueryInstalledChaincodesResult) GetInstalledChaincodes() []*QueryInstalledChaincodesResult_InstalledChaincode
func (*QueryInstalledChaincodesResult) ProtoMessage ¶
func (*QueryInstalledChaincodesResult) ProtoMessage()
func (*QueryInstalledChaincodesResult) ProtoReflect ¶
func (x *QueryInstalledChaincodesResult) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodesResult) Reset ¶
func (x *QueryInstalledChaincodesResult) Reset()
func (*QueryInstalledChaincodesResult) String ¶
func (x *QueryInstalledChaincodesResult) String() string
type QueryInstalledChaincodesResult_Chaincode ¶
type QueryInstalledChaincodesResult_Chaincode struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Chaincode 结构体包含了一个引用链码的信息,包含 Name 字段表示链码名称,Version 字段表示链码版本。
func (*QueryInstalledChaincodesResult_Chaincode) Descriptor
deprecated
func (*QueryInstalledChaincodesResult_Chaincode) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodesResult_Chaincode.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodesResult_Chaincode) GetName ¶
func (x *QueryInstalledChaincodesResult_Chaincode) GetName() string
func (*QueryInstalledChaincodesResult_Chaincode) GetVersion ¶
func (x *QueryInstalledChaincodesResult_Chaincode) GetVersion() string
func (*QueryInstalledChaincodesResult_Chaincode) ProtoMessage ¶
func (*QueryInstalledChaincodesResult_Chaincode) ProtoMessage()
func (*QueryInstalledChaincodesResult_Chaincode) ProtoReflect ¶
func (x *QueryInstalledChaincodesResult_Chaincode) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodesResult_Chaincode) Reset ¶
func (x *QueryInstalledChaincodesResult_Chaincode) Reset()
func (*QueryInstalledChaincodesResult_Chaincode) String ¶
func (x *QueryInstalledChaincodesResult_Chaincode) String() string
type QueryInstalledChaincodesResult_InstalledChaincode ¶
type QueryInstalledChaincodesResult_InstalledChaincode struct { PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` References map[string]*QueryInstalledChaincodesResult_References `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
InstalledChaincode 结构体包含了一个已安装链码的信息。它包含了 PackageId 字段,表示链码的安装包 ID,Label 字段 表示链码的标签。References 字段是一个 map,用于存储引用了该链码包的链码定义,其中 key 为通道名称,value 为 References 结构体的实例。
func (*QueryInstalledChaincodesResult_InstalledChaincode) Descriptor
deprecated
func (*QueryInstalledChaincodesResult_InstalledChaincode) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodesResult_InstalledChaincode.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodesResult_InstalledChaincode) GetLabel ¶
func (x *QueryInstalledChaincodesResult_InstalledChaincode) GetLabel() string
func (*QueryInstalledChaincodesResult_InstalledChaincode) GetPackageId ¶
func (x *QueryInstalledChaincodesResult_InstalledChaincode) GetPackageId() string
func (*QueryInstalledChaincodesResult_InstalledChaincode) GetReferences ¶
func (x *QueryInstalledChaincodesResult_InstalledChaincode) GetReferences() map[string]*QueryInstalledChaincodesResult_References
func (*QueryInstalledChaincodesResult_InstalledChaincode) ProtoMessage ¶
func (*QueryInstalledChaincodesResult_InstalledChaincode) ProtoMessage()
func (*QueryInstalledChaincodesResult_InstalledChaincode) ProtoReflect ¶
func (x *QueryInstalledChaincodesResult_InstalledChaincode) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodesResult_InstalledChaincode) Reset ¶
func (x *QueryInstalledChaincodesResult_InstalledChaincode) Reset()
func (*QueryInstalledChaincodesResult_InstalledChaincode) String ¶
func (x *QueryInstalledChaincodesResult_InstalledChaincode) String() string
type QueryInstalledChaincodesResult_References ¶
type QueryInstalledChaincodesResult_References struct { Chaincodes []*QueryInstalledChaincodesResult_Chaincode `protobuf:"bytes,1,rep,name=chaincodes,proto3" json:"chaincodes,omitempty"` // contains filtered or unexported fields }
References 结构体包含一个字段 Chaincodes,表示引用了该链码包的链码定义列表。
func (*QueryInstalledChaincodesResult_References) Descriptor
deprecated
func (*QueryInstalledChaincodesResult_References) Descriptor() ([]byte, []int)
Deprecated: Use QueryInstalledChaincodesResult_References.ProtoReflect.Descriptor instead.
func (*QueryInstalledChaincodesResult_References) GetChaincodes ¶
func (x *QueryInstalledChaincodesResult_References) GetChaincodes() []*QueryInstalledChaincodesResult_Chaincode
func (*QueryInstalledChaincodesResult_References) ProtoMessage ¶
func (*QueryInstalledChaincodesResult_References) ProtoMessage()
func (*QueryInstalledChaincodesResult_References) ProtoReflect ¶
func (x *QueryInstalledChaincodesResult_References) ProtoReflect() protoreflect.Message
func (*QueryInstalledChaincodesResult_References) Reset ¶
func (x *QueryInstalledChaincodesResult_References) Reset()
func (*QueryInstalledChaincodesResult_References) String ¶
func (x *QueryInstalledChaincodesResult_References) String() string
type StateData ¶
type StateData struct { // Types that are assignable to Type: // // *StateData_Int64 // *StateData_Bytes // *StateData_String_ Type isStateData_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
StateData 是一个消息类型,用于编码数据类型的特定字段。
func (*StateData) Descriptor
deprecated
func (*StateData) GetString_ ¶
func (*StateData) ProtoMessage ¶
func (*StateData) ProtoMessage()
func (*StateData) ProtoReflect ¶
func (x *StateData) ProtoReflect() protoreflect.Message
type StateData_Bytes ¶
type StateData_Bytes struct { // Bytes 表示字节数据。 Bytes []byte `protobuf:"bytes,2,opt,name=Bytes,proto3,oneof"` }
type StateData_Int64 ¶
type StateData_Int64 struct { // Int64 表示一个 64 位的整数值。 Int64 int64 `protobuf:"varint,1,opt,name=Int64,proto3,oneof"` }
type StateData_String_ ¶
type StateData_String_ struct { // String 表示字符串数据。 String_ string `protobuf:"bytes,3,opt,name=String,proto3,oneof"` }
type StateMetadata ¶
type StateMetadata struct { // Datatype 表示键所属的数据类型。 Datatype string `protobuf:"bytes,1,opt,name=datatype,proto3" json:"datatype,omitempty"` // Fields 表示该数据类型中的字段列表。 Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
StateMetadata 是一个消息类型,用于描述命名空间中的键。在集合中,事务写入时无法执行范围扫描,因此我们必须自己跟踪命名空间中的键。
func (*StateMetadata) Descriptor
deprecated
func (*StateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use StateMetadata.ProtoReflect.Descriptor instead.
func (*StateMetadata) GetDatatype ¶
func (x *StateMetadata) GetDatatype() string
func (*StateMetadata) GetFields ¶
func (x *StateMetadata) GetFields() []string
func (*StateMetadata) ProtoMessage ¶
func (*StateMetadata) ProtoMessage()
func (*StateMetadata) ProtoReflect ¶
func (x *StateMetadata) ProtoReflect() protoreflect.Message
func (*StateMetadata) Reset ¶
func (x *StateMetadata) Reset()
func (*StateMetadata) String ¶
func (x *StateMetadata) String() string