Documentation ¶
Index ¶
- func CreateAddOrgCfg(txCfgPath string, outFile string, orgName string) bool
- func CreateAnchorTx(cfgTxPath string, channelName string, outputPath string, orgs []string) bool
- func CreateChannelTx(cfgTxPath string, channelName string, outputPath string) bool
- func CreateGenesisBlock(cfgTxPath string, channelName string, outputPath string) bool
- type AnchorPeer
- type ConfigTxYaml
- type Kafkas
- type Orderers
- type Organization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAnchorTx ¶
func CreateChannelTx ¶
Types ¶
type AnchorPeer ¶
type ConfigTxYaml ¶
type ConfigTxYaml struct { Organizations []Organization `yaml:"Organizations"` Orderer Orderers `yaml:"Orderer"` Application struct { Organizations interface{} `yaml:"Organizations"` } `yaml:"Application"` Profiles struct { TwoOrgsOrdererGenesis struct { Orderer Orderers `yaml:"Orderer"` Consortiums struct { SampleConsortium struct { Organizations []Organization `yaml:"Organizations"` } `yaml:"SampleConsortium"` } `yaml:"Consortiums"` } `yaml:"TwoOrgsOrdererGenesis"` TwoOrgsChannel struct { Consortium string `yaml:"Consortium"` Application struct { Organizations []Organization `yaml:"Organizations"` } `yaml:"Application"` } `yaml:"TwoOrgsChannel"` } `yaml:"Profiles"` }
type Orderers ¶
type Orderers struct { OrdererType string `yaml:"OrdererType"` Addresses []string `yaml:"Addresses"` BatchTimeout string `yaml:"BatchTimeout"` BatchSize struct { MaxMessageCount int `yaml:"MaxMessageCount"` AbsoluteMaxBytes string `yaml:"AbsoluteMaxBytes"` PreferredMaxBytes string `yaml:"PreferredMaxBytes"` } `yaml:"BatchSize"` Kafka Kafkas `yaml:"Kafka"` Organizations interface{} `yaml:"Organizations"` }
type Organization ¶
type Organization struct { Name string `yaml:"Name"` ID string `yaml:"ID"` MSPDir string `yaml:"MSPDir"` AnchorPeers []AnchorPeer `yaml:"AnchorPeers,omitempty"` }
Click to show internal directories.
Click to hide internal directories.