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" FlagSnapshotWriterLimit = "memiavl.snapshot-writer-limit" )
Variables ¶
This section is empty.
Functions ¶
func SetupMemIAVL ¶
func SetupMemIAVL(logger log.Logger, homePath string, appOpts servertypes.AppOptions, sdk46Compact bool, supportExportNonSnapshotVersion 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.