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实现接口HistoryDBProvider
func NewHistoryDBProvider ¶
func NewHistoryDBProvider() *HistoryDBProvider
NewHistoryDBProvider实例化HistoryDBProvider
func (*HistoryDBProvider) GetDBHandle ¶
func (provider *HistoryDBProvider) GetDBHandle(dbName string) (historydb.HistoryDB, error)
getdbhandle获取命名数据库的句柄
type LevelHistoryDBQueryExecutor ¶
type LevelHistoryDBQueryExecutor struct {
// contains filtered or unexported fields
}
LevelHistoryDBQueryExecutor是针对LevelDB历史数据库的查询执行器
func (*LevelHistoryDBQueryExecutor) GetHistoryForKey ¶
func (q *LevelHistoryDBQueryExecutor) GetHistoryForKey(namespace string, key string) (commonledger.ResultsIterator, error)
getHistoryForkey在接口“ledger.historyQueryExecutor”中实现方法
Click to show internal directories.
Click to hide internal directories.