Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading