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)
Click to show internal directories.
Click to hide internal directories.