tikv_manage

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultTiKVFactory

func SetDefaultTiKVFactory(factory TiKvFactory)

Types

type TiKvFactory

type TiKvFactory interface {
	NewChainDB(shardID uint32) (ethdb.Database, error)
	NewStateDB(shardID uint32) (ethdb.Database, error)
	NewCacheStateDB(shardID uint32) (*statedb_cache.StateDBCacheDatabase, error)
	CloseAllDB()
}

func GetDefaultTiKVFactory

func GetDefaultTiKVFactory() (factory TiKvFactory)

Jump to

Keyboard shortcuts

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