Skip to content

Commit

Permalink
feat: remote bech32-cache-size
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Sep 5, 2022
1 parent ded22b3 commit 935bdf2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ type BaseConfig struct {
// IAVL cache size; bytes size unit
IAVLCacheSize uint64 `mapstructure:"iavl-cache-size"`

// Bech32CacheSize is the maximum bytes size of bech32 cache (Default : 1GB)
Bech32CacheSize int `mapstructure:"bech32-cache-size"`

// When true, Prometheus metrics are served under /metrics on prometheus_listen_addr in config.toml.
// It works when tendermint's prometheus option (config.toml) is set to true.
Prometheus bool `mapstructure:"prometheus"`
Expand Down
3 changes: 0 additions & 3 deletions server/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ inter-block-cache-size = {{ .BaseConfig.InterBlockCacheSize }}
# IAVLCacheSize is the maximum bytes size of iavl node cache
iavl-cache-size = {{ .BaseConfig.IAVLCacheSize }}
# Bech32CacheSize is the maximum bytes size of bech32 cache (Default : 1GB)
bech32-cache-size = {{ .BaseConfig.Bech32CacheSize }}
# IndexEvents defines the set of events in the form {eventType}.{attributeKey},
# which informs Tendermint what to index. If empty, all events will be indexed.
#
Expand Down
1 change: 0 additions & 1 deletion server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const (
FlagInterBlockCache = "inter-block-cache"
FlagInterBlockCacheSize = "inter-block-cache-size"
FlagIAVLCacheSize = "iavl-cache-size"
FlagBech32CacheSize = "bech32-cache-size"
FlagUnsafeSkipUpgrades = "unsafe-skip-upgrades"
FlagTrace = "trace"
FlagInvCheckPeriod = "inv-check-period"
Expand Down

0 comments on commit 935bdf2

Please sign in to comment.