Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyDB ¶
type KeyDB interface { //NewHistoryQueryExecutor(blockStore blkstorage.BlockStore) (ledger.HistoryQueryExecutor, error) Commit([]string, *version.Height) error GetLastSavepoint() (*version.Height, error) ShouldRecover(lastAvailableBlock uint64) (bool, uint64, error) CommitLostBlock([]string, *version.Height) error }
type KeyDBProvider ¶
type KeyDBProvider interface { // GetDBHandle returns a handle to a HistoryDB GetDBHandle(id string) (KeyDB, error) // Close closes all the HistoryDB instances and releases any resources held by HistoryDBProvider Close() }
HistoryDBProvider provides an instance of a history DB
Click to show internal directories.
Click to hide internal directories.