aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-06-15 22:48:59 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2015-06-15 22:48:59 +0800
commit1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658 (patch)
tree4cfc8ce5a25d7d276665d0de67f61c4acd63cede
parentb42b70eb5fd55741175dd5503686843a9d7d043a (diff)
downloaddexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.tar
dexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.tar.gz
dexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.tar.bz2
dexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.tar.lz
dexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.tar.xz
dexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.tar.zst
dexon-1e3f4877c0e9ebf58ffa06b0b119fdf3bab21658.zip
Changed miner and gpo min gas price to 1 szabo
-rw-r--r--cmd/utils/flags.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 0f5e443e4..696dbd142 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -23,10 +23,10 @@ import (
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/p2p/nat"
"github.com/ethereum/go-ethereum/rpc"
- "github.com/ethereum/go-ethereum/xeth"
"github.com/ethereum/go-ethereum/rpc/api"
- "github.com/ethereum/go-ethereum/rpc/comms"
"github.com/ethereum/go-ethereum/rpc/codec"
+ "github.com/ethereum/go-ethereum/rpc/comms"
+ "github.com/ethereum/go-ethereum/xeth"
)
func init() {
@@ -132,7 +132,7 @@ var (
GasPriceFlag = cli.StringFlag{
Name: "gasprice",
Usage: "Sets the minimal gasprice when mining transactions",
- Value: new(big.Int).Mul(big.NewInt(10), common.Szabo).String(),
+ Value: new(big.Int).Mul(big.NewInt(1), common.Szabo).String(),
}
UnlockedAccountFlag = cli.StringFlag{
@@ -279,12 +279,12 @@ var (
GpoMinGasPriceFlag = cli.StringFlag{
Name: "gpomin",
Usage: "Minimum suggested gas price",
- Value: new(big.Int).Mul(big.NewInt(10), common.Szabo).String(),
+ Value: new(big.Int).Mul(big.NewInt(1), common.Szabo).String(),
}
GpoMaxGasPriceFlag = cli.StringFlag{
Name: "gpomax",
Usage: "Maximum suggested gas price",
- Value: new(big.Int).Mul(big.NewInt(1000), common.Szabo).String(),
+ Value: new(big.Int).Mul(big.NewInt(100), common.Szabo).String(),
}
GpoFullBlockRatioFlag = cli.IntFlag{
Name: "gpofull",
@@ -432,7 +432,7 @@ func IpcSocketPath(ctx *cli.Context) (ipcpath string) {
if ctx.GlobalString(IPCPathFlag.Name) != common.DefaultIpcPath() {
ipcpath = ctx.GlobalString(IPCPathFlag.Name)
} else if ctx.GlobalString(DataDirFlag.Name) != "" &&
- ctx.GlobalString(DataDirFlag.Name) != common.DefaultDataDir() {
+ ctx.GlobalString(DataDirFlag.Name) != common.DefaultDataDir() {
ipcpath = filepath.Join(ctx.GlobalString(DataDirFlag.Name), "geth.ipc")
}
}