package
2.1.1+incompatible
Repository: https://github.com/chenzhaoqi1997/fabric.git
Documentation: pkg.go.dev
# Functions
NewCommonStorageDB wraps a VersionedDB instance.
NewCommonStorageDBProvider constructs an instance of DBProvider.
NewHashedUpdateBatch creates an empty HashedUpdateBatch.
NewPubUpdateBatch creates an empty PubUpdateBatch.
NewPvtUpdateBatch creates an empty PvtUpdateBatch.
NewUpdateBatch creates and empty UpdateBatch.
# Structs
CommonStorageDB implements interface DB.
CommonStorageDBProvider implements interface DBProvider.
CouchDBCommonStorageTestEnv implements TestEnv interface for couchdb based storage.
HashedCompositeKey encloses Namespace, CollectionName and KeyHash components.
HashedUpdateBatch contains updates for the hashes of the private data.
No description provided by the author
No description provided by the author
LevelDBCommonStorageTestEnv implements TestEnv interface for leveldb based storage.
PubUpdateBatch contains update for the public data.
PvtdataCompositeKey encloses Namespace, CollectionName and Key components.
PvtKVWrite encloses Key, IsDelete, Value, and Version components.
PvtUpdateBatch contains updates for the private data.
StateDBConfig encapsulates the configuration for stateDB on the ledger.
UpdateBatch encapsulates the updates to Public, Private, and Hashed data.
No description provided by the author
# Interfaces
DB extends VersionedDB interface.
DBProvider provides handle to a PvtVersionedDB.
TestEnv - an interface that a test environment implements.
# Type aliases
PvtdataCompositeKeyMap is a map of PvtdataCompositeKey to VersionedValue.
UpdateMap maintains entries of tuple <Namespace, UpdatesForNamespace>.