Documentation ¶
Index ¶
Constants ¶
View Source
const ( EndorserRequired EndorserRequirement = true EndorserNotRequired EndorserRequirement = false OrdererRequired OrdererRequirement = true OrdererNotRequired OrdererRequirement = false )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BroadcastClientFactory ¶
type BroadcastClientFactory func() (common.BroadcastClient, error)
type ChannelCmdFactory ¶
type ChannelCmdFactory struct { EndorserClient pb.EndorserClient Signer msp.SigningIdentity BroadcastClient common.BroadcastClient DeliverClient deliverClientIntf BroadcastFactory BroadcastClientFactory }
ChannelCmdFactory holds the clients used by ChannelCmdFactory
func InitCmdFactory ¶
func InitCmdFactory(isEndorserRequired EndorserRequirement, isOrdererRequired OrdererRequirement) (*ChannelCmdFactory, error)
InitCmdFactory init the ChannelCmdFactory with clients to endorser and orderer according to params
type ConfigTxFileNotFound ¶
type ConfigTxFileNotFound string
ConfigTxFileNotFound channel create configuration tx file not found
func (ConfigTxFileNotFound) Error ¶
func (e ConfigTxFileNotFound) Error() string
type EndorserRequirement ¶
type EndorserRequirement bool
type GBFileNotFoundErr ¶
type GBFileNotFoundErr string
GBFileNotFoundErr genesis block file not found
func (GBFileNotFoundErr) Error ¶
func (e GBFileNotFoundErr) Error() string
type InvalidCreateTx ¶
type InvalidCreateTx string
InvalidCreateTx invalid channel create transaction
func (InvalidCreateTx) Error ¶
func (e InvalidCreateTx) Error() string
type OrdererRequirement ¶
type OrdererRequirement bool
type ProposalFailedErr ¶
type ProposalFailedErr string
ProposalFailedErr proposal failed
func (ProposalFailedErr) Error ¶
func (e ProposalFailedErr) Error() string
Click to show internal directories.
Click to hide internal directories.