Documentation
¶
Overview ¶
Package blockfile implements a new subcommand (blockfile) for manipulating blockfiles to peer command.
Subcommand ¶
'blockfile' subcommand includes the following subcommands:
verify
Refer detail to the usage which is provided by running 'peer blockfile help'.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockfileCmdFactory ¶
type BlockfileCmdFactory struct { EndorserClient pb.EndorserClient Signer msp.SigningIdentity BroadcastClient common.BroadcastClient DeliverClient deliverClientIntf BroadcastFactory BroadcastClientFactory }
BlockfileCmdFactory holds the clients used by BlockfileCmdFactory
func InitCmdFactory ¶
func InitCmdFactory(isEndorserRequired, isPeerDeliverRequired, isOrdererRequired bool) (*BlockfileCmdFactory, error)
InitCmdFactory init the BlockfileCmdFactory with clients to endorser and orderer according to params
type BroadcastClientFactory ¶
type BroadcastClientFactory func() (common.BroadcastClient, error)
Click to show internal directories.
Click to hide internal directories.