Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
1e3f4877
Commit
1e3f4877
authored
Jun 15, 2015
by
zsfelfoldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed miner and gpo min gas price to 1 szabo
parent
b42b70eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
flags.go
cmd/utils/flags.go
+6
-6
No files found.
cmd/utils/flags.go
View file @
1e3f4877
...
@@ -23,10 +23,10 @@ import (
...
@@ -23,10 +23,10 @@ import (
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/p2p/nat"
"github.com/ethereum/go-ethereum/p2p/nat"
"github.com/ethereum/go-ethereum/rpc"
"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/api"
"github.com/ethereum/go-ethereum/rpc/comms"
"github.com/ethereum/go-ethereum/rpc/codec"
"github.com/ethereum/go-ethereum/rpc/codec"
"github.com/ethereum/go-ethereum/rpc/comms"
"github.com/ethereum/go-ethereum/xeth"
)
)
func
init
()
{
func
init
()
{
...
@@ -132,7 +132,7 @@ var (
...
@@ -132,7 +132,7 @@ var (
GasPriceFlag
=
cli
.
StringFlag
{
GasPriceFlag
=
cli
.
StringFlag
{
Name
:
"gasprice"
,
Name
:
"gasprice"
,
Usage
:
"Sets the minimal gasprice when mining transactions"
,
Usage
:
"Sets the minimal gasprice when mining transactions"
,
Value
:
new
(
big
.
Int
)
.
Mul
(
big
.
NewInt
(
1
0
),
common
.
Szabo
)
.
String
(),
Value
:
new
(
big
.
Int
)
.
Mul
(
big
.
NewInt
(
1
),
common
.
Szabo
)
.
String
(),
}
}
UnlockedAccountFlag
=
cli
.
StringFlag
{
UnlockedAccountFlag
=
cli
.
StringFlag
{
...
@@ -279,12 +279,12 @@ var (
...
@@ -279,12 +279,12 @@ var (
GpoMinGasPriceFlag
=
cli
.
StringFlag
{
GpoMinGasPriceFlag
=
cli
.
StringFlag
{
Name
:
"gpomin"
,
Name
:
"gpomin"
,
Usage
:
"Minimum suggested gas price"
,
Usage
:
"Minimum suggested gas price"
,
Value
:
new
(
big
.
Int
)
.
Mul
(
big
.
NewInt
(
1
0
),
common
.
Szabo
)
.
String
(),
Value
:
new
(
big
.
Int
)
.
Mul
(
big
.
NewInt
(
1
),
common
.
Szabo
)
.
String
(),
}
}
GpoMaxGasPriceFlag
=
cli
.
StringFlag
{
GpoMaxGasPriceFlag
=
cli
.
StringFlag
{
Name
:
"gpomax"
,
Name
:
"gpomax"
,
Usage
:
"Maximum suggested gas price"
,
Usage
:
"Maximum suggested gas price"
,
Value
:
new
(
big
.
Int
)
.
Mul
(
big
.
NewInt
(
100
0
),
common
.
Szabo
)
.
String
(),
Value
:
new
(
big
.
Int
)
.
Mul
(
big
.
NewInt
(
100
),
common
.
Szabo
)
.
String
(),
}
}
GpoFullBlockRatioFlag
=
cli
.
IntFlag
{
GpoFullBlockRatioFlag
=
cli
.
IntFlag
{
Name
:
"gpofull"
,
Name
:
"gpofull"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment