historyleveldb

package
v0.0.0-...-40f2d1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoryDBProvider

type HistoryDBProvider struct {
	// contains filtered or unexported fields
}

HistoryDBProvider implements interface HistoryDBProvider

func NewHistoryDBProvider

func NewHistoryDBProvider() *HistoryDBProvider

NewHistoryDBProvider instantiates HistoryDBProvider

func (*HistoryDBProvider) Close

func (provider *HistoryDBProvider) Close()

Close closes the underlying db

func (*HistoryDBProvider) GetDBHandle

func (provider *HistoryDBProvider) GetDBHandle(dbName string) (historydb.HistoryDB, error)

GetDBHandle gets the handle to a named database

type LevelHistoryDBQueryExecutor

type LevelHistoryDBQueryExecutor struct {
	// contains filtered or unexported fields
}

LevelHistoryDBQueryExecutor is a query executor against the LevelDB history DB

func (*LevelHistoryDBQueryExecutor) GetHistoryForKey

func (q *LevelHistoryDBQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)

GetHistoryForKey implements method in interface `ledger.HistoryQueryExecutor`

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL