diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-06 20:03:24 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-06 20:03:24 +0800 |
commit | be543a6d178063a60d404a373ced296ed6d4744c (patch) | |
tree | e061b3eeeece26c7dfc1bc2ae39ca728e1c08e2b /ethchain | |
parent | 6c6e8b0fd7415a43c67699f145e76daff959d745 (diff) | |
download | dexon-be543a6d178063a60d404a373ced296ed6d4744c.tar dexon-be543a6d178063a60d404a373ced296ed6d4744c.tar.gz dexon-be543a6d178063a60d404a373ced296ed6d4744c.tar.bz2 dexon-be543a6d178063a60d404a373ced296ed6d4744c.tar.lz dexon-be543a6d178063a60d404a373ced296ed6d4744c.tar.xz dexon-be543a6d178063a60d404a373ced296ed6d4744c.tar.zst dexon-be543a6d178063a60d404a373ced296ed6d4744c.zip |
Removed comments
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/fees.go | 42 |
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) - */ } |