Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + var CompositeKeySep = []byte + func ConstructCompositeHistoryKey(ns string, key string, blocknum uint64, trannum uint64) []byte + func ConstructPartialCompositeHistoryKey(ns string, key string, endkey bool) []byte + func SplitCompositeHistoryKey(bytesToSplit []byte, separator []byte) ([]byte, []byte) + type HistoryDB interface + Commit func(block *common.Block) error + CommitLostBlock func(blockAndPvtdata *ledger.BlockAndPvtData) error + GetLastSavepoint func() (*version.Height, error) + Name func() string + NewHistoryQueryExecutor func(blockStore blkstorage.BlockStore) (ledger.HistoryQueryExecutor, error) + ShouldRecover func(lastAvailableBlock uint64) (bool, uint64, error) + type HistoryDBProvider interface + Close func() + GetDBHandle func(id string) (HistoryDB, error)