# Functions
IdentitiesFromFiles returns map of CertIdentity, loaded from PEM files.
IdentitiesFromPem returns CertIdentity (MSP ID and X.509 cert) converted PEM content.
IdentityFromFile returns Identity struct containing mspId and certificate.
No description provided by the author
InitSysDBs initializes system DBs, so couch wont spam log file.
No description provided by the author
MustIdentitiesFromFiles.
No description provided by the author
No description provided by the author
No description provided by the author
NewMockStateRangeQueryIterator ...
NewMockStub Constructor to initialise the internal State map.
No description provided by the author
No description provided by the author
TransformCreator transforms arbitrary tx creator (pmsp.SerializedIdentity etc) to mspID string, certPEM []byte,.
No description provided by the author
# Constants
No description provided by the author
docker container image name for CouchDB container.
docker container name for CouchDB mock.
path to data directory for CouchDB inside container.
port number which is exposed on host machine to access CouchDB API.
port inside docker container which is exposed to host.
location of state indexes.
location of private data indexes.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrChaincodeNotExists occurs when attempting to invoke a nonexostent external chaincode.
No description provided by the author
ErrUnknownFromArgsType occurs when attempting to set unknown Args in From func.
# Structs
CouchDBMock is mock for rich query functionality.
No description provided by the author
MockStateRangeQueryIterator ...
MockStub is an implementation of ChaincodeStubInterface for unit testing chaincode.
OUIdentifier represents an organizational unit and its related chain of trust identifier.
# Type aliases
No description provided by the author
No description provided by the author