Documentation ¶
Index ¶
- func GetBlockStorePath() string
- func GetHistoryLevelDBPath() string
- func GetLedgerProviderPath() string
- func GetMaxBlockfileSize() int
- func GetMaxDegreeQueryReadsHashing() int
- func GetQueryLimit() int
- func GetRootPath() string
- func GetStateLevelDBPath() string
- func IsCouchDBEnabled() bool
- func IsHistoryDBEnabled() bool
- func IsQueryReadsHashingEnabled() bool
- type CouchDBDef
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 GetHistoryLevelDBPath ¶
func GetHistoryLevelDBPath() string
GetHistoryLevelDBPath returns the filesystem path that is used to maintain the history level db
func GetLedgerProviderPath ¶
func GetLedgerProviderPath() string
GetLedgerProviderPath returns the filesystem path for stroing ledger ledgerProvider contents
func GetMaxBlockfileSize ¶
func GetMaxBlockfileSize() int
GetMaxBlockfileSize returns maximum size of the block file
func GetMaxDegreeQueryReadsHashing ¶
func GetMaxDegreeQueryReadsHashing() int
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 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 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 ¶
type CouchDBDef ¶
CouchDBDef contains parameters
func GetCouchDBDefinition ¶
func GetCouchDBDefinition() *CouchDBDef
GetCouchDBDefinition exposes the useCouchDB variable