diff --git a/config/config.go b/config/config.go index 81af657e..5fda62ad 100644 --- a/config/config.go +++ b/config/config.go @@ -34,7 +34,7 @@ type StateCommitConfig struct { AsyncCommitBuffer int `mapstructure:"async-commit-buffer"` // SnapshotKeepRecent defines what many old snapshots (excluding the latest one) to keep - // defaults to 1 to make sure ibc relayers work. + // defaults to 0 to only keep one current snapshot SnapshotKeepRecent uint32 `mapstructure:"snapshot-keep-recent"` // SnapshotInterval defines the block interval the memiavl snapshot is taken, default to 10000. diff --git a/config/toml.go b/config/toml.go index 4e5da191..90ae4dd3 100644 --- a/config/toml.go +++ b/config/toml.go @@ -23,7 +23,7 @@ sc-zero-copy = {{ .StateCommit.ZeroCopy }} sc-async-commit-buffer = {{ .StateCommit.AsyncCommitBuffer }} # KeepRecent defines how many state-commit snapshots (besides the latest one) to keep -# defaults to 1 to make sure ibc relayers work. +# defaults to 0 to only keep one current snapshot sc-keep-recent = {{ .StateCommit.SnapshotKeepRecent }} # SnapshotInterval defines the block interval the snapshot is taken, default to 10000 blocks.