store

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagMemIAVL            = "memiavl.enable"
	FlagAsyncCommitBuffer  = "memiavl.async-commit-buffer"
	FlagZeroCopy           = "memiavl.zero-copy"
	FlagSnapshotKeepRecent = "memiavl.snapshot-keep-recent"
	FlagSnapshotInterval   = "memiavl.snapshot-interval"
	FlagCacheSize          = "memiavl.cache-size"
)

Variables

This section is empty.

Functions

func NewTestCacheMultiStore

func NewTestCacheMultiStore(stores map[types.StoreKey]types.CacheWrapper) types.CacheMultiStore

func NewTestKVStore

func NewTestKVStore() types.KVStore

func SetupMemIAVL

func SetupMemIAVL(logger log.Logger, homePath string, appOpts servertypes.AppOptions, sdk46Compact bool, baseAppOptions []func(*baseapp.BaseApp)) []func(*baseapp.BaseApp)

SetupMemIAVL insert the memiavl setter in front of baseapp options, so that the default rootmulti store is replaced by memiavl store,

Types

This section is empty.

Directories

Path Synopsis
whitelist
kv

Jump to

Keyboard shortcuts

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