package
2.0.0-beta+incompatible
Repository: https://github.com/ibm/fabric.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
# Functions
BlockStorePath returns the absolute path of block storage.
BookkeeperDBPath return the absolute path of bookkeeper DB.
ClearPreResetHeight removes the prereset height recorded in the file system for the specified ledgers.
ConfigHistoryDBPath returns the absolute path of configHistory DB.
HistoryDBPath returns the absolute path of history DB.
LedgerProviderPath returns the absolute path of ledgerprovider.
LoadPreResetHeight returns the prereset height for the specified ledgers.
NewProvider instantiates a new Provider.
PauseChannel updates the channel status to inactive in ledgerProviders.
PvtDataStorePath returns the absolute path of pvtdata storage.
RebuildDBs drops existing ledger databases.
ResetAllKVLedgers resets all ledger to the genesis block.
ResumeChannel updates the channel status to active in ledgerProviders.
RollbackKVLedger rollbacks a ledger to a specified block number.
StateDBPath returns the absolute path of state level DB.
UpgradeDBs upgrades existing ledger databases to the latest formats.
UpgradeIDStoreFormat upgrades the format for idStore.
# Variables
ErrInactiveLedger is thrown by an OpenLedger call if a ledger with the given id is not active.
ErrLedgerIDExists is thrown by a CreateLedger call if a ledger with the given id already exists.
ErrLedgerNotOpened is thrown by a CloseLedger call if a ledger with the given id has not been opened.
ErrNonExistingLedgerID is thrown by an OpenLedger call if a ledger with the given id does not exist.