{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ledgerconfig\n\n## Functions\n\n```go\nfunc GetBlockStorePath() string\n```\nGetBlockStorePath returns the filesystem path that is used for the chain block stores\n\n```go\nfunc GetConfigHistoryPath() string\n```\nGetConfigHistoryPath returns the filesystem path that is used for maintaining history of chaincodes collection configurations\n\n```go\nfunc GetFileLockPath() string\n```\nGetFileLockPath returns the filesystem path that is used to create a file lock\n\n```go\nfunc GetHistoryLevelDBPath() string\n```\nGetHistoryLevelDBPath returns the filesystem path that is used to maintain the history level db\n\n```go\nfunc GetInternalBookkeeperPath() string\n```\nGetInternalBookkeeperPath returns the filesystem path that is used for bookkeeping the internal stuff by by KVledger (such as expiration time for pvt)\n\n```go\nfunc GetInternalQueryLimit() int\n```\nGetInternalQueryLimit exposes the queryLimit variable\n\n```go\nfunc GetLedgerProviderPath() string\n```\nGetLedgerProviderPath returns the filesystem path for storing ledger ledgerProvider contents\n\n```go\nfunc GetMaxBatchUpdateSize() int\n```\nGetMaxBatchUpdateSize exposes the maxBatchUpdateSize variable\n\n```go\nfunc GetMaxBlockfileSize() int\n```\nGetMaxBlockfileSize returns maximum size of the block file\n\n```go\nfunc GetMaxDegreeQueryReadsHashing() uint32\n```\nGetMaxDegreeQueryReadsHashing 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\n\n```go\nfunc GetPvtdataStoreCollElgProcDbBatchesInterval() int\n```\nGetPvtdataStoreCollElgProcDbBatchesInterval returns the minimum duration (in milliseconds) between writing two consecutive db batches for converting the ineligible missing data entries to eligible missing data entries\n\n```go\nfunc GetPvtdataStoreCollElgProcMaxDbBatchSize() int\n```\nGetPvtdataStoreCollElgProcMaxDbBatchSize returns the maximum db batch size for converting the ineligible missing data entries to eligible missing data entries\n\n```go\nfunc GetPvtdataStorePath() string\n```\nGetPvtdataStorePath returns the filesystem path that is used for permanent storage of private write-sets\n\n```go\nfunc GetPvtdataStorePurgeInterval() uint64\n```\nGetPvtdataStorePurgeInterval returns the interval in the terms of number of blocks when the purge for the expired data would be performed\n\n```go\nfunc GetRootPath() string\n```\nGetRootPath returns the filesystem path. All ledger related contents are expected to be stored under this path\n\n```go\nfunc GetStateLevelDBPath() string\n```\nGetStateLevelDBPath returns the filesystem path that is used to maintain the state level db\n\n```go\nfunc GetTotalQueryLimit() int\n```\nGetTotalQueryLimit exposes the totalLimit variable\n\n```go\nfunc GetWarmIndexesAfterNBlocks() int\n```\nGetWarmIndexesAfterNBlocks exposes the warmIndexesAfterNBlocks variable\n\n```go\nfunc IsAutoWarmIndexesEnabled() bool\n```\nIsAutoWarmIndexesEnabled exposes the autoWarmIndexes variable\n\n```go\nfunc IsCouchDBEnabled() bool\n```\nIsCouchDBEnabled exposes the useCouchDB variable\n\n```go\nfunc IsHistoryDBEnabled() bool\n```\nIsHistoryDBEnabled exposes the historyDatabase variable\n\n```go\nfunc IsQueryReadsHashingEnabled() bool\n```\nIsQueryReadsHashingEnabled enables or disables computing of hash of range query results for phantom item validation\n\n","path":"github.com/eric-erki/https-hyperledger.org/core/ledger/ledgerconfig","name":"ledgerconfig","synopsis":"","isRedistributable":true}
