Merge PR #3555: Reintroduce Fees OR Semantics
This commit is contained in:
committed by
Jack Zampolin
parent
685bfca1d4
commit
7bc837aa06
@@ -13,8 +13,8 @@ const (
|
||||
// BaseConfig defines the server's basic configuration
|
||||
type BaseConfig struct {
|
||||
// The minimum gas prices a validator is willing to accept for processing a
|
||||
// transaction. A transaction's fees must meet the minimum of each denomination
|
||||
// specified in this config (e.g. 0.01photino,0.0001stake).
|
||||
// transaction. A transaction's fees must meet the minimum of any denomination
|
||||
// specified in this config (e.g. 0.01photino;0.0001stake).
|
||||
MinGasPrices string `mapstructure:"minimum-gas-prices"`
|
||||
}
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ const defaultConfigTemplate = `# This is a TOML config file.
|
||||
##### main base config options #####
|
||||
|
||||
# The minimum gas prices a validator is willing to accept for processing a
|
||||
# transaction. A transaction's fees must meet the minimum of each denomination
|
||||
# specified in this config (e.g. 0.01photino,0.0001stake).
|
||||
# transaction. A transaction's fees must meet the minimum of any denomination
|
||||
# specified in this config (e.g. 0.01photino;0.0001stake).
|
||||
minimum-gas-prices = "{{ .BaseConfig.MinGasPrices }}"
|
||||
`
|
||||
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ func StartCmd(ctx *Context, appCreator AppCreator) *cobra.Command {
|
||||
cmd.Flags().String(flagPruning, "syncable", "Pruning strategy: syncable, nothing, everything")
|
||||
cmd.Flags().String(
|
||||
FlagMinGasPrices, "",
|
||||
"Minimum gas prices to accept for transactions; All fees in a tx must meet this minimum (e.g. 0.01photino,0.0001stake)",
|
||||
"Minimum gas prices to accept for transactions; Any fee in a tx must meet this minimum (e.g. 0.01photino;0.0001stake)",
|
||||
)
|
||||
|
||||
// add support for all Tendermint-specific command line options
|
||||
|
||||
Reference in New Issue
Block a user