package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.git
Documentation: pkg.go.dev
# Functions
Load returns the orderer/application config combination that corresponds to a given profile.
LoadTopLevel simply loads the configtx.yaml file into the structs above and completes their initialization.
# Constants
AdminRoleAdminPrincipal is set as AdminRole to cause the MSP role of type Admin to be used as the admin principal default.
The type key for etcd based RAFT consensus.
SampleConsortiumName is the sample consortium from the sample configtx.yaml.
SampleDevModeEtcdRaftProfile references the sample profile used for testing the etcd/raft-based ordering service.
SampleDevModeKafkaProfile references the sample profile which requires only basic membership for admin privileges and uses Kafka for ordering.
SampleDevModeSoloProfile references the sample profile which requires only basic membership for admin privileges and uses solo for ordering.
SampleInsecureKafkaProfile references the sample profile which does not include any MSPs and uses Kafka for ordering.
SampleInsecureSoloProfile references the sample profile which does not include any MSPs and uses solo for ordering.
SampleOrgName is the name of the sample org in the sample profiles.
SampleSingleMSPChannelProfile references the sample profile which includes only the sample MSP and is used to create a channel.
SampleSingleMSPKafkaProfile references the sample profile which includes only the sample MSP and uses Kafka for ordering.
SampleSingleMSPSoloProfile references the sample profile which includes only the sample MSP and uses solo for ordering.
# Structs
AnchorPeer encodes the necessary fields to identify an anchor peer.
Application encodes the application-level configuration needed in config transactions.
BatchSize contains configuration affecting the size of batches.
Consortium represents a group of organizations which may create channels with each other.
Kafka contains configuration for the Kafka-based orderer.
Orderer contains configuration associated to a channel.
Organization encodes the organization-level configuration needed in config transactions.
Policy encodes a channel config policy.
Profile encodes orderer/application configuration combinations for the configtxgen tool.
Resources encodes the application-level resources configuration needed to seed the resource tree.
TopLevel consists of the structs used by the configtxgen tool.