package
1.0.0-alpha4
Repository: https://github.com/kompitech/fabric-sdk-go.git
Documentation: pkg.go.dev
# Packages
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
# Functions
AddLocalEntityMapping adds local test entity mapping to config backend and returns updated config provider.
CleanupTestPath removes the contents of a state store.
CleanupUserData removes user data.
CreateChannel attempts to save the named channel.
CreateChannelAndUpdateAnchorPeers creates the channel and updates all of the anchor peers for all orgs.
DiscoverLocalPeers queries the local peers for the given MSP context and returns all of the peers.
ExampleCCInitArgs returns example cc initialization args.
ExampleCCQueryArgs returns example cc query args.
ExampleCCTxArgs returns example cc move funds args.
ExampleCCUpgradeArgs returns example cc upgrade args.
FilterTargetsJoinedChannel filters targets to those that have joined the named channel.
GenerateRandomID generates random ID.
GetDeployPath ..
HasPeerJoinedChannel checks whether the peer has already joined the channel.
InitializeChannel ...
InstallAndInstantiateCC install and instantiate using resource management client.
InstallAndInstantiateChaincode installs the given chaincode to all peers in the given orgs and instantiates it on the given channel.
InstallAndInstantiateExampleCC install and instantiate using resource management client.
InstallChaincode installs the given chaincode to the given peers.
InstantiateChaincode instantiates the given chaincode to the given channel.
IsJoinedChannel returns true if the given peer has joined the given channel.
IsLocal checks os argument and returns true if 'testLocal=true' argument found.
JoinChannel attempts to save the named channel.
JoinPeersToChannel joins all peers in all of the given orgs to the given channel.
OrgTargetPeers determines peer endpoints for orgs.
# Constants
Initial B values for ExampleCC.
Initial B values for ExampleCC.
Initial B values for ExampleCC.
LocalOrdererPeersCAsConfig config file to override on local test having only peers, orderers and CA entity entries.
LocalOrdererPeersConfig config file to override on local test having only peers and orderers entity entries.
Initial B values for ExampleCC.
# Variables
ConfigBackend contains config backend for integration tests.
# Structs
BaseSetupImpl implementation of BaseTestSetup.
OrgContext provides SDK client context for a given org.