package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.

# 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.
CompletedSnapshotsPath returns the absolute path that is used for persisting the snapshots.
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.
SnapshotDirForLedgerBlockNum returns the absolute path for a particular snapshot for a ledger.
SnapshotsDirForLedger returns the absolute path of the dir for the snapshots for a specified ledger.
SnapshotsTempDirPath returns the dir path that is used temporarily during the genration or import of the snapshots for a ledger.
StateDBPath returns the absolute path of state level DB.
UnjoinChannel removes the data for a ledger and sets the status to UNDER_DELETION.
UpgradeDBs upgrades existing ledger databases to the latest formats.
UpgradeIDStoreFormat updates ledger idStore to current format.

# Constants

# Structs

Provider implements interface ledger.PeerLedgerProvider.
SnapshotSignableMetadata is used to build a JSON that represents a unique snapshot and can be signed by the peer.