Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagSCEnable = "state-commit.enable" FlagAsyncCommitBuffer = "state-commit.async-commit-buffer" FlagZeroCopy = "state-commit.zero-copy" FlagSnapshotKeepRecent = "state-commit.snapshot-keep-recent" FlagSnapshotInterval = "state-commit.snapshot-interval" FlagCacheSize = "state-commit.cache-size" FlagSnapshotWriterLimit = "state-commit.snapshot-writer-limit" )
Variables ¶
This section is empty.
Functions ¶
func SetupStateCommit ¶ added in v0.0.9
func SetupStateCommit( logger log.Logger, homePath string, appOpts servertypes.AppOptions, baseAppOptions []func(*baseapp.BaseApp), ) ([]func(*baseapp.BaseApp), *rootmulti.Store)
SetupStateCommit will replace the default rootmulti store with memiavl store
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.