Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Jul 23, 2024
1 parent 700d59c commit 7d6bdaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions store/v2/commitment/iavl/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package iavl

// Config is the configuration for the IAVL tree.
// app.toml config options
type Config struct {
CacheSize int `mapstructure:"cache_size" toml:"cache_size"`
SkipFastStorageUpgrade bool `mapstructure:"skip_fast_storage_upgrade" toml:"skip_fast_storage_upgrade"`
Expand Down
1 change: 1 addition & 0 deletions store/v2/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const (
)

// PruningOption defines the pruning configuration.
// app.toml config options
type PruningOption struct {
// KeepRecent sets the number of recent versions to keep.
KeepRecent uint64 `mapstructure:"keep-recent" toml:"keep-recent"`
Expand Down
1 change: 1 addition & 0 deletions store/v2/root/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const (
SCTypeIavlV2 SCType = 1
)

// app.toml config options
type Options struct {
SSType SSType `mapstructure:"ss-type" toml:"ss-type"`
SCType SCType `mapstructure:"sc-type" toml:"sc-type"`
Expand Down

0 comments on commit 7d6bdaa

Please sign in to comment.