mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-16 00:21:19 +00:00
enable tx_indexer by default
This commit is contained in:
parent
257d81ddd1
commit
23dbd0c8c3
@ -101,7 +101,7 @@ func GetConfig(rootDir string) cfg.Config {
|
||||
mapConfig.SetDefault("mempool_broadcast", true)
|
||||
mapConfig.SetDefault("mempool_wal_dir", rootDir+"/data/mempool.wal")
|
||||
|
||||
mapConfig.SetDefault("tx_indexer", "none")
|
||||
mapConfig.SetDefault("tx_indexer", "kv")
|
||||
|
||||
return mapConfig
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ func ResetConfig(localPath string) cfg.Config {
|
||||
mapConfig.SetDefault("mempool_broadcast", true)
|
||||
mapConfig.SetDefault("mempool_wal_dir", "")
|
||||
|
||||
mapConfig.SetDefault("tx_indexer", "none")
|
||||
mapConfig.SetDefault("tx_indexer", "kv")
|
||||
|
||||
logger.SetLogLevel(mapConfig.GetString("log_level"))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user