Merge pull request #3111 from obscuren/gas-price-fork

core, core/vm: added gas price variance table (EIP #150)
This commit is contained in:
Péter Szilágyi
2016-10-14 19:32:11 +03:00
committed by GitHub
43 changed files with 77186 additions and 67 deletions

View File

@ -26,11 +26,13 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/params"
)
type ruleSet struct{}
func (self *ruleSet) IsHomestead(*big.Int) bool { return true }
func (self *ruleSet) IsHomestead(*big.Int) bool { return true }
func (*ruleSet) GasTable(*big.Int) params.GasTable { return params.GasTableHomesteadGasRepriceFork }
type Env struct {
gasLimit *big.Int