Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstalledChaincode ¶
InstalledChaincode定义有关已安装链代码的元数据
type Metadata ¶
type Metadata struct { Name string Version string Policy []byte Id []byte CollectionsConfig []byte }
元数据定义链码的通道范围元数据
type MetadataMapping ¶
metadata mapping定义了从chaincode名称到元数据的映射
func (*MetadataMapping) Aggregate ¶
func (m *MetadataMapping) Aggregate() MetadataSet
聚合将所有元数据聚合到元数据集
type MetadataSet ¶
type MetadataSet []Metadata
metadataset定义元数据的聚合
func (MetadataSet) AsChaincodes ¶
func (ccs MetadataSet) AsChaincodes() []*gossip.Chaincode
aschaincodes将此元数据集转换为八卦片段。chaincodes
Click to show internal directories.
Click to hide internal directories.