package
2.0.0-alpha+incompatible
Repository: https://github.com/hyperledger-labs/fabric-block-archiving.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.

# 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
StateIteratorToMap takes an iterator, and iterates over the entire thing, encoding the KVs into a map, and then closes it.

# Constants

ApproveChaincodeDefinitionForMyOrgFuncName is the chaincode function name used to approve a chaincode definition for execution by the user's own org.
ChaincodeDefinitionType is the name of the type used to store defined chaincodes.
ChaincodeSourcesName is the namespace reserved for storing the information about where to find the chaincode (such as as a package on the local filesystem, or in the future, at some network resource).
CommitChaincodeDefinitionFuncName is the chaincode function name used to 'commit' (previously 'instantiate') a chaincode in a channel.
DefaultEndorsementPolicyRef is the name of the default endorsement policy for this channel.
No description provided by the author
FriendlyChaincodeDefinitionType is the name exposed to the outside world for the chaincode namespace.
InstallChaincodeFuncName is the chaincode function name used to install a chaincode.
No description provided by the author
LifecycleNamespace is the namespace in the statedb where lifecycle information is stored.
No description provided by the author
NamespacesName is the prefix (or namespace) of the DB which will be used to store the information about other namespaces (for things like chaincodes) in the DB.
QueryApprovalStatusFuncName is the chaincode function name used to query the approval status for a given definition over a given set of orgs.
QueryChaincodeDefinitionFuncName is the chaincode function name used to query the committed chaincode definitions in a channel.
QueryInstalledChaincodeFuncName is the chaincode function name used to query an installed chaincode.
QueryInstalledChaincodesFuncName is the chaincode function name used to query all installed chaincodes.
QueryNamespaceDefinitionsFuncName is the chaincode function name used to query which namespaces are currently defined and what type those namespaces are.

# Variables

No description provided by the author
No description provided by the author
This is a channel which was created with a lifecycle endorsement policy.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ChaincodeDefinition contains the chaincode parameters, as well as the sequence number of the definition.
No description provided by the author
No description provided by the author
ChaincodePackage is a type of chaincode-source which may be serialized into the org's private data collection.
ChaincodeParameters are the parts of the chaincode definition which are serialized as values in the statedb.
ChaincodePrivateLedgerShim wraps the chaincode shim to make access to keys in a collection have the same semantics as normal public keys.
ChaincodePublicLedgerShim decorates the chaincode shim to support the state interfaces required by the serialization code.
No description provided by the author
No description provided by the author
DummyQueryExecutorShim implements the ReadableState interface.
ErrNamespaceNotDefined is the error returned when a namespace is not defined.
ExternalFunctions is intended primarily to support the SCC functions.
No description provided by the author
LegacyDefinition is an implmentor of ccprovider.ChaincodeDefinition.
No description provided by the author
No description provided by the author
No description provided by the author
Resources stores the common functions needed by all components of the lifecycle by the SCC as well as internally.
No description provided by the author
SCC implements the required methods to satisfy the chaincode interface.
Serializer is used to write structures into the db and to read them back out.
SimpleQueryExecutorShim implements the ReadableState and RangeableState interfaces based on an underlying ledger.SimpleQueryExecutor.
No description provided by the author
No description provided by the author

# Interfaces

go:generate counterfeiter -o mock/chaincode_info_cache.go --fake-name ChaincodeInfoCache .
ChaincodeStore provides a way to persist chaincodes.
ChannelConfigSource provides a way to retrieve the channel config for a given channel ID.
go:generate counterfeiter -o mock/install_listener.go --fake-name InstallListener .
go:generate counterfeiter -o mock/legacy_ccinfo.go --fake-name LegacyDeployedCCInfoProvider .
go:generate counterfeiter -o mock/legacy_lifecycle.go --fake-name LegacyLifecycle .
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
SCCFunctions provides a backing implementation with concrete arguments for each of the SCC functions.
No description provided by the author

# Type aliases

No description provided by the author