package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Broadcast sends given env to Broadcast API of specified orderer.
BrokerPortNames returns the list of ports that need to be reserved for a Kafka broker.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CurrentConfigBlockNumber retrieves the block number from the header of the current config block.
CurrentConfigBlockNumberFromPeer retrieves the block number from the header of the peer's current config block.
Deliver sends given env to Deliver API of specified orderer.
DeployChaincode is a helper that will install chaincode to all peers that are connected to the specified channel, approve the chaincode on one of the peers of each organization in the network, commit the chaincode definition on the channel using one of the peers, and wait for the chaincode commit to complete on all of the peers.
DeployChaincodeLegacy is a helper that will install chaincode to all peers that are connected to the specified channel, instantiate the chaincode on one of the peers, and wait for the instantiation to complete on all of the peers.
running discovery service command discover peers against peer using channel name and user as specified in the function arguments.
EnableCapabilities enables a specific capabilities flag for a running network.
EnsureChaincodeCommitted polls each supplied peer until the chaincode definition has been committed to the peer's ledger.
No description provided by the author
No description provided by the author
FetchConfigBlock fetches latest config block.
GetConfig retrieves the last config of the given channel.
GetConfigBlock retrieves the current config block for a channel.
GetLedgerHeight returns the current ledger height for a peer on a channel.
GetMaxLedgerHeight returns the maximum ledger height for the peers on a channel.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
New creates a Network from a simple configuration.
No description provided by the author
No description provided by the author
OrdererPortNames returns the list of ports that need to be reserved for an Orderer.
No description provided by the author
No description provided by the author
PackageChaincodeBinary is a helper function to package an already built chaincode and write it to the location specified by Chaincode.PackageFile.
No description provided by the author
PeerPortNames returns the list of ports that need to be reserved for a Peer.
No description provided by the author
UnmarshalBlockFromFile unmarshals a proto encoded block from a file.
UpdateConfig computes, signs, and submits a configuration update and waits for the update to complete.
UpdateConsensusMetadata executes a config update that updates the consensus metadata according to the given ConsensusMetadataMutator.
UpdateOrdererConfig computes, signs, and submits a configuration update which requires orderers signature and waits for the update to complete.
UpdateOrdererConfigSession computes, signs, and submits a configuration update which requires orderer signatures.
No description provided by the author
No description provided by the author
WaitUntilEqualLedgerHeight waits until all specified peers have the provided ledger height on a channel.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Channel associates a channel name with a configtxgen profile name.
No description provided by the author
Config holds the basic information needed to generate fabric configuration files.
Consensus indicates the orderer types and how many broker and zookeeper instances.
A Consortium is a named collection of Organizations.
DiscoveredPeer defines a struct for discovering peers using discovery service.
Network holds information about a fabric network.
Orderer defines an orderer instance and its owning organization.
Organization models information about an Organization.
Peer defines a peer instance, it's owning organization, and the list of channels that the peer should be joined to.
PeerChannel names of the channel a peer should be joined to and whether or not the peer should be an anchor for the channel.
A profile encapsulates basic information for a configtxgen profile.
The SystemChannel declares the name of the network system channel and its associated configtxgen profile name.
Templates can be used to provide custom templates to GenerateConfigTree.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
ConsensusMetadataMutator receives ConsensusType.Metadata and mutates it.
MSPMutator receives FabricMSPConfig and mutates it.
No description provided by the author
No description provided by the author