channel

package
v0.0.0-...-523a819 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EndorserRequired       bool = true
	EndorserNotRequired    bool = false
	OrdererRequired        bool = true
	OrdererNotRequired     bool = false
	PeerDeliverRequired    bool = true
	PeerDeliverNotRequired bool = false
)

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(cmd *cobra.Command)

AddFlags添加用于创建和联接的标志

func Cmd

cmd返回node的cobra命令

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保留channelCmdFactory使用的客户端

func InitCmdFactory

func InitCmdFactory(isEndorserRequired, isPeerDeliverRequired, isOrdererRequired bool) (*ChannelCmdFactory, error)

initcmdfactory根据参数初始化带有客户机的channelCmdfactory以背书人和订购人

type ConfigTxFileNotFound

type ConfigTxFileNotFound string

configtxfilenotfound频道创建配置tx文件未找到

func (ConfigTxFileNotFound) Error

func (e ConfigTxFileNotFound) Error() string

type GBFileNotFoundErr

type GBFileNotFoundErr string

找不到gbfilenotfounderr genesis块文件

func (GBFileNotFoundErr) Error

func (e GBFileNotFoundErr) Error() string

type InvalidCreateTx

type InvalidCreateTx string

InvalidCreateTx无效的通道创建事务

func (InvalidCreateTx) Error

func (e InvalidCreateTx) Error() string

type ProposalFailedErr

type ProposalFailedErr string

ProposalFailerProposal失败

func (ProposalFailedErr) Error

func (e ProposalFailedErr) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL