Documentation ¶
Index ¶
- func GetBlockStorePath() string
- func GetConfigHistoryPath() string
- func GetHistoryLevelDBPath() string
- func GetInternalBookkeeperPath() string
- func GetLedgerProviderPath() string
- func GetMaxBatchUpdateSize() int
- func GetMaxBlockfileSize() int
- func GetMaxDegreeQueryReadsHashing() uint32
- func GetPvtdataStorePath() string
- func GetPvtdataStorePurgeInterval() uint64
- func GetQueryLimit() int
- func GetRootPath() string
- func GetStateLevelDBPath() string
- func GetWarmIndexesAfterNBlocks() int
- func IsAutoWarmIndexesEnabled() bool
- func IsCouchDBEnabled() bool
- func IsHistoryDBEnabled() bool
- func IsQueryReadsHashingEnabled() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockStorePath ¶
func GetBlockStorePath() string
GetBlockStorePath returns the filesystem path that is used for the chain block stores
func GetConfigHistoryPath ¶ added in v1.2.0
func GetConfigHistoryPath() string
GetConfigHistoryPath returns the filesystem path that is used for maintaining history of chaincodes collection configurations
func GetHistoryLevelDBPath ¶
func GetHistoryLevelDBPath() string
GetHistoryLevelDBPath returns the filesystem path that is used to maintain the history level db
func GetInternalBookkeeperPath ¶ added in v1.2.0
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 GetLedgerProviderPath ¶
func GetLedgerProviderPath() string
GetLedgerProviderPath returns the filesystem path for storing ledger ledgerProvider contents
func GetMaxBatchUpdateSize ¶ added in v1.1.0
func GetMaxBatchUpdateSize() int
GetMaxBatchUpdateSize exposes the maxBatchUpdateSize variable
func GetMaxBlockfileSize ¶
func GetMaxBlockfileSize() int
GetMaxBlockfileSize returns maximum size of the block file
func GetMaxDegreeQueryReadsHashing ¶
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 GetPvtdataStorePath ¶ added in v1.1.0
func GetPvtdataStorePath() string
GetPvtdataStorePath returns the filesystem path that is used for permanent storage of private write-sets
func GetPvtdataStorePurgeInterval ¶ added in v1.2.0
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 ¶
func GetRootPath() string
GetRootPath returns the filesystem path. All ledger related contents are expected to be stored under this path
func GetStateLevelDBPath ¶
func GetStateLevelDBPath() string
GetStateLevelDBPath returns the filesystem path that is used to maintain the state level db
func GetWarmIndexesAfterNBlocks ¶ added in v1.1.0
func GetWarmIndexesAfterNBlocks() int
GetWarmIndexesAfterNBlocks exposes the warmIndexesAfterNBlocks variable
func IsAutoWarmIndexesEnabled ¶ added in v1.1.0
func IsAutoWarmIndexesEnabled() bool
IsAutoWarmIndexesEnabled exposes the autoWarmIndexes variable
func IsCouchDBEnabled ¶
func IsCouchDBEnabled() bool
IsCouchDBEnabled exposes the useCouchDB variable
func IsHistoryDBEnabled ¶
func IsHistoryDBEnabled() bool
IsHistoryDBEnabled exposes the historyDatabase variable
func IsQueryReadsHashingEnabled ¶
func IsQueryReadsHashingEnabled() bool
IsQueryReadsHashingEnabled enables or disables computing of hash of range query results for phantom item validation
Types ¶
This section is empty.