Skip to content

Commit 1e3f487

Browse files
committed
Changed miner and gpo min gas price to 1 szabo
1 parent b42b70e commit 1e3f487

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cmd/utils/flags.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ import (
2323
"github.com/ethereum/go-ethereum/logger/glog"
2424
"github.com/ethereum/go-ethereum/p2p/nat"
2525
"github.com/ethereum/go-ethereum/rpc"
26-
"github.com/ethereum/go-ethereum/xeth"
2726
"github.com/ethereum/go-ethereum/rpc/api"
28-
"github.com/ethereum/go-ethereum/rpc/comms"
2927
"github.com/ethereum/go-ethereum/rpc/codec"
28+
"github.com/ethereum/go-ethereum/rpc/comms"
29+
"github.com/ethereum/go-ethereum/xeth"
3030
)
3131

3232
func init() {
@@ -132,7 +132,7 @@ var (
132132
GasPriceFlag = cli.StringFlag{
133133
Name: "gasprice",
134134
Usage: "Sets the minimal gasprice when mining transactions",
135-
Value: new(big.Int).Mul(big.NewInt(10), common.Szabo).String(),
135+
Value: new(big.Int).Mul(big.NewInt(1), common.Szabo).String(),
136136
}
137137

138138
UnlockedAccountFlag = cli.StringFlag{
@@ -279,12 +279,12 @@ var (
279279
GpoMinGasPriceFlag = cli.StringFlag{
280280
Name: "gpomin",
281281
Usage: "Minimum suggested gas price",
282-
Value: new(big.Int).Mul(big.NewInt(10), common.Szabo).String(),
282+
Value: new(big.Int).Mul(big.NewInt(1), common.Szabo).String(),
283283
}
284284
GpoMaxGasPriceFlag = cli.StringFlag{
285285
Name: "gpomax",
286286
Usage: "Maximum suggested gas price",
287-
Value: new(big.Int).Mul(big.NewInt(1000), common.Szabo).String(),
287+
Value: new(big.Int).Mul(big.NewInt(100), common.Szabo).String(),
288288
}
289289
GpoFullBlockRatioFlag = cli.IntFlag{
290290
Name: "gpofull",
@@ -432,7 +432,7 @@ func IpcSocketPath(ctx *cli.Context) (ipcpath string) {
432432
if ctx.GlobalString(IPCPathFlag.Name) != common.DefaultIpcPath() {
433433
ipcpath = ctx.GlobalString(IPCPathFlag.Name)
434434
} else if ctx.GlobalString(DataDirFlag.Name) != "" &&
435-
ctx.GlobalString(DataDirFlag.Name) != common.DefaultDataDir() {
435+
ctx.GlobalString(DataDirFlag.Name) != common.DefaultDataDir() {
436436
ipcpath = filepath.Join(ctx.GlobalString(DataDirFlag.Name), "geth.ipc")
437437
}
438438
}

0 commit comments

Comments
 (0)