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
15d1f753
Commit
15d1f753
authored
Jun 16, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed old fees
parent
1d76e433
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
fees.go
ethchain/fees.go
+0
-24
No files found.
ethchain/fees.go
View file @
15d1f753
...
...
@@ -4,30 +4,6 @@ import (
"math/big"
)
var
TxFeeRat
*
big
.
Int
=
big
.
NewInt
(
100000000000000
)
var
TxFee
*
big
.
Int
=
big
.
NewInt
(
100
)
var
StepFee
*
big
.
Int
=
big
.
NewInt
(
1
)
var
StoreFee
*
big
.
Int
=
big
.
NewInt
(
5
)
var
DataFee
*
big
.
Int
=
big
.
NewInt
(
20
)
var
ExtroFee
*
big
.
Int
=
big
.
NewInt
(
40
)
var
CryptoFee
*
big
.
Int
=
big
.
NewInt
(
20
)
var
ContractFee
*
big
.
Int
=
big
.
NewInt
(
100
)
var
BlockReward
*
big
.
Int
=
big
.
NewInt
(
1.5e+18
)
var
UncleReward
*
big
.
Int
=
big
.
NewInt
(
1.125e+18
)
var
UncleInclusionReward
*
big
.
Int
=
big
.
NewInt
(
1.875e+17
)
var
Period1Reward
*
big
.
Int
=
new
(
big
.
Int
)
var
Period2Reward
*
big
.
Int
=
new
(
big
.
Int
)
var
Period3Reward
*
big
.
Int
=
new
(
big
.
Int
)
var
Period4Reward
*
big
.
Int
=
new
(
big
.
Int
)
func
InitFees
()
{
StepFee
.
Mul
(
StepFee
,
TxFeeRat
)
StoreFee
.
Mul
(
StoreFee
,
TxFeeRat
)
DataFee
.
Mul
(
DataFee
,
TxFeeRat
)
ExtroFee
.
Mul
(
ExtroFee
,
TxFeeRat
)
CryptoFee
.
Mul
(
CryptoFee
,
TxFeeRat
)
ContractFee
.
Mul
(
ContractFee
,
TxFeeRat
)
}
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