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