Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCPackage ¶
type CCPackage struct { Type pb.ChaincodeSpec_Type Code []byte }
CCPackage contains package type and bytes required to create CDS
type CreateChannelRequest ¶
type CreateChannelRequest struct { // required - The name of the new channel Name string // required - The Orderer to send the update request Orderer fab.Orderer // optional - the envelope object containing all // required settings and signatures to initialize this channel. // This envelope would have been created by the command // line tool "configtx" Envelope []byte // optional - ConfigUpdate object built by the // buildChannelConfig() method of this package Config []byte // optional - the list of collected signatures // required by the channel create policy when using the `apiconfig` parameter. // see signChannelConfig() method of this package Signatures []*common.ConfigSignature }
CreateChannelRequest requests channel creation on the network
type InstallChaincodeRequest ¶
type InstallChaincodeRequest struct { // required - name of the chaincode Name string // required - path to the location of chaincode sources (path from GOPATH/src folder) Path string // chaincodeVersion: required - version of the chaincode Version string // required - package (chaincode package type and bytes) Package *CCPackage }
InstallChaincodeRequest requests chaincode installation on the network
type JoinChannelRequest ¶
type JoinChannelRequest struct { // The name of the channel to be joined. Name string GenesisBlock *common.Block }
JoinChannelRequest allows a set of peers to transact on a channel on the network
Click to show internal directories.
Click to hide internal directories.