network

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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) Members

func (n *Network) Members() []grouper.Member

func (*Network) PostRun

func (n *Network) PostRun(load bool)

func (*Network) UpdateNamespace

func (n *Network) UpdateNamespace(chaincodeID, version, path, packageFile string)

UpdateNamespace deploys the new version of the chaincode passed by chaincodeId.

Jump to

Keyboard shortcuts

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