Documentation
¶
Index ¶
- Constants
- type Network
- func (n *Network) CheckTopology()
- func (n *Network) DeployNamespace(chaincode *topology.ChannelChaincode)
- func (n *Network) GenerateArtifacts()
- func (n *Network) GenerateConfigTree()
- func (n *Network) ListInstalledNames()
- func (n *Network) Members() []grouper.Member
- func (n *Network) PostRun(load bool)
- func (n *Network) UpdateNamespace(chaincodeID, version, path, packageFile string)
Constants ¶
View Source
const (
DefaultConsensusType = "etcdraft"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
*fabric_network.Network
}
func New ¶
func New(reg api.Context, topology *topology.Topology, builderClient fabric_network.BuilderClient, ccps []fabric_network.ChaincodeProcessor, networkID string) *Network
func (*Network) CheckTopology ¶
func (n *Network) CheckTopology()
CheckTopology checks the topology of the network.
func (*Network) DeployNamespace ¶
func (n *Network) DeployNamespace(chaincode *topology.ChannelChaincode)
func (*Network) GenerateArtifacts ¶
func (n *Network) GenerateArtifacts()
func (*Network) GenerateConfigTree ¶
func (n *Network) GenerateConfigTree()
func (*Network) ListInstalledNames ¶
func (n *Network) ListInstalledNames()
func (*Network) UpdateNamespace ¶
UpdateNamespace deploys the new version of the chaincode passed by chaincodeId.
Click to show internal directories.
Click to hide internal directories.