package
1.2.0-rc1
Repository: https://github.com/sinochem-tech/fabric.git
Documentation: pkg.go.dev

# Functions

New creates a new instance of the LSCC Typically there is only one of these per peer.

# Constants

CCEXISTS get chaincode.
CHAINCODEEXISTS get chaincode alias.
DEPLOY deploy command.
GETCCDATA get ChaincodeData.
GETCHAINCODEDATA get ChaincodeData alias.
GETCHAINCODES gets the instantiated chaincodes on a channel.
GETCHAINCODESALIAS gets the instantiated chaincodes on a channel.
GETDEPLOYMENTSPEC get ChaincodeDeploymentSpec alias.
GETDEPSPEC get ChaincodeDeploymentSpec.
GETINSTALLEDCHAINCODES gets the installed chaincodes on a peer.
GETINSTALLEDCHAINCODESALIAS gets the installed chaincodes on a peer.
INSTALL install command.
UPGRADE upgrade chaincode.

# Interfaces

FilesystemSupport contains functions that LSCC requires to execute its tasks.

# Type aliases

ChaincodeMismatchErr chaincode name from two places don't match.
CollectionsConfigUpgradesNotAllowed when V1_2 capability is not enabled.
EmptyChaincodeNameErr trying to upgrade to same version of Chaincode.
EmptyVersionErr empty version error.
ExistsErr chaincode exists error.
IdenticalVersionErr trying to upgrade to same version of Chaincode.
InstantiationPolicyMissing when no existing instantiation policy is found when upgrading CC.
InvalidArgsLenErr invalid arguments length error.
InvalidCCOnFSError error due to mismatch between fingerprint on lscc and installed CC.
InvalidChaincodeNameErr invalid chaincode name error.
InvalidChannelNameErr invalid channel name error.
InvalidDeploymentSpecErr invalid chaincode deployment spec error.
InvalidFunctionErr invalid function error.
InvalidStatedbArtifactsErr invalid state database artifacts error.
InvalidVersionErr invalid version error.
MarshallErr error marshaling/unmarshalling.
NotFoundErr chaincode not registered with LSCC error.
TXNotFoundErr transaction not found error.