feat: support dynamic app db backend flag (#1226)

* support dynamic app db backend

* address pr reviews

* add comment

* Update server/start.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
yihuang
2022-08-05 15:01:20 +02:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent e1560849dd
commit 7331cd2065
5 changed files with 27 additions and 8 deletions
+3 -1
View File
@@ -7,13 +7,15 @@ import (
"github.com/spf13/viper"
)
// Tendermint full-node start flags
// Tendermint/cosmos-sdk full-node start flags
const (
WithTendermint = "with-tendermint"
Address = "address"
Transport = "transport"
TraceStore = "trace-store"
CPUProfile = "cpu-profile"
// The type of database for application and snapshots databases
AppDBBackend = "app-db-backend"
)
// GRPC-related flags.