aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/fees.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/fees.go')
-rw-r--r--ethchain/fees.go42
1 files changed, 0 insertions, 42 deletions
diff --git a/ethchain/fees.go b/ethchain/fees.go
index 02f09fa04..c0a5d2d88 100644
--- a/ethchain/fees.go
+++ b/ethchain/fees.go
@@ -30,46 +30,4 @@ func InitFees() {
ExtroFee.Mul(ExtroFee, TxFeeRat)
CryptoFee.Mul(CryptoFee, TxFeeRat)
ContractFee.Mul(ContractFee, TxFeeRat)
- /*
- // Base for 2**64
- b60 := new(big.Int)
- b60.Exp(big.NewInt(2), big.NewInt(64), big.NewInt(0))
- // Base for 2**80
- b80 := new(big.Int)
- b80.Exp(big.NewInt(2), big.NewInt(80), big.NewInt(0))
-
- StepFee.Exp(big.NewInt(10), big.NewInt(16), big.NewInt(0))
- //StepFee.Div(b60, big.NewInt(64))
- //fmt.Println("StepFee:", StepFee)
-
- TxFee.Exp(big.NewInt(2), big.NewInt(64), big.NewInt(0))
- //fmt.Println("TxFee:", TxFee)
-
- ContractFee.Exp(big.NewInt(2), big.NewInt(64), big.NewInt(0))
- //fmt.Println("ContractFee:", ContractFee)
-
- MemFee.Div(b60, big.NewInt(4))
- //fmt.Println("MemFee:", MemFee)
-
- DataFee.Div(b60, big.NewInt(16))
- //fmt.Println("DataFee:", DataFee)
-
- CryptoFee.Div(b60, big.NewInt(16))
- //fmt.Println("CrytoFee:", CryptoFee)
-
- ExtroFee.Div(b60, big.NewInt(16))
- //fmt.Println("ExtroFee:", ExtroFee)
-
- Period1Reward.Mul(b80, big.NewInt(1024))
- //fmt.Println("Period1Reward:", Period1Reward)
-
- Period2Reward.Mul(b80, big.NewInt(512))
- //fmt.Println("Period2Reward:", Period2Reward)
-
- Period3Reward.Mul(b80, big.NewInt(256))
- //fmt.Println("Period3Reward:", Period3Reward)
-
- Period4Reward.Mul(b80, big.NewInt(128))
- //fmt.Println("Period4Reward:", Period4Reward)
- */
}