fabric: github.com/hyperledger/fabric/core/ledger/ledgerconfig Index | Files

package ledgerconfig

import "github.com/hyperledger/fabric/core/ledger/ledgerconfig"

Index

Package Files

ledger_config.go

func GetBlockStorePath Uses

func GetBlockStorePath() string

GetBlockStorePath returns the filesystem path that is used for the chain block stores

func GetConfigHistoryPath Uses

func GetConfigHistoryPath() string

GetConfigHistoryPath returns the filesystem path that is used for maintaining history of chaincodes collection configurations

func GetFileLockPath Uses

func GetFileLockPath() string

GetFileLockPath returns the filesystem path that is used to create a file lock

func GetHistoryLevelDBPath Uses

func GetHistoryLevelDBPath() string

GetHistoryLevelDBPath returns the filesystem path that is used to maintain the history level db

func GetInternalBookkeeperPath Uses

func GetInternalBookkeeperPath() string

GetInternalBookkeeperPath returns the filesystem path that is used for bookkeeping the internal stuff by by KVledger (such as expiration time for pvt)

func GetInternalQueryLimit Uses

func GetInternalQueryLimit() int

GetInternalQueryLimit exposes the queryLimit variable

func GetLedgerProviderPath Uses

func GetLedgerProviderPath() string

GetLedgerProviderPath returns the filesystem path for storing ledger ledgerProvider contents

func GetMaxBatchUpdateSize Uses

func GetMaxBatchUpdateSize() int

GetMaxBatchUpdateSize exposes the maxBatchUpdateSize variable

func GetMaxBlockfileSize Uses

func GetMaxBlockfileSize() int

GetMaxBlockfileSize returns maximum size of the block file

func GetMaxDegreeQueryReadsHashing Uses

func GetMaxDegreeQueryReadsHashing() uint32

GetMaxDegreeQueryReadsHashing return the maximum degree of the merkle tree for hashes of of range query results for phantom item validation For more details - see description in kvledger/txmgmt/rwset/query_results_helper.go

func GetPvtdataStoreCollElgProcDbBatchesInterval Uses

func GetPvtdataStoreCollElgProcDbBatchesInterval() int

GetPvtdataStoreCollElgProcDbBatchesInterval returns the minimum duration (in milliseconds) between writing two consecutive db batches for converting the ineligible missing data entries to eligible missing data entries

func GetPvtdataStoreCollElgProcMaxDbBatchSize Uses

func GetPvtdataStoreCollElgProcMaxDbBatchSize() int

GetPvtdataStoreCollElgProcMaxDbBatchSize returns the maximum db batch size for converting the ineligible missing data entries to eligible missing data entries

func GetPvtdataStorePath Uses

func GetPvtdataStorePath() string

GetPvtdataStorePath returns the filesystem path that is used for permanent storage of private write-sets

func GetPvtdataStorePurgeInterval Uses

func GetPvtdataStorePurgeInterval() uint64

GetPvtdataStorePurgeInterval returns the interval in the terms of number of blocks when the purge for the expired data would be performed

func GetRootPath Uses

func GetRootPath() string

GetRootPath returns the filesystem path. All ledger related contents are expected to be stored under this path

func GetStateLevelDBPath Uses

func GetStateLevelDBPath() string

GetStateLevelDBPath returns the filesystem path that is used to maintain the state level db

func GetTotalQueryLimit Uses

func GetTotalQueryLimit() int

GetTotalQueryLimit exposes the totalLimit variable

func GetWarmIndexesAfterNBlocks Uses

func GetWarmIndexesAfterNBlocks() int

GetWarmIndexesAfterNBlocks exposes the warmIndexesAfterNBlocks variable

func IsAutoWarmIndexesEnabled Uses

func IsAutoWarmIndexesEnabled() bool

IsAutoWarmIndexesEnabled exposes the autoWarmIndexes variable

func IsCouchDBEnabled Uses

func IsCouchDBEnabled() bool

IsCouchDBEnabled exposes the useCouchDB variable

func IsHistoryDBEnabled Uses

func IsHistoryDBEnabled() bool

IsHistoryDBEnabled exposes the historyDatabase variable

func IsQueryReadsHashingEnabled Uses

func IsQueryReadsHashingEnabled() bool

IsQueryReadsHashingEnabled enables or disables computing of hash of range query results for phantom item validation

Package ledgerconfig imports 3 packages (graph) and is imported by 38 packages. Updated 2019-07-16. Refresh now. Tools for package owners.