Documentation
¶
Index ¶
Constants ¶
View Source
const ( CaServerTlsCert = "tls-server.crt" RootCert = "ca.crt" SignerTlsCert = "server.crt" SignerTlsKey = "server.key" SignerMspCert = "signer.crt" SignerMspKey = "signer.key" MspTypeAdmin = "admin" MspTypeClient = "client" MspTypePeer = "peer" MspTypeOrderer = "orderer" //api-settings OrdererMaxChannels uint64 = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Name string Consortium string Organizations []ChannelOrganization Capabilities []string Policies map[string]configtx.Policy }
func (*Application) GetCfgTxApplication ¶
func (c *Application) GetCfgTxApplication() configtx.Application
func (*Application) GetSigners ¶
func (c *Application) GetSigners() []Organization
type ChannelOrganization ¶
type ChannelOrganization struct { *Organization Peers []Peer Policies map[string]configtx.Policy }
func (*ChannelOrganization) GetCfgTxName ¶
func (co *ChannelOrganization) GetCfgTxName() string
type Consortia ¶
type Consortia struct { Name string Organizations []ConsortiaOrganization }
type ConsortiaOrganization ¶
type ConsortiaOrganization struct { *Organization Polices map[string]configtx.Policy }
type Orderer ¶
type Orderer struct { Name string Organizations []OrdererOrganization MaxChannels uint64 Policies map[string]configtx.Policy BatchTimeout time.Duration BatchSize *orderertx.BatchSize Capabilities []string EtcdRaftOptions *orderertx.EtcdRaftOptions Consortiums []Consortia }
func (*Orderer) GetCfgTxConsortiums ¶
func (o *Orderer) GetCfgTxConsortiums() []configtx.Consortium
func (*Orderer) GetCfgTxEtcdRaftOrderer ¶
func (*Orderer) GetSigners ¶
func (c *Orderer) GetSigners() []Organization
type OrdererOrganization ¶
type OrdererOrganization struct { *Organization Orders []Order Policies map[string]configtx.Policy }
func (*OrdererOrganization) GetCfgTxName ¶
func (oo *OrdererOrganization) GetCfgTxName() string
type Organization ¶
func (*Organization) GetSignIdentity ¶
func (org *Organization) GetSignIdentity() *configtx.SigningIdentity
Click to show internal directories.
Click to hide internal directories.